We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I wrote a very simple SysTick routine in C but I gave it a very small LOAD value of 6400 and now I'm not able to program the device.
int main(void) { ... some stuff SysTick->LOAD = 6400; SysTick->VAL = 0; SysTick->CTRL = 5; while(1) { if (SysTick->CTRL & 0x10000) GPIOA->ODR = 0x00000020; else GPIOA->ODR = 0; }
I downloaded the STM32 Flash Loader Demonstrator and tried using it to flash using RS232 but no luck.
Is there anything I can do to save the board?
[Update]
For those that might run into this program, I resolved by downloading the; STMCubeProgrammer and putting a jumper from BOOT1 pin to VDD.
[/update]
Thanks for your following up sharing. It seems that STMCubeProgrammer can force to restore the original firmware of that board.