cancel
Showing results for 
Search instead for 
Did you mean: 

problem with USART bootloader programming STM32F407

developer2
Senior
Posted on June 28, 2013 at 21:47

Hi all, 

please could you help me to identify changes in communication using serial port and STM32 bootloader, 

i'm able to program STM32F103 with version 2.2 chip ID 414 but i can't program STM32F407 with bootloader version 3.1 chip ID 413, 

i'm getting NACK on command 0x73 - write unprotect  :( 

what should i change to get ACK ? 

there are no Flash or Read-out protections activated, 

Kind regards, 

4 REPLIES 4
Posted on June 28, 2013 at 22:11

Does the boot loader report that it supports that command?

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
developer2
Senior
Posted on June 28, 2013 at 22:18

well, i don't have any debug device, is there a way how to find it ? 

developer2
Senior
Posted on June 28, 2013 at 22:54

so i made some debugs and i found that command Write Unprotect is successful , but Init command 0x7f was executed too early after ACKs for WriteUnprotect, 

so i delayed the Init command and it's successful,

but when send Erase command 0x43 i get ACK and after parameters 0xff 0x00 i get NACK , 

developer2
Senior
Posted on June 29, 2013 at 11:11

solved .... i had to read ''small text'' in doc, Erase cmd is not supported in bootloader ver >=3.0, only extended erase, 

Thank You Clive1 

Kind regards,