MPC5566 - bizzare internal flash behavior

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

MPC5566 - bizzare internal flash behavior

483 Views
wartosz
Contributor I

Hello everyone - it's my first post here!

I'd like to ask you guys what could happen with my mcp5566 internal flash. 

Firstly, I noticed code is not running properly on the device. Code could not calculate CRC over internal flash area - that prevented our application from starting. Also I could not access memory range 0x2E0000 - to the end. At this point I decided to dump memory with JTAG.

I did three dumps of the same problematic mpc5566. Also I tried to calculate CRC using pemicro nexus programmer (I use cycloneFX), but it was not working. All three dumps are different at mentioned above range. Rest of memory looks fine. Only 0x2E0000-2FFFFF is different in each dump.

I attach part of those dumps just for information.

When I erased all internal flash memory it recovered instantly. Now I am able to read out same date I write and code is running fine.

So, I exclude any problems with JTAG connections and so on, because my setup has been checked with known good unit.

 The question is: What must happen to observe such behavior of flash controller?

0 Kudos
Reply
1 Reply

439 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

Hi, what do you see if you open memory dump window in the debugger?

Could you provide more info about affected device and application?

0 Kudos
Reply