µVISION DEBUGGER: Debug issue on NXP LPC4300 using SPIFI memory
Information in this knowledgebase article applies to:
I am using the MDK-ARM Version 5.xx together with the ULINKpro Debug Adapter to work on a NXP LPC4357 device. I want to flash my application into and boot from the SPIFI memory. When I try to debug my application it fails with:
Cannot access Memory (@ 0x00000000, Read, Acc Size: 4 Byte) Cannot access Memory (@ 0x00000002, Read, Acc Size: 2 Byte) Cannot access Memory (@ 0x00000002, Read, Acc Size: 2 Byte) Cannot access Memory (@ 0x00000002, Read, Acc Size: 2 Byte) Cannot access Memory (@ 0x00000004, Read, Acc Size: 4 Byte)
How can I solve this problem?
The errors shown above usually happen when the target device did not successfully boot your application from the SPIFI memory. When this happens, the debugger cannot access the corresponding memory on your target device.
In order to make sure your target device boots from the SPIFI memory instead of other memory (such as the internal Flash memory etc.), using the MCB4300 evaluation board as an example, please check the following two points:
There is also a known problem in MDK-ARM Version 5.14 together with the SPIFI flash memory of the NXP devices which causes these "Cannot access Memory..." errors during debugging. Please refer to this knowledgebase article for more information: µVision DEBUGGER: Debug Issues with NXP LPC4300 SPIFI Devices
Last Reviewed: Wednesday, September 28, 2016
of your data.