Debugging Bootloadable Projects
In the PSoC Creator bootloader system, the bootloader project executes first and
then the bootloadable project. The jump from the bootloader to the bootloadable
project is done through a software controlled device reset; see Appendix A for
details. This resets the debugger interface, which means that the bootloadable
project cannot be run in debugger mode.
To debug a bootloadable project, convert it to Application Type Normal (Figure 14),
debug it, and then convert it back to Bootloadable after debugging is done. Another
option is to program the Bootloadable project .hex file onto the device and then use
the Attach to running targe option for debugging, while the bootloadable project is
running. In this case, you can debug the bootloadable project only from the point
where debugger is attached to the device.
http://www.cypress.com/documentation/application-notes/an73854-psoc-3-psoc-4-and-psoc-5lp-introduction-bootloaders AN73503 PSoC® 3, PSoC 4, and PSoC 5LP Introduction To Bootloaders
http://www.cypress.com/documentation/application-notes/an68272-psoc-3-psoc-4-and-psoc-5lp-uart-bootloader AN68272 UART BL PSOC 3, 4, 5LP
http://www.cypress.com/documentation/application-notes/an60317-psoc-3-and-psoc-5lp-i2c-bootloader AN60317 I2C BL PSOC 3, 5LP
http://www.cypress.com/documentation/application-notes/an73503-usb-hid-bootloader-psoc-3-and-psoc-5lp AN73503 USB HID BL with GUI Host PSOC 3, 5LP
http://www.cypress.com/documentation/application-notes/an86526-psoc-4-i2c-bootloader AN86526 - PSoC® 4 I2C Bootloader
http://www.cypress.com/documentation/application-notes/an68272-psoc-3-psoc-4-and-psoc-5lp-uart-bootloader AN68272 - PSoC® 3, PSoC 4 and PSoC 5LP UART Bootloader
Ok, that's what I did. But this is not useful.
That used to be the way to debug a bootloadable proejct, but they added a command in the Debug drop down. "Attach to running target". If you do that, it will jump to the running bootloadable project and it halts execution. You never know where, so I always hit the Reset Icon to set the PC to the beginning of the application and debug from there.
Arrow, PSoC Specialist.
My PSoC doesn't show up in the "Attached Targets" field. I'm using CY8CKIT-049-42xx and am running a bootloadable application. Any reason why this might be?
Do not forget to press the switch when insertin the kit into the USB port. You need to use the Bootloader Host to program the kit.
What is the state of the LEDs? Frequency??