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,506件の閲覧回数
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,423件の閲覧回数
Nico_V
Contributor II

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

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
1,424件の閲覧回数
Nico_V
Contributor II

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

0 件の賞賛
返信
1,427件の閲覧回数
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 件の賞賛
返信