Skip to content

Commit 6a407c0

Browse files
authored
Merge pull request #56 from arduino/marqdevx/portentaBreakout/tutorial/ozone-debug-fix
Portenta Breakout - Ozone debugger fix. [PC-865]
2 parents 32741da + eeec506 commit 6a407c0

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

Diff for: content/hardware/04.pro/carriers/portenta-breakout/tutorials/breakout-jlink-setup/breakout-jlink-setup.md

+4
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,10 @@ Now you get to the window that asks you to select the program to be debugged, th
6161

6262
![Temporary .ELF file location](assets/breakout_jlink_ozone_elf_file.png)
6363

64+
In the 'optional settings' dialog, set both options 'Initial PC' and 'Initial Stack Pointer' to 'Do not set' as it would skip the Arduino bootloader otherwise which may prevent the sketch from running correctly.
65+
66+
![Segger Ozone J-Link connection optional settings](assets/breakout_jlink_optional_settings.png)
67+
6468
When the setup is finished Ozone will open the file containing the main function. You will note that this is not the .ino sketch you wrote since this is an abstraction layer generated by the IDE. To open our .ino sketch we need to go to **Find > Find source file** in the top toolbar.
6569

6670
![Find source file in Ozone](assets/breakout_jlink_ozone_find_tab.png)

0 commit comments

Comments
 (0)