OM13098 Demo board will not run application unless in debugger (using Keil)

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

OM13098 Demo board will not run application unless in debugger (using Keil)

Jump to solution
1,292 Views
Ken_V
Contributor I

I created an application using the MCAN interrupt demo code as reference using Keil tools.

I can run it with the debugger, but I notice it stops at a memory location in the disassembly window that lists a breakpoint. I run from there and my application works just fine.

If I try to just flash the application and run it without the debugger, it does nothing...thinking it's stuck at that breakpoint.

The .map file says it is part of sys_command.o??? I searched the project for this and came up with nothing. 

Anybody have any ideas on how to fix this?

 

Thanks,

Ken

Labels (1)
0 Kudos
1 Solution
1,266 Views
converse
Senior Contributor V
5 Replies
1,246 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello converse,

Thanks for your sharing,

 

Regards,

Alice

0 Kudos
1,261 Views
Ken_V
Contributor I

Thanks for finding that for me!

Looks like I have the semihosting issue.

0 Kudos
1,270 Views
Ken_V
Contributor I

No, I am not doing any kind of C I/O.

0 Kudos
1,267 Views
converse
Senior Contributor V
1,285 Views
converse
Senior Contributor V

Are you doing anything like printf or any other sort of C I/o? You must have a debugger attached if you are.

0 Kudos