MDK: 5.26.2SW: SDK_2.6.3_LPCXpresso55S69, rtos_examples/PACK: NXP.LPC55S69_DFP.12.0.1LPC-LINK2 CMSIS-DAP V5.224
compile is ok. When I download, KEIL gives a error
Cannot access Memory (@ 0x00000000, Write, Acc Size: 4 Byte)Error: Flash Download failed - Target DLL has been cancelledFlash Load finished at 12:06:27Load "debug\\freertos_usart.out" Info: LPC55xx connect srcipt start Info: APIDR: 0x002A0000 Info: DPIDR: 0x6BA02477 File : D:\Keil_v5\ARM\PACK\NXP\LPC55S69_DFP\12.0.1\NXP.LPC55S69_DFP.pdsc Sequence : DebugPortStart -> EnableDebugMailbox Context : Item #0: <block>::Line 29 Expression : "v5\ARM\PACK\NXP\LPC55S69_DFP\12.0.1\NXP.LPC55S69_DFP.pdsc" E310 : Debug access failed - cannot read AP register 0x08 (AP '2'))
I have tested three computers, all in the same situation.
What's the problem of these? And how to solve?
There are some compatibility issue when Flashing with different LPC55S69-EVK board revisions and NXP.LPC55S69_DFP packs.
The following combinations should work (Flashing+Debug):
Thank you for your reply.
My board is LPC55S69-EVK RevA1. I'll download DPF12.0.0 to have a try.
I use DFP 12.0.0, but the download err becomes "Cannot Load Flash Programming Algorithm!"
Do you have any suggestions? I have updated the firmware of Link2.
It work well when I use MDKv5.29, and then I found that the demo requires MDK 5.27 or later.
View all questions in Keil forum