I need to make a change to the source code for a legacy product that was designed for the ZWorld SmartCore CM7120 around 1998. My customer has the development module that is normally connected to the computer serial port for debugging and creation of BIN and/or HEX files that are used to program 27512 EPROMs for the products. The original code was written for the 9.216 MHz version but the boards we have been getting are 18.432 MHz. We have been replacing the crystal but that sometimes damages the board, so I need to change the firmware to obtain correct timing for the higher frequency.
When I ran my copy of Dynamic C DC32_631b, it crashed even when simply saving the source file with a different name. The multiple error message(s) were "SmartHeap Library - MEM_BAD_POINTER", and then "SmartHeap error handler recursively re-entered". When I tried to compile to file, it complained with "Comm initialization error" or "Target not responding". If I selected an active serial port, it started compiling and then crashed. I tried this on my Win 8 computer as well as an XP machine and even Windows 98, with similar failure.
I tried using newer versions 10.72b and 9.62 but they do not support the CM7120.
I may be able to use the customer's development board with a serial port (if they still have it) to get past the apparent requirement for 6.31b, but perhaps there is a setting for the software that will allow it to work, but there does not appear to be a "targetless" option as there is with 9.62.
Another option would be to make a serial port device that mimics the target command and response protocol to "spoof" the compiler. If I am able to find and use the development board I may use a communications monitor to log the commands and response, but if anyone has information on this I'd appreciate it.
I have opened a case with Digi support but so far it has not been resolved, other than determining I must use 6.31b or earlier Dynamic C for the CM7120.