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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

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

跳至解决方案
1,321 次查看
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

标签 (1)
0 项奖励
1 解答
1,295 次查看
converse
Senior Contributor V
5 回复数
1,275 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello converse,

Thanks for your sharing,

 

Regards,

Alice

0 项奖励
1,290 次查看
Ken_V
Contributor I

Thanks for finding that for me!

Looks like I have the semihosting issue.

0 项奖励
1,299 次查看
Ken_V
Contributor I

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

0 项奖励
1,296 次查看
converse
Senior Contributor V
1,314 次查看
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 项奖励