repost from another thread:
My problem is that I have not been able to erase and reprogram lower flash memory which I need to do for reprogramming my application. I bring in new program data through the IPC, store it in high flash memory, verify, then transfer it to 0x200000 and force a restart. I cannot get this to work.
I cannot get breakpoints to work reliably on CCS5.5, and CCS 5.5 hangs frequently, frustrating attempts to debug. It seems to happen most often when I try to disconnect.
This reprogramming feature is a common requirement for and PLC (power line communication ) node - to be able to reprogram it remotely. There is no example to show how this can be successfully accomplished. Effective PLC must have this feature.
Has anyone tried to do this with the Concerto? This would be a matter of simply reading flash memory from 0x200000 to say 0x220000 , programming it to a high memory location, and then writing it back to 0x200000, and halting to allow the wdt to fire. Can this actually be done? I've put everything that appears to be involved in the operation into ramfuncs, but still I cannot get it to work,
Any and all help appreciated.
Thanks,
Pat