USBDM 4.9.5 / Flash Programmer HCS08 / Erase the Flash Memory without Reprogramming?

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

USBDM 4.9.5 / Flash Programmer HCS08 / Erase the Flash Memory without Reprogramming?

跳至解决方案
2,473 次查看
florianton
Contributor I

Hello,

 

in the past I was using the Flash Programmer for the HCS08 microcontroller with success.

 

No I want to erase the whole flash memory of the micorocontroller to make some investigations with an unprogrammed system (safe state of I/O lines, etc.).

 

Unfortunately it seems not to possible to erase the device without reprogramming it immediately.

Have I overlooked something?

 

Best regards, Florian

 

标记 (2)
0 项奖励
回复
1 解答
1,896 次查看
pgo
Senior Contributor V

Dear Florian,

 

The programmers don't allow programming unless a file has been loaded.  This was the intended operation previously but I may have overlooked some condition.  It was intended that you could trim or secure a device without a file but this would not serve your requirement. This was just me being careful.

 

You will have to load an empty S19 file such as that attached and use the Mass Erase option.

 

 

bye

在原帖中查看解决方案

0 项奖励
回复
2 回复数
1,897 次查看
pgo
Senior Contributor V

Dear Florian,

 

The programmers don't allow programming unless a file has been loaded.  This was the intended operation previously but I may have overlooked some condition.  It was intended that you could trim or secure a device without a file but this would not serve your requirement. This was just me being careful.

 

You will have to load an empty S19 file such as that attached and use the Mass Erase option.

 

 

bye

0 项奖励
回复
1,896 次查看
florianton
Contributor I

Hello pgo,

 

I've tested your suggestion to use an empty S19 file to erase the flash of the microcontroller.

It has worked very well in my case - thank you very much!

 

But I still think it would not be a bad idea to add an extra button for mass erase without programming the microcontroller to the flash programming tool.

Example: with the "STM32 ST-Link Utility" for the STM32 microcontroller I can choose if I only want to "erase", "erase & program" or "erase & program & verify" the chip.

 

But don't get me wrong.

I'm very happy that this tool exists and I only want to give you a feedback for improvement!

 

 

Best regards,

 

Florian

0 项奖励
回复