cancel
Showing results for 
Search instead for 
Did you mean: 

Issues with STM32H753VIT6 After Clock Changes - Not Responding or Reprogramming

Arv0032
Associate

Moved from the MPUs forum - H7 is an MCU, not MPU


I am a complete beginner with STM32, and I'm currently working on a project where I need to transmit a simple 16-bit ADC value to USB using my STM32H753VIT6. I'm trying to figure out things myself, but I seem to have encountered an issue and could really use some guidance.

Here’s the situation:

  1. When I started the project, all the basic peripherals were running at a 64 MHz clock speed.
  2. To improve performance, I increased the clock speed to 480 MHz for the peripherals that can handle that.
  3. I then adjusted the ADC clock to 100 MHz, and everything seemed to work fine (the IDE supported it without showing any errors).
  4. However, I then changed all clocks to 120 MHz, the ADC clock to 64 MHz, and kept the USB_OTG at 48 MHz (I never changed this one).
  5. After flashing the STM32 with these settings, the device is no longer responding and I cannot reprogram it.

I’m completely new to this, so I’m not sure where I went wrong. Could this be a clock configuration issue? Is there a way to recover the device and reprogram it?

Sorry if I did something foolish, but I’d really appreciate any help or suggestions on how to proceed!

Thanks!

3 REPLIES 3
ELABI.1
ST Employee

Hi @Arv0032,

You can use the CubeProgrammer to unlock your board by using flash erase. You can refer to the User Manual UM2237 of the CubeProgrammer for more details, specifically section 2.3 Memory programming and erasing.

Do you generate the code with MX or make the modifications manually?

Thank you.

ELABI.1

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

If you pull BOOT0 pin HIGH, the chip will start in the System Loader ROM rather than code you have installed. This might provide a window/method to erase your code.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
SofLit
ST Employee

Hello,

To be efficient, need to provide the ioc that generates the working configuration (with 480 MHz I think) and the one (ioc) generating the non-working project (with 120 MHz I think).

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.
PS: This is NOT an online support (https://ols.st.com) but a collaborative space. So please be polite in your reply. Otherwise, it will be reported as inappropriate and you will be permanently blacklisted from my help/support.