device not runnig without debug

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
paoloz
Level 1
Level 1
10 sign-ins 5 sign-ins First solution authored

Hi

I short time that use DAVE for my project. I created a design with XMC1302 T064 processor and develop the software inside dave designer tool.
The software run good inside the debugger but when disconnect the Infineon XMC link the board not run.
I dont understand how make a stan alone application.
Thank Paolo

0 Likes
1 Solution
paoloz
Level 1
Level 1
10 sign-ins 5 sign-ins First solution authored

Ok I find the problem, The mode is wrong , currect User Mode (Debug) SWD0.

All OK

Thank

View solution in original post

0 Likes
3 Replies
Owen_Su
Moderator
Moderator
Moderator
250 solutions authored 500 replies posted 50 likes received

Hi, @paoloz ,

   After you debug your program into the XMC1302, you need to do the Power on reset to make your codes effective, and the action 'disconnect the XMC link' is the Power on reset. Once you power up the board correctly again, the board will automatically run the code you just debug. So you should check if you have powered the board correctly after POR. The process is: Debug - Power on reset - Power up again. Hope this can help you.

Regards,

Owen_Su

0 Likes
paoloz
Level 1
Level 1
10 sign-ins 5 sign-ins First solution authored

Hi Owen

Thank for your answer
I connect my board to infineon Jlink and power on, star debug session and start te program , the software running.
At now power off the board and disconnect the jlink, switch on the power but the software not start.
I use mode "User Mode (HAR) SWD0"

Paolo

0 Likes
paoloz
Level 1
Level 1
10 sign-ins 5 sign-ins First solution authored

Ok I find the problem, The mode is wrong , currect User Mode (Debug) SWD0.

All OK

Thank

0 Likes