Unable to flash erase mpc5567

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

Unable to flash erase mpc5567

782 Views
robmellor
Contributor I


My MPC5567EVB has stopped responding to

flash erase

I am using the PEEDI jtag programmer over telnet,

when I type in

flash erase

I am greeted with

-- error: timeout while waiting for response from the agent

-- error: timeout while erasing sector at address 0x10000000

 

at first I thought that this address was WAY off so sent it

flash erase 0x00000000 0x00200000

and got the same error.

 

The only thing that changed between working and not working was I linked pins 179 and 180 which are AF15 and AE15.

I was lead to believe these are either eTPU_A0, eTPU_A1 or eMIOS0, eMIOS1.

 

either way I would not expect that linking these would cause any impact on the programming of flash.

I have since removed all linkages and tried resetting, but I just cannot get it to flash erase.  I can read all the flash out, and have.. but Im unable to flash..

 

Have I somehow fried the EVB ability to write to flash?

Labels (1)
Tags (2)
2 Replies

481 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

I can't see reason for such behavior.

Linking of two pins could cause problem only if both pins are inadvertently configured as output which is leading to shortcut. This can damage the device, of course.

If you are able to access the memory via debugger, I would try to execute flash erase sequence manually - write the flash registers directly as described in "13.4.2.4 Flash Erase" to see if it makes any difference:

http://www.nxp.com/files/32bit/doc/ref_manual/MPC5567RM.pdf

Regards,

Lukas

481 Views
robmellor
Contributor I

Thanks Lukas,

I think that sadly EF15 was accidentally set to an output so I may have fried the chip ☹

I will try the Flash Erase Procedure as per your advice.

Thanks.

0 Kudos