cannot external RAM debug  - mcf54416 - BDM

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

cannot external RAM debug  - mcf54416 - BDM

831 Views
mithunmohan
Contributor I

Hi There,

 

        I am trying to debug coldfire MCF54416 external ddr2 using USB coldFire Multilink,and the debugger fails to launch ending up showing an error - "Failed to resume target process.Write memory error: writemem.w 0xec09000e 0x087d failed".IDE i use is codewarrior.The project which i'm working on is tightly scheduled and i've already spent hours for fixing this problem.Please give a solution and any kind of feedback would be greatly appreciated.

 

Regards,

Mithun

Labels (1)
0 Kudos
2 Replies

560 Views
TomE
Specialist II

This is a question better suited to the Forum for the IDE you're using.

Have you thought of SEARCHING for an answer? I've just typed "Failed to resume target process." into the Search Box and the list of previous problems matching yours goes on and on. If you have gone through all these, you should list which ones you've read, tried and you know aren't your problem. Otherwise you're only going to get those ones suggested all over again.

Something is trying to write to the MISCCR at 0xEC09_000E and is trying to write the default value with the "Limp" bit off.

Have you tried to export the diagnostic information? Posting that might help.

Are you trying to debug while in a low power mode? Is your program enabling the MMU? Can you debug a simpler project, like a demo? What changed in the hardware and software since the last time you were able to make the debugger run and now?

Running the code under the debugger is as much a part of the development process as writing the code. That has to be kept working, and Management and the Project Managers need to allocate staff and time for this important Engineering task.

Tom

0 Kudos

560 Views
mithunmohan
Contributor I

Hi Tom,

          Thanking you for considering my post.I had done number of searches in the freescale community and following was the only thread which i found similar to my question : - https://community.freescale.com/message/117670#117670 says to refer this one :https://community.freescale.com/message/426740#426740 which didn't help though.

Another thread which I found similar is the one below, but dubious what to disable in it :

https://community.freescale.com/thread/305368

     BTW I’m a fresher and very new bee to freescale controllers.So don’t have any idea how to check that i’m trying to debug controller in low power mode, MMU is enabled etc.Former people who handled this project left company without documenting the project properly(my bad).We were able to do an internal flash debug (different project and different controller(mcf 52252),same IDE)using the same OSBDM and it was successful.I’m attaching diagnostic information and the twrmcf54416.cfg and twrmcf54416.mem files along with this post. Hope you can figure out something from that and help me out.

Thanks in advance,

Mithun

0 Kudos