This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Hardware cause for "Cannot Write to RAM for Flash Algorithms" error?

I am using MDK-Lite Version: 5.11.0.0 with a ULink ME (V2.02) to develop code on an ADuc7021 32K part. I have two versions of hardware that have identical JTag circuitry with slightly differing processor IO. One board programs and verifies without problems, and the other fails with "Cannot Write to RAM for Flash Algorithms !" errors. The debug and RAM setup is correct for the device. I have searched for solutions, but the only guidance I can find suggests altering the debug and JTag setup or the device RAM settings which I know are correct. The problem can only be a hardware issue, but having compared the JTag on working and non-working boards, signal for signal, level for level, I have reached a point where I cannot progress further.

Do you know of any issues that would cause "Cannot Write to RAM for Flash Algorithms !" when all the RAM and debug settings are correct?

Regards,
Kristin Hansen, Senior Development Engineer

Parents
  • Start by assuming your hardware or chips are bad, try replacing things. Check for soldering, shorts, etc.

    Use methods other than JTAG, if they exist, to inject code and test the SRAM regions of the part.

    Try also running the debugger on an empty part, place a memory view over the SRAM, attempt to modify it.

Reply
  • Start by assuming your hardware or chips are bad, try replacing things. Check for soldering, shorts, etc.

    Use methods other than JTAG, if they exist, to inject code and test the SRAM regions of the part.

    Try also running the debugger on an empty part, place a memory view over the SRAM, attempt to modify it.

Children