Target wont run without debugger

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

Target wont run without debugger

1,056 Views
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 Kudos
Reply
4 Replies

999 Views
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 Kudos
Reply

999 Views
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 Kudos
Reply

999 Views
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 Kudos
Reply

999 Views
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 Kudos
Reply