Flash programmer task error during flash ID reading

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

Flash programmer task error during flash ID reading

548 Views
vikrep
Contributor I

I have a board with MCF5216 CPU.

I need update firmware from one to another board. I successfully created Flash_dump task with USBDM interface. It works for both board. 

Then I create Flash_program task and its stopped during ID flash reading.

I attached diagnostic report.

Thank you 

 

0 Kudos
Reply
2 Replies

523 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

There is a method that depend of your flash,

There is a method listed in both datasheets (S29GL064S datasheet, SST39V6401B datasheet).

From Table 6 for the SST part, we can get the device ID from this sequence:

 

This is the same as the sequence (named Autoselect) for the Spansion part:

 

The SST datasheet also helpfully includes a timing diagram:

 

So:

Write: Address 0x555, data 0xXXAA (note that XX may be 00 or FF)
Write: Address 0x2AA, data 0xXX55
Write: Address 0x555, data 0xXX90
Read:  Address 0x0000, data <MFR ID>
Read:  Address 0x0001, data <Device ID>

Then issue an exit code (write 0xF0 to any address for both parts).

That should work consistently for both devices assuming the timing is solid.

Regards

0 Kudos
Reply

516 Views
vikrep
Contributor I

Thank you for your reply.

I found that cpu was faulty. Today I soldered new chip and it works fine.

0 Kudos
Reply