The most common cause of the following error is the missing specification of the EEPROM base address.
Please, make sure that you are specifying the base address of the EEPROM in your script file.
You can do this by skipping a space after
the path to the algorithm file on the CM command line. It should look as follows:
CM C:PEMICROPROG12ZALGORITHMS 9s12dt128_2k.12p BASE ADDRESS
The flash programming algorithms that have the
"NO_BASE_ADDRESS=.....", definition do not require for the user to specify the base address. However, the algorithms that do not contain the base address definition, require a user to manually set base address in the script file or during the programming procedure.
After encountering this error, one should go over all
commands that are being used in a script file. Given error can also be caused by the use of an illigal command, unspecified in the PEmicro help manual.