Erasing selected part of non volatile memory

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Erasing selected part of non volatile memory

468 次查看
jacekczarski
Contributor I

Processor MC9S12DP512, interface PE Micro

Hello all,

I need to erase flash Block 4 (address range 0x8000 to 0xBFFF). "S12(X) Debugger
Manual" (Revised: August 10, 2010) shows two methods to do that

1. Selection of the flash block in "Non Volatile Memory Control" dialog box and clicking "Erase" button. Doing that following appears in the "Command" window:

 

Vppon command file does not exist.
Vppoff command file does not exist.

in>

Checking flash:

in> FLASH
FP: FLASH parameters loaded for MC9S12DP512_V11(NVMIF2 rev 2,3,3,3,2) from D:\tuning\program\PEprogrammer\FPP\mcu03CD.fpp

MCU clock speed: 2008000 Hz
Block Module Name Address Range Status
0 EEPROM 400 - 7FF Blank - Unselected
1 FLASH_4000 4000 - 7FFF Programmed - Unselected
2 FLASH_C000 C000 - FFFF Programmed - Unselected
3 ALL_PPAGES 208000 -3FBFFF Programmed - Unselected
4 FLAT8000_P20 8000 - BFFF Programmed - Unselected

in>

2. Typing command in "Command" window:

in> FLASH ERASE 4
Vppon command file does not exist.
Vppoff command file does not exist.

in>

Checking flash:

in> FLASH

MCU clock speed: 2008000 Hz
Block Module Name Address Range Status
0 EEPROM 400 - 7FF Blank - Unselected
1 FLASH_4000 4000 - 7FFF Programmed - Unselected
2 FLASH_C000 C000 - FFFF Programmed - Unselected
3 ALL_PPAGES 208000 -3FBFFF Programmed - Unselected
4 FLAT8000_P20 8000 - BFFF Programmed - Unselected

in>

As you can see no error messages are displayed, but the desired block is NOT erased.

However, when I command erase of whole non volatile memory:

in>FLASH ERASE
Vppon command file does not exist.
Vppoff command file does not exist.

in>

Checking:

in>FLASH

MCU clock speed: 1999000 Hz
Block Module Name Address Range Status
0 EEPROM 400 - 7FF Blank - Unselected
1 FLASH_4000 4000 - 7FFF Blank - Unselected
2 FLASH_C000 C000 - FFFF Blank - Unselected
3 ALL_PPAGES 208000 -3FBFFF Blank - Unselected
4 FLAT8000_P20 8000 - BFFF Blank - Unselected

in>

DRIVES ME NUTS!

Can anybody please tell me what is going on?

0 项奖励
1 回复

379 次查看
ZhangJennie
NXP TechSupport
NXP TechSupport

We have reproduced your issue. Will escalate it to development. I will keep you informed if any feedback.

0 项奖励