diff --git a/content/hardware/04.pro/carriers/portenta-breakout/tutorials/breakout-jlink-setup/assets/breakout_jlink_optional_settings.png b/content/hardware/04.pro/carriers/portenta-breakout/tutorials/breakout-jlink-setup/assets/breakout_jlink_optional_settings.png new file mode 100644 index 0000000000..0ee701e7ad Binary files /dev/null and b/content/hardware/04.pro/carriers/portenta-breakout/tutorials/breakout-jlink-setup/assets/breakout_jlink_optional_settings.png differ diff --git a/content/hardware/04.pro/carriers/portenta-breakout/tutorials/breakout-jlink-setup/breakout-jlink-setup.md b/content/hardware/04.pro/carriers/portenta-breakout/tutorials/breakout-jlink-setup/breakout-jlink-setup.md index 9dd6cf7897..927e4cf1ba 100644 --- a/content/hardware/04.pro/carriers/portenta-breakout/tutorials/breakout-jlink-setup/breakout-jlink-setup.md +++ b/content/hardware/04.pro/carriers/portenta-breakout/tutorials/breakout-jlink-setup/breakout-jlink-setup.md @@ -61,6 +61,10 @@ Now you get to the window that asks you to select the program to be debugged, th ![Temporary .ELF file location](assets/breakout_jlink_ozone_elf_file.png) +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. + +![Segger Ozone J-Link connection optional settings](assets/breakout_jlink_optional_settings.png) + 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. ![Find source file in Ozone](assets/breakout_jlink_ozone_find_tab.png)