You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using a third party board, AMB82 MINI and JLink EDU to perform debugging on Arduino IDE 2.3.2, it works on Windows and Linux but not working on macOS Intel.
In debug console, it shows:
I'm sorry, Dave, I can't do that. Symbol format `elf32-littlearm' unknown.
Application.ntz is the executable, and the file format is in elf32-littlearm.
However, if I run gdb and gdb server using terminal, it is able to go to breakpoint if I call "file {executable path}". If "file {executable path}" is not called before target remote localhost:{port} the behavior will be the same as shown in Arduino IDE.
When "file {executable path}" is not called before target remote localhost:{port}:
When "file {executable path}" is called before target remote localhost:{port}:
In the last part of the platform.txt is shown as follows:
debug_custom.json is placed with the .ino that we wish to debug.
After code is uploaded, the "Start Debugging" button is pressed. It successfully connects to the JLink and connect to Target. But after that, it quit unexpectedly.
In Terminal (which is working):
I open 2 terminal, one for gdb server and one for gdb.
Describe the problem
I am using a third party board, AMB82 MINI and JLink EDU to perform debugging on Arduino IDE 2.3.2, it works on Windows and Linux but not working on macOS Intel.
In debug console, it shows:
Application.ntz
is the executable, and the file format is inelf32-littlearm
.However, if I run gdb and gdb server using terminal, it is able to go to breakpoint if I call "
file {executable path}
". If "file {executable path}
" is not called beforetarget remote localhost:{port}
the behavior will be the same as shown in Arduino IDE.When "
file {executable path}
" is not called beforetarget remote localhost:{port}
:When "
file {executable path}
" is called beforetarget remote localhost:{port}
:To reproduce
In Arduino IDE:
debug_custom.json
is written as follows:The content in JLinkScript used:
In the last part of the
platform.txt
is shown as follows:debug_custom.json
is placed with the.ino
that we wish to debug.After code is uploaded, the "Start Debugging" button is pressed. It successfully connects to the JLink and connect to Target. But after that, it quit unexpectedly.
In Terminal (which is working):
I open 2 terminal, one for gdb server and one for gdb.
The command to start gdb server is:
After that it will show "Waiting for GDB connection..."
Starting gdb,
gdb
in terminal.file {executable path}
target remote localhost:{port}
Expected behavior
Able to start debugging successfully on MacOS Intel and M1.
Arduino IDE version
2.3.2
Operating system
macOS
Operating system version
Intel
Issue checklist
The text was updated successfully, but these errors were encountered: