cancel
Showing results for 
Search instead for 
Did you mean: 

Reflashing the bootloader firmware from ST

Freshna
Associate

Hello,

I am working with Nucleo-H743ZI2. Using ST Programmer I did full chip erase with Read protection option bytes as CC. Now am getting an error message cannot find STM32 target. I guess I have to reflash my basic firmware packages from ST but I am not aware how to do it since am using ST nucleo board newly. Any suggestions would be appreciated thanks in advance. 

6 REPLIES 6
AScha.3
Principal III

dont play around with read protection !  first read rm , what it will do...

AScha3_0-1695639906496.png

AScha3_2-1695639955397.png

AScha3_3-1695640076535.png

 

so - if you set CC -> need new chip or board, if you cannot desolder old/solder new.

 

If you feel a post has answered your question, please click "Accept as Solution".
Issamos
Lead II

Hello @Freshna 

Setting the RDP (Read protection) to 0xCC means you have activated the RDP Level 2: 

  • When the global read protection level 2 is set, the below rules apply:
  • All debugging features are disabled.
  • Like level 0, all read/write/erase operations from/to the user flash memory are allowed since the debugger and the boot from RAM and System flash memory are disabled. Accesses to the other secured regions are also allowed.
  • Booting from RAM is no more allowed.
  • The user option bits described in Section 4.4 can no longer be changed except for the SWAP bit.
  • Caution: Memory read protection level 2 is an irreversible operation. When level 2 is activated, the level of protection cannot be changed back to level 0 or level 1.
  • Note: The JTAG port is permanently disabled when level 2 is active (acting as a JTAG fuse). As a consequence, STMicroelectronics is not able to perform analysis on defective parts on which the level 2 protection has been set.Apply a power-on reset if the global read protection level 2 is set while the debugger is still connected. (According to the part 4.5.3 of the RM0433).

Then is going to be impossible to reduce the protection level. 

Screenshot_2023-09-25-12-12-03-79_e2d5b3f32b79de1d45acd1fad96fbb0f.jpg

Screenshot_2023-09-25-12-12-31-94_e2d5b3f32b79de1d45acd1fad96fbb0f.jpg

That's why you need a new board now since this board is locked.

best regards.

II

 

The ST Boot Loader is in OTP/ROM, you can't erase it or replace it.

You could try adding a jumper to connect BOOT0/VDD this would perhaps allow for connectivity in the case the MCU is getting into the wrong mode via user code. It will not fix Option Byte issues, especially if you disabled SWD/JTAG connectivity, as RDP 2 is non-reversible. 

Tips, buy me a coffee, or three.. PayPal Venmo Up vote any posts that you find helpful, it shows what's working..
Freshna
Associate

Is there any possible way for me to use this board without using flash memory

yes, the onboard st-link you can ( by using the jumpers..see manual) use as tool to program any other STM32 chip.

but this H743 is just useless now.

If you feel a post has answered your question, please click "Accept as Solution".

This  MCU is useless. You need to use a new one.

Best regards.

II