If you are trying to pass data from bootloader to bootloadable application,
just declare an absolute area in memory (RAM or FLASH) where that data
is to be found. Or put it in EEPROM or emFile (emulated EEPROM) when
bootloader is running. Then when bootloadable runs it knows where the data
is because you coded a pointer in it to an absolute memory location. Or a test
for a "signature" in the EE or emEE.
The data could be a structure should you choose. Anything.
http://www.cypress.com/?rID=50230 AN68272 UART BL PSOC 3, 4, 5LP
http://www.cypress.com/?rID=41002 AN60317 I2C BL PSOC 3, 5LP
http://www.cypress.com/?rID=57561 AN73503 USB HID BL with GUI Host PSOC 3, 5LP
http://www.cypress.com/?rID=56014 PSoC® 3, PSoC 4, and PSoC 5LP Introduction To Bootloaders
http://www.cypress.com/?rID=83293 AN86526 - PSoC® 4 I2C Bootloader
http://www.cypress.com/?rID=50230 AN68272 - PSoC® 3, PSoC 4 and PSoC 5LP UART Bootloader
But I want to know how to configure "Debug Select" option in bootloadable application.
You can find this option :
ApplicationName.cydwr File -> System Tap -> Progrmming\Debugging
In PSoC Creator 3.0 sp 2, I could select SWD, SWD+SWV, etc. in bootloadable application.
In PSoC Creator 3.1, It's impossible. Because bootloadable application inherit that value from associated bootloader.
So I changed bootloader's value, but it didn't inherit from bootloader, it wasn't selectable, it was fixxed to SWD+SWV.
P1 is used to SWD:SWV. But I want to use it as GPIO.
To regain control over the SWD pins and use as GPIO use the HSIOM
Register HSIOM_PORT_SEL3. Refer to the Register Technical
Note you would also have to use the other port control registers to config
the pins characteristics, like input or output, stong drive, pullups etc...See
page 26 of ap note and also the Register TRM
http://www.cypress.com/?rID=93401 AN86439 - PSoC® 4 - Using GPIO Pins
I thought you were using PSOC 4, let me find the corrected info for PSOC 5LP.
I just built a project with bootloader and bootloadable. Setting the debug pins to different modes works.
I assume that the reference to the bootloader might be pointing to the wrong project.
I have the same problem as Lars Hong, i can not build my bootloadable application with psoc 3.1. What is the solution ?.