Skip to main content
Lkim.1
Associate II
July 12, 2021
Question

dose flash loader demonstrator support STM32G474 chips? am I doing wrong with STM32G474?

  • July 12, 2021
  • 2 replies
  • 2261 views

I am trying to do download bin file through uart (serial trans)

I have experience which downloaded using flash loader demonstrator with STM32F4 series.

so I thought it could be easy to do with STM32G474

and I found datasheet about option bit can choose boot mode.

so I changed option bits .

but flash loader demonstrator doesn't work..

flash loader program couldn't find mcu.

it show messages that " No response from the target, the boot loader can not be started

please verify the boot mode configuration and the flash protection status

reset your device and try again. "

so I tried every combination of option bits ( nBOOT1,nSWBOOT0,nBOOT0) .. 8 times.

but it still doesn't work well.

I don't understand what should I do for using demonstrator with STM32G474..

please help me.

This topic has been closed for replies.

2 replies

SBEN .2
Visitor II
July 12, 2021

Hello @Lkim.1​ ,

You should use STM32CubeProgrammer instead of Flash Loader Demo, especially that the latter support newer parts.

Best regards,

@SBEN .2​ 

Lkim.1
Lkim.1Author
Associate II
July 12, 2021

thanks for your reply.

I'm using STM32CubeProgrammer for changing option bits...

what should I do ?

SBEN .2
Visitor II
July 12, 2021

Hello @Lkim.1​ ,

Flash Loader Demonstrator is deprecated and isn't guaranteed to work on newer parts.

0693W00000BdOdiQAF.pngPlease check section 2.1.4, figure 7 for the steps you need to follow in STM32CubeProgrammer's user manual: https://www.st.com/resource/en/user_manual/um2237-stm32cubeprogrammer-software-description-stmicroelectronics.pdf

0693W00000BdOevQAF.pngBest regards,

@SBEN .2​ 

Lkim.1
Lkim.1Author
Associate II
July 13, 2021

Hello~ : ) thanks for your kindness reply

I'be tried what you said. using STM32CubeProgrammer, with UART connect.

but it still doesn't connect well..

it shows error which is "Error: Activating device: KO. Please, verify the boot mode configuration and check the serial port configuration. Reset your device then try again... "

so I think I need to check one by one.

  1. I tried to boot as System memory , is that correct?
  2. I set option bits BOOT_LOCK = 0 , nBOOT1 = 1, nBOOT0 =0 , nSWBOOT0 ( cause I'm using PB8 as output ) , is that correct?
  3. I tried to connect while plug in STlink V3, (without connecting ST-LINK) , is that problem ?
  4. I tried to connect Uart3 pin in mcu, STM32G474 doesn't support Uart3 as bootloader ?
  5. I use Uart3 and baudrate is 14400, so I tried to connect baudrate 14400. is that correct?

I need your help really ,,

I have no Idea what should I do next...