STM32H725IGK6 Boot Issues
I'm using STM32H725IGK6. I come from Microchip PIC world.
When pulling up 'BOOT0' with 10kΩ to VCC(3.3V) , I'm able to run my code on my custom designed board using STM32CUBEIDE.
When I press RST or power cycle board, nothing runs. This is expected right? Since I'm in Bootloader mode.
State 1) Here is the issue. When pull 'BOOT0' to ground through 10kΩ, I can program the device only once and if I try to reprogram thereafter, I get the 'no target found error'. No code runs on the device. I do see the current of the device increase to a level similar when code is running when in Boot0=vcc mode.
State 2) I then set Boot0 back to VCC and I'm able to debug and run code again. If I open STM32CubeProgrammer, I'm able to erase the chip completely.
I then put the device back to State 1) again have the same issue. I'm able to connect and program once only with no code running. I'm unable to get anything to work when Boot0 is at GND.
Notes: pin 'VBAT' is always powered (connected to a battery at 3.3V)
In STM32CUBEMX, 'Debug' is set to 'Serial Wire'
I have also tried to hold reset switch down in both Boot modes to connect to the device. I have used the STM32CubeProgrammer to program the device making sure that the option bytes are set with no write protect.
What am I missing?
See attachment for schematic.
Thanks,
Kevin
