- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
After acquiring CY7C65219 device with MiniProg3, the Debug option in the Debug menu is still grayed out. What am I doing wrong?
Solved! Go to Solution.
- Labels:
-
PSoC3 MCU
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
For the particular project you are trying to debug, as the linker script is used, the error thrown is due to the linker not able to find the bootloader binary.
It will be easier to use the second method i.e. to attach to running target and reset - https://community.cypress.com/t5/Resource-Library/Debugging-a-CCGx-bootloadable-project-using-MiniPr...
Pranava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
In order to debug a Bootloadable project, you can use following methods.
1. Convert bootloadable project into a normal project by disabling "Bootloadable" component in Schematic editor. Then you will be able to debug the project.
2. You can use "Attach to running target" from Debug menu and reset the code execution.
Please find similar threads:
Pranava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
When I tried to disable Bootloadable, I got an error message:
Then I changed the project settings as shown in the picture below:
As a result, I got a new error message:
Then I changed the debug target to "Application Code and Data":
And got the following error message:
Then I commented out the body of the dmc_jump_to_alternate () function and the compilation failed without any explanation:
In this case, I don't know what to do. Please help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
For the particular project you are trying to debug, as the linker script is used, the error thrown is due to the linker not able to find the bootloader binary.
It will be easier to use the second method i.e. to attach to running target and reset - https://community.cypress.com/t5/Resource-Library/Debugging-a-CCGx-bootloadable-project-using-MiniPr...
Pranava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Pranava,
Thank you very much! "Attach to a running target" solved the problem. In addition to the settings described in the article, I had to change the "Debug Target" from "Application Code and Data" to "Application Code and Data2". In the first case, the disassembly window was displayed instead of the source code.
Regards,
Slava