How to check SW information of PCB

hello

An external company produces the PCB and writes the SW.

I want to check whether the correct version of SW is written on the manufactured PCB.

So, I connected J-Link to the manufactured PCB and read it, but there was no checksum or CRC information.

Is there any data that can be confirmed with unique information?

  • Hi SHMoon, 
    There is no image hash or checksum that's embedded in the binary image that you write on the chip. 

    So you would need to either simply read the whole chip out and compare it with the image you use to write to see if they are identical. 

    Or you can calculate your own hash from the image and then store the hash some where either outside the chip or embedded inside the image of the chip. When you want to verify the flash content, you just read the binary out, calculate the hash and compare it to the hash you stored. 

    Another option, if you don't need to verify the content, just want to check which version it is , is to find where the application's version is stored in flash and you can just read only the flash area that contain the application's version number. 

Related