cancel
Showing results for 
Search instead for 
Did you mean: 

Help to put stm32 32f042 in boot mode

mm.4
Associate II

Help to put stm32 32f042 in boot mode.

I have this board from aliexpress and i want to load a project with STM32CubeProgrammer

https://www.aliexpress.com/item/1005001417495721.html?spm=a2g0o.order_list.0.0.21ef18026yFGOL

I receive this error and i think the jumers are in wrong places

this is if i try to connect and choose UART option

09:55:10 : Error: Activating device: KO. Please, verify the boot mode configuration and check the serial port configuration. Reset your device then try again...

this is if i try to connect and choose USB option

 09:55:17 : Error: Establishing connection with device failed

Thanks in advance

7 REPLIES 7
AScha.3
Chief II

i cannot open link : page not found.

so what board you have?

+

set boot0 (and boot1 , if there) to Hi , then apply power .

bootloader start...

If you feel a post has answered your question, please click "Accept as Solution".
mm.4
Associate II

hi. the link open well

https://www.aliexpress.com/item/1005001417495721.html?spm=a2g0o.order_list.0.0.21ef18026yFGOL

it is a stm3232f042 with lin and can on the board

AScha.3
Chief II

i cannot open link : page not found. (not allowed for this country).

board has SWD port, so use a ST-Link ( 2 $ ) and you can program and debug,

you will need it anyway , if you want make programs and debug them...

https://www.aliexpress.com/item/32887597480.html

If you feel a post has answered your question, please click "Accept as Solution".
mm.4
Associate II

so, i can not upload to this board directly on usb?

KDJEM.1
ST Employee

Hi @Community member​ ,

Did you find this error when you switched from one interface to another?

I advise you, when you configured the bootloader, to refer at this AN2606 "STM32 microcontroller system memory boot mode" and get inspired form the steps described in this MOOC "STM32 boot and startup tips - 2 Embedded bootloader investigations".

Kaouthar

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

mm.4
Associate II

thanks. i think i must put some jumpers in other positions to can upload the programms on this device, i wrote to the seller, but not answered to me.

Piranha
Chief II

> Error: Activating device: KO.

Why does STM32CubeProgrammer use some French slang?

https://stackoverflow.com/questions/48201477/why-jmeter-failures-marks-as-ko

And even, if it means "error", then saying "error" twice with semicolons at the beginning and the end does not make sense anyway.

@Houda GHABRI​