From: Spencer O. <sp...@sp...> - 2012-06-28 10:54:54
|
On 25 June 2012 21:54, Alan Bowman <ala...@gm...> wrote: >> Semihosting is supported for the stlink - the logic just needs fixing. >> As a test apply the following patch to enable the support - untested. > > Thanks. > > I applied the patch, but the function exited at line 513. > target->debug_reason is not DBG_REASON_BREAKPOINT, but is instead set > to DBG_REASON_DBGRQ so do_semihosting is not reached. > strange, the code is being halted by a bkpt instruction i presume ? I will try and find time to have a look. Spen |