SDK demo app cannot download to LPCXpresso55S69?

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

SDK demo app cannot download to LPCXpresso55S69?

2,376 Views
wangqyfm
Contributor II

IDE: Keil V5.26.2.0

SDK: 2.6.2

Demo app: hello_world.

Compile is Ok, but cannot Debug or Download.

When start debuging, Keil tells me:

---------------------------
CMSIS-DAP - ARMv8-M Error
---------------------------
Cannot reset target.
Shutting down debug session.
---------------------------

logger in 'Build output' window:

------------------

Load "debug\\hello_world.out"
Cannot access Memory (@ 0x40034010, Write, Acc Size: 4 Byte)

File : D:\Keil_v5\ARM\PACK\NXP\LPC55S69_DFP\12.0.0\NXP.LPC55S69_DFP.pdsc
Sequence : ResetCatchSet -> ResetCatchSetCore0
Context : Item #0: <block>::Line 9
Expression : "v5\ARM\PACK\NXP\LPC55S69_DFP\12.0.0\NXP.LPC55S69_DFP.pdsc"
E310 : Debug access failed - cannot write value 0x00000000 to address 0x40034010 (accsize '4', AP '0')

PDSC: Sequence Execution failed
PDSC: Sequence Execution failed
Error: Flash Download failed - Target DLL has been cancelled
Flash Load finished at 15:03:52

----------------

Is there anyone can tell me what happen~ Thanks.

Labels (1)
Tags (1)
2 Replies

1,927 Views
r_bruyninckx
Contributor I

I had almost the same problem with my LPCXpresso55S69 (mine gave a problem with the enabledebugmailbox sequence). The weird part was that I only had the problem on my PC and the programming worked fine on my laptop.

So I started to dig and found that I was using different versions of the DFP package. My desktop had 12.0.1 and the laptop had 12.0.0. So I tried going back to the previous package version but that would give me compiler errors. without anymore ideas I started editing the "NXP.LPC55S69_DFP.pdsc" file and removed the problematic sequence. And that solved it for me. 

I can't explain why the problem is gone but I'm just happy I can continue coding.

0 Kudos

1,927 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

HI

We use MDK V5.28,there is no issue to download.

I suggest you update your Keil IDE version then try again.

BTW, MDK is not NXP product, but belongs to Keil. I suggest you contact Keil community for further IDE issue.

 


Have a great day,
Jun Zhang

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos