Skip to content

Conversation

liamstask
Copy link

No description provided.

@kuraga
Copy link

kuraga commented May 25, 2017

@jsnyder is this correct?

@florisla
Copy link

florisla commented Mar 7, 2018

Basically, this includes N (the number of pages) in the checksum whereas previously it would include value 0xFF instead, which would only be correct for N=255, which is impossible because that's reserved for global erase.

ST application note 3155 says "((...) checksum XOR (N, N+1 bytes))" so this seems to be correct now.

florisla added a commit to florisla/stm32loader that referenced this pull request Mar 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants