-
Notifications
You must be signed in to change notification settings - Fork 15
Debugging D11 firmware in Atmel studio
Martino Facchin edited this page Dec 10, 2019
·
1 revision
- Compile the D11 sketch from Arduino IDE with verbose output on compilation enabled (there is a checkbox under files/preferences to toggle it)
- The last line before uploading should be similar to
".../4.8.3-2014q1/bin/arm-none-eabi-size" -A "..../arduino_build_383249/I2C-Motor-bridge-D11.ino.elf"
- Copy the path of generated elf file
- Don't close the Arduino IDE (otherwise the temporary files will be discarded)
- Open Atmel Studio
- From File menu, select Open/Open Object file for debugging
- Paste the elf path into "Object file to debug" field
- The paths resolution should be automatic since we are compiling on the same PC.
- Enjoy 😄