2024-12-12 5:34 AM - edited 2024-12-12 7:30 AM
Hello,
I am using the STM32G070RB and can start the bootloader. I am sending the command get checksum 0xA1 + 0x5E but I receive a NACK Byte directly after that. So I assume that this has to do with the protection active, since the flow diagram in the AN3155 shows only this path.
So in order to fix this issue I was thinking to send the readout unprotect command first and then the get checksum command. I did this but it doesn't work either.
Please note that I pull the Boot0 Pin high again an I am able to start the bootloader again after the reset caused by readout unprotect command.
Any help would be appreciated
2024-12-12 5:40 AM
Hello @crisay794266 ,
Can you precise the bootloader version of MCU this can be done by checking the bottom right window when connecting via CubeProgrammer.
Regards
2024-12-12 5:47 AM
It is 0xB2
2024-12-12 11:48 AM
Run the GET COMMAND command to see if the get checksum command is supported.
I recall them leaving out some commands due to space on the smaller chips.
2024-12-12 1:24 PM
Presumably if you unprotect the memory, it will mass-erase the content, so not going to be helpful to checksum content.
As TDK indicates you should be able to get the loader to enumerate the supported commands.
We’re moving the ST Community to a new platform to give you a better and more reliable community experience.