Can USBDM support ARM semihosting?

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

Can USBDM support ARM semihosting?

419 Views
nicktuckett
Contributor I

I've set up USBDM 4.11.1.60 with Kinetis Design Studio 2, running on my Ubuntu 14.04 64-bit box. It's driving a Freedom KL26Z board modified in the expected manner to act as a SWD programmer for an external device - and that external device is a standalone MKL26Z256M4. The KL26Z has the USBDM OpenSDA v1 firmware. Programming and debugging from KDS work fine.

However semihosting does not. There aren't any explicit options for it in the USBDM setup, and typing 'mon arm semihosting enable' into the GDB console does nothing. The target device stops on a breakpoint instruction inside initialise_monitor_handles() (which is the expected system call used for semihosting).

I haven't been able to track down any specific information on semihosting and USBDM, so I suspect it isn't currently supported (or indeed requested).

0 Kudos
1 Reply

216 Views
pgo
Senior Contributor V

Hi Nick,

No USBDM does not support semi-hosting.  I haven't really looked at what is involved.

bye

Update - V4.11.1.70 will have partial support for semihosting.  Writes will be supported and can be shown in a console on Eclipse.

bye

0 Kudos