This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Bricked Nucleo-F411?

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]

Parents Reply Children
No data