- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I was developing with Creator 3.0, but when I have migrated to 4.2 I can't select the option GPIO for the Debug Select at the system options.@
Solved! Go to Solution.
- Labels:
-
PSoC 5LP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have found the root cause of this. Your project is using a bootloadable and you are generating the hex using a seperate UART_Bootloader project. In the UART Bootloader project, set the Debug Select to GPIO and then build to generate the hex file.
Now point to this hex file in the Bootloadable component Dependencies tab. Now build the project and everything will work. You will be able to see the GPIO option listed under Debug Select as well.
If you use a bootloader.hex which was generated with Debug Select set to SWD, these pins will get blocked when used in the Bootloadable. This is why you were seeing the error
Regards,
Dheeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
For the particular device you have selected, I checked and it does have "GPIO" option present under "Debug Select". Restart Creator and check if it works. If it doesn't then it might have something to do with the porting from 3.0 to 4.2.
Please explain the steps you followed to port the project from 3.0 to 4.2. You could also attach the project to provide us more insight into the issue.
Regards,
Dheeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Restarting it doesn't work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm going to start porting from 3.0 to 4.2, and I'll give you all the details
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I open the project and build it.
64 errors. Most of them about component update
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
update components
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
All the components updated.
Now I have the SWD Debug error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
But there isn't the GPIO option...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Looking at the first pic in the steps you specified, pins 1[0] and 1[1] are unassigned. This means that in the initial step, the debug select was set to GPIO. Once you have it updated, seems like something is causing the pins to be locked only for SWD.
Can you attach a screenshot of the Pins tab? What is it assigned to in the beginning and what happens after updating?
Looking forward to your reply.
Regards,
Dheeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This is the screenshot before the migration
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
this one after
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you please share your project? I'm not able to reproduce the error. You can trying running a code example to check if you are able to see "GPIO" listed under Debug Select option. This will tell us if it is a project specific issue or something related to Creator.
Regards,
Dheeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have another project with this option available.
It's something related to this concrete project or migration from 3.0 to 4.2
- 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
I have found the root cause of this. Your project is using a bootloadable and you are generating the hex using a seperate UART_Bootloader project. In the UART Bootloader project, set the Debug Select to GPIO and then build to generate the hex file.
Now point to this hex file in the Bootloadable component Dependencies tab. Now build the project and everything will work. You will be able to see the GPIO option listed under Debug Select as well.
If you use a bootloader.hex which was generated with Debug Select set to SWD, these pins will get blocked when used in the Bootloadable. This is why you were seeing the error
Regards,
Dheeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you very much Dheeraj!!!!!!