On 28 Oct 2014, at 14:45, Peter Maydell <peter.mayd...@linaro.org> wrote:

>> qemu: Unsupported SemiHosting SWI 0x00
>> R00=00000000 R01=00000000 R02=00000000 R03=00000000
>> R04=00000000 R05=00000000 R06=00000000 R07=200ffed8
>> R08=00000000 R09=00000000 R10=00000000 R11=00000000
>> R12=00000000 R13=200ffed8 R14=000022c5 R15=0000157c
>> PSR=60000173 -ZC- T svc32
>> Abort trap: 6
> 
> What code sequence and which semihosting function are
> you trying to use here?

I guess it is:

      call_host (SEMIHOSTING_SYS_WRITE0, (void*) buf);

where SEMIHOSTING_SYS_WRITE0 = 0x04.

I calibrated my code with J-Link semihosting support, which is quite complete.


regards,

Liviu


Reply via email to