- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am using PSoC Creator 4.2 to build a project sample code from Cypress (CYPD3171-24LQXQ_cla). I need to use my debugger (Miniprog3) to step through the code. At first the "Debug" button in the software is greyed out, but after disabling the "bootloadable" component in the project, I am able to use the debugger.
However, when I start my debugging session, I get the following error:
Error: dbg.M0023: There was an error while programming the device: PSoC Programmer reported error (100 - FAILED! Hex File parsing failure. Checksum of Main Flash does not match Hex Checksum record)
Is this checksum mismatch due to the fact that I removed the "Bootloadable" component and now the program size doesn't match the expected checksum? If so, how do I re-calculate/re-config the expected checksum value?
Thanks,
Jonathan
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for your reply. I got the debugger working now. When I select the Debug option, the port settings was set correctly to SWD. However, it turns out that I have to set SWD again in the Systems tab. After that, the debugger worked.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Jonathan,
Have a look at this article which may be helpful.
Troubleshooting Guide for PSoC® 3/PSoC 4/ PSoC 5LP Bootloader Designs - KBA210593
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for your reply. I got the debugger working now. When I select the Debug option, the port settings was set correctly to SWD. However, it turns out that I have to set SWD again in the Systems tab. After that, the debugger worked.