Unable to Flash(ERASE) MC9S08PT60

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

Unable to Flash(ERASE) MC9S08PT60

1,182 次查看
abhijitjagtap
Contributor I

Hello

 

I have a board with nothing but a PT60VLH (LQFP-48) with its BDM header.

 

Since it is my first time using CW10.6 and this device , i am in learning phase.

 

Earlier with a bare board project, the program was unable to jump to STARTUP code, but during this time USBMULTILINK always asked,

'Device is Secure. Do you want to ERASE?' and then it programmed.I was not able to single step was the problem.

 

With the help of Processor Expert , i did mange to build an error free project with few of my headers (migrating from a MP16)

 

After which i secured the device by accidentally uncommenting the line below.

 

// Flash security (NVOPT Register)   const byte flash_security_byte @0xFF7F = 0xBC; // use 0xBC instead of 0xBF to secure device //const byte flash_security_byte @0xFF7F = 0xBF;

 

Now i am not able to unsecure the device by any means.The Erase command works and says that all of the flash is erased though spits out a message ( screen shot is attached)

Is my device bricked? or is there a method to unlock it?

Please help

Original Attachment has been moved to: UNPROTECT.zip

标签 (1)
0 项奖励
回复
2 回复数

921 次查看
abhijitjagtap
Contributor I

At least someone give me a working startup procedure code so that I don't brick the only device left.

It was quite easier and straightforward on S08

0 项奖励
回复

921 次查看
vicentegomez
NXP TechSupport
NXP TechSupport

Hi Abhijit

Have you try to perform a mass erase.

You can use the flash to target tool

Please check the picture

0 项奖励
回复