2 Replies Latest reply on Jan 9, 2019 3:39 PM by JoLu_3455101

    How does PSoC Creator calculate checksum?




      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?