- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Now, I'm using psoc creator with psoc5lp device.
My projects consist of bootloader and bootloadable.
And P1[3] of PSoC5 LP is connected to led.
Debug Select options were swd. and i could change both of them.
There was no problem before upgrade psoc creator today.
After that, debug select option in bootloadable project is changed to inherit the value from associated bootloader.
I can't find the way to inherit bootloader value in bootloadable project.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Regards, Dana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks, Dana.
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[3] is used to SWD:SWV. But I want to use it as GPIO.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
To regain control over the SWD pins and use as GPIO use the HSIOM
Register HSIOM_PORT_SEL3. Refer to the Register Technical
Manual. http://www.cypress.com/?rID=78807
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I thought you were using PSOC 4, let me find the corrected info for PSOC 5LP.
Regards, Dana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ap note for port control registers -
http://www.cypress.com/?rID=57571 AN72382 - Using PSoC® 3 and PSoC 5LP GPIO Pins
Register TRM -http://www.cypress.com/?rID=73299
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content