codewarrior always erases $4000-$7fff

Started by timjenison September 25, 2005
Using CW 6.1 true-time simulator & real-time debugger with S12XDP512,
select File/Load Application/Options, highlight FLASH 4000.
It is now supposed to protect this flash page but it doesn't. It
erased when loading code into the $C000 area.
If I select PAGED, it does the right thing and protects paged flash.
What am I doing wrong?




Hi.

Indeed, the PAGED block contains all flash blocks. If not selected, you
will erase automatically 4000 and c000 blocks.
To make sure to not erase what you have previously programmed, the best is
to select all blocks in the list.
For programming speed optimization, the flash driver does NOT give a
granularity down to flash block level.

Regards,
Gilles >Using CW 6.1 true-time simulator & real-time debugger with S12XDP512,
>select File/Load Application/Options, highlight FLASH 4000.
>It is now supposed to protect this flash page but it doesn't. It
>erased when loading code into the $C000 area.
>If I select PAGED, it does the right thing and protects paged flash.
>What am I doing wrong?