I'm trying to program a section of internal flash on the MCF51JM128 using CW6.3. I only want to program the flash from 0xA000 to 0x1FFFF. But the debugger always wants to mass erase the entire flash array. I have a boot loader in lower memory, and I want that to remain.
I've tried changing the Debugging Memory Map, but no luck.
Is this possible with CW6.3?
Hello
In CodeWarrior for MCU V6.x, the flash programmer only has the granularity of the memory blocks listed in the
Non Volatile Memory Control dialog.
This dialog can be opened selected menu entry Flash in the connection specific menu (CFMultilinkCyclonePro > Flash,
CFV1 Open Source BDM > Flash, ...)
You cannot erase or program blocks which are smaller than the blocks listed there.
CrasyCat
Thanks for the quick answer.
But it seems odd that the block size is 128K. The block size of the JM128 is 0x400 (2K).
See attachment.
Hello
I am not talking about the block size here, but about the granularity of the algorithm used to program the flash within CodeWarrior.
CrasyCat
OK. But it seems the P&E Multilink has a granularity of 128K for this particular device.
Perhaps the Cyclone Pro is he way to do finer granularity.