2025-01-19 03:51 AM
I am programming my STM32F423RHT6. But due to some reason, suddenly I am unable to code the MCU. The connection is getting lost for some reason. I don't know what is the reason for this behavior. I am attaching my code along with this message. The debugger which I use is an external debugger of stm32. I tried changing TCXO, tried changing the same CHIP. Voltage levels are as per the data sheet. For the 1st few times of programming, am able to flash the code. But after couple of times, facing this issue.
Note:
I kept programming for peripheral by peripheral and this issue happened suddenly all at once. After finalizing the product and manufacturing parts and soldering, I am facing this issue. Kindly help me out.
Is my chip being dead after few instances of programming?
2025-01-21 06:52 AM
As a side note, I don't know the STM32F423RH specifically.
But if you speak about a custom board, consider design-related hardware problems.
Some might manifest only with higher current consumption and/or clock frequency.
2025-01-21 07:00 AM
2025-01-21 07:22 AM
Can you connect with BOOT0 pin HIGH ?
Do you have some current limitation on the LEDs?
2025-01-21 09:30 PM
@Andrew Neil Sir added UART Interrupts for UART4 and UART 5. And added an external GPIO Interrupt. Added few mathematical formulas. The ADC was very random and to reduce the fluctuations, wrote some code using math libraries available by default. I did not enable the floating point in MCU/MPU Settings in STM32 Cube IDE even though I used floating point values. But I did all at once without checking it peripheral by peripheral.
2025-01-21 09:32 PM
Sir didn't try that. What should I do sir regarding boot 0 pin. I need de-brick the MCU's.
2025-01-22 12:50 AM
@vbk22398 wrote:added an external GPIO Interrupt. .
You didn't use one of the GPIOs used by the SWD ?
2025-01-22 01:19 AM - edited 2025-01-22 01:33 AM
I had once an issue regarding:
Which system supply configuration you have on HW? (since for me, your Sch is not very clear)
Then, which one have you put in SW?
This can let you program your MCU for the first time, but after that first time, it would not boot again until you change it in HW to be as you programmed in SW (in the CubeMX).
Hope this helps.
Greetings
EDIT:
Seems like my guess was wrong, on what to look in, since the capture i posted is for H755 but for F423 there are few similar things that are called: Power Supply Supervisor, that do "the same" as my first guess, and what they do is to check some HW pins and connections with your firmware, as far as i understand at the end the "same thing" is happening, something you have in HW according to the Power Supply Supervisor is in conflict with the SW/FW you have loaded in the MCU, until you make the HW to be the same you have told to the MCU it have when you programmed it, it would not run.
Greetings