4 Appendix B: Configure at91bootstrap for Debug Use with MPLAB X IDE

All preconfigured applications are available in at91bootstrap→ configs. The build called sam9x60_curiosity_bkptnone_defconfig can only be used to debug the application using MPLAB X IDE. See the following note.

Note: <board_name>_bkptnone_defconfig configures at91bootstrap to continuously loop at the end of its execution so that the debugger can take control (a time-out message is displayed) and continue to download the application into user space. Therefore, bkptnone_defconfig should be used only to debug the bootstrap using MPLAB X IDE.

Go to Project→ Properties→ Kconfig→ Load→ Harmony3→ at91bootstrap→ configs→ sam9x60_curiosity_bkptnone_defconfig→ Open.

This provides the Kconfig file configuration required to build at91bootstrap for debug use with MPLAB X IDE.

Build this at91bootstrap configuration as described in Prepare the Programming Environment.

Figure 4-1. Load at91bootstrap Stop at Breakpoint Configuration
Figure 4-2. Debugger Probe Selection