Target wont run without debugger

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Target wont run without debugger

1,049件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by modestt on Fri Nov 11 02:44:27 MST 2011
Hi,
the project I am working on works fine as long as debugger connected but wont run stand alone.
1. I have tried debug and release builds to no effect.
2. It requires semi-hosting as it uses file i/O libraries, so wont compile without one. currently Redlib (semihost) selected.

I have seen couple of thread which refer to placing assembly routine in hard fault. Is that the only way of doing it ? I haven't tried it yet.
Many Thanks for your support.
0 件の賞賛
返信
4 返答(返信)

992件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Fri Nov 11 09:20:56 MST 2011
Sorry, there's not much we can offer with the information provided. If you believe you've removed dependencies on the semihost library, make certain your project is using the script file you think it is; that is managed vs. unmanaged scripts - which ever is the case.

Regards,

CodeRedSupport
0 件の賞賛
返信

992件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by modestt on Fri Nov 11 06:35:06 MST 2011
Hi Code Red support team,
would you please add any comments ?
Thanks
0 件の賞賛
返信

992件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by modestt on Fri Nov 11 05:06:50 MST 2011
I have now compiled project with nohost and it complies however problem remains. Debugger connection required !
I have disabled semihost support in launch configuration -> debugger as well.
I am using chan's FAT library.
Thanks for your support.
0 件の賞賛
返信

992件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by TheFallGuy on Fri Nov 11 03:42:09 MST 2011
Semihosting *requires* a debugger! What I/O libraries are you using? Maybe you need to use the 'Nohost' libraries.
0 件の賞賛
返信