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,322件の閲覧回数
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,296件の閲覧回数
converse
Senior Contributor V
5 返答(返信)
1,276件の閲覧回数
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello converse,

Thanks for your sharing,

 

Regards,

Alice

0 件の賞賛
1,291件の閲覧回数
Ken_V
Contributor I

Thanks for finding that for me!

Looks like I have the semihosting issue.

0 件の賞賛
1,300件の閲覧回数
Ken_V
Contributor I

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

0 件の賞賛
1,297件の閲覧回数
converse
Senior Contributor V
1,315件の閲覧回数
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 件の賞賛