Trouble Programming Flash on MC9S12A128 – “Device or region is not blank or failed erase”

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

Trouble Programming Flash on MC9S12A128 – “Device or region is not blank or failed erase”

跳至解决方案
1,511 次查看
Nico_V
Contributor II

Hi all,
I have a PCB with a Freescale MC9S12A128 MCU. Unfortunately, the source files are long lost. I’m trying to copy firmware version "4.3" from new old stock to some older stock that currently has firmware "4.0".

cfg.png

Using the above memory dump configuration, on an old board (to avoid bricking a new one), I successfully performed a Verify Flash against the dump and it matched. However, when I tried programming it (after a mass erase), the operation failed with "Device or region is not blank or failed erase"

Any help would be appreciated. Thanks!

标记 (2)
0 项奖励
回复
1 解答
1,428 次查看
Nico_V
Contributor II

Well, it worked... solved! (it wasn't the reset signal)

在原帖中查看解决方案

0 项奖励
回复
2 回复数
1,429 次查看
Nico_V
Contributor II

Well, it worked... solved! (it wasn't the reset signal)

0 项奖励
回复
1,432 次查看
Nico_V
Contributor II

I was able to flash all the contents, except the last two banks of flash: 3E8000 and 3F8000. (I get lost in the redundancy of protection bits and bytes).
Also, the reset signal doesn't change after a Mass Erase

0 项奖励
回复