4 Replies Latest reply on Mar 26, 2019 1:47 AM by simcc_1526081

    When the device has been programmed, a checksum is stored in 0x90300000. How do you access this location (using a microcontroller read in run-time) as a normal flash read operation seems to crash the system


      I am trying to check the contents of the user programmable flash on startup as a basic integrity check.

      The plan was to perform a 32-bit checksum on the contents and compare the 2 LS Bytes to the value that is supposed to be stored in 0x90300000 (This is entered during the programming phase). When I try to read this location using a normal flash pointer read, the system crashes as I am obviously performing an illegal operation.

      1) Doe anyone know how I should go about this operation OR

      2) Does the processor check the contents of the flash on startup and I don't need to do this

      Many thanks