Unable to Flash(ERASE) MC9S08PT60

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Unable to Flash(ERASE) MC9S08PT60

1,025 Views
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

Labels (1)
0 Kudos
Reply
2 Replies

764 Views
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 Kudos
Reply

764 Views
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 Kudos
Reply