- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hallo Community,
I would like to use the Programming/Debug-Pins of the PSoC5LP as GPIOs which is theoretical possible.
But, I could not figure out if the programming interface will work after setting swd to gpio. Is programming still possible or not?
I added an image to the post to clearify which option I am talking about.
Cheers,
HeDo
- Labels:
-
PSoC 5LP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello, programming is still possible, but debugging isn´t.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Looking at the TRM, section on NVL lataches, they cannot
be modified by firmware. I did see however a note in GPIO
that debugging for a pin can be disabled with a register write.
Not totally clear, maybe someone else can comment on this.
Regards, Dana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Programming is possible even if you select the debug interface as GPIO. Debugging is alos possible in this mode for PSoC5LP device. Just that you will need to acquire the device before debugging.
Thanks,
Hima
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Hima,
if the debug pins are used as GPIO, how should they be connected for the case that someone wants to debug? This is something like 'pin sharing'. Are there any recommendations from Cypress? I think especially for the case that the pins are configured as outputs, which would interfere with the debug dongle.
Regards,
Ralf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Ralf,
If we are sending a particular seuence in the acquire window after reset then the device will be in debug mode. In that case the SWD pin will function as debug pins only. Only in free running mode(not debug) those pins will fuction as ordinary GPIO.WE recommend not to use the device in debug mode if the SWD pins are configured as GPIO. However debugging will work, but the SWD pins will not act as GPIO.
Thanks,
Hima