Let me first thank you for supporting Linux!
Below are a few issues I came across while trying to use Mbed Studio IDE on Ubuntu 18.04.
I have tried to build and debug a mbed-os-example-blinky-baremetal
program.
After selecting NUCLEO-F446RE
as my target I tried to debug.
But when stepping over
thread_sleep_for(WAIT_TIME);
the following error message was reported:
...
TransferFaultError: SWD/JTAG Transfer Fault @ 0xe000edf0-0xe000edf7
"0028950:ERROR:gdbserver:Unhandled exception in handle_message: SWD/JTAG Transfer Fault @ 0xe000edf0-0xe000edf7"
Remote failure reply: E01
Unfortunately, to get read of the following message and continue in debugging I had to reboot the linux machine:
error: [Errno 98] Address already in use
"GDB server stopped unexpectedly with exit code 1"
If someone knows about a more friendly and faster way please let me know.
Strangely, after rebooting and replacing
thread_sleep_for(WAIT_TIME);
with a deprecated
wait_ms(WAIT_TIME);
I was able to continue in debugging.
When I selected mbed LPC1768
as my target and tried to debug I have received the following error message:
...
TransferError: No ACK received
"0005428:ERROR:gdbserver:Unhandled exception in handle_message: No ACK received"
Remote failure reply: E01
Any idea how to get rid of it?
Thank you in advance.
NOTE: Everybody is welcome to use this thread for reporting his/her experience/feedback on using Mbed Studio on Linux.