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
Solved! Go to Solution.
Thanks for finding that for me!
Looks like I have the semihosting issue.
No, I am not doing any kind of C I/O.
Are you doing anything like printf or any other sort of C I/o? You must have a debugger attached if you are.