Hello. I'm agoningly new to Codewarrior and the HCS12 uProcessor. I have two different code segments (not written by me) that are programmed to be flashed to differrent sections in the flash memory so they won't conflict. Using Codewarrior, I'm able to successfuly download (using a P&E multilink) one of the two programs. But when I try to download the second program, it mass erases the flash and the first program alltogether. Is there a way to turn off the mass erase of flash before I try downloading the second program (maybe in the configure menu?)???
In the True-Time Debugger, you can set sections of memory to be protected. Start by downloading the first file. Now pick MultilinkCyclonePro > Debugging Memory Map. Select those sections of memory that have the first program and click on Modify/Details. Go to the protection item and set that memory to write protected. I think that should work; I haven't had a chance to test it.