Presentation and my first question about STM32F303RE

Working libraries, libraries being ported and related hardware
Post Reply
aduri
Posts: 2
Joined: Sun Jan 31, 2021 7:21 pm

Presentation and my first question about STM32F303RE

Post by aduri »

Hi everyone, I'm a senior electronic engineer and Ham radio.
I like to study project around radio.

I try to test this board with arduino IDE

I charge a board STM32 core 0.1.1
This board is compatible only with 0.1.0 core version.
When I connect the usb I see a new directory named "node_f303RE" end two file txt.
I charge a blink to test and It compile but don't load te code in the board.

the error with up-load mass storage is that goes in the loop

with up-load stlink:
Unable to connect to ST-LINK!

detail.txt conteins:
Version: V2J37M27
Build: Oct 22 2020 11:30:39

and

Failt.txt:
The interface firmware FAILED to reset/halt the target MCU


bye and thanks for your help
Antonio
ag123
Posts: 1655
Joined: Thu Dec 19, 2019 5:30 am
Answers: 24

Re: Presentation and my first question about STM32F303RE

Post by ag123 »

try connecting the reset pin or holding the reset button when you connect
User avatar
fpiSTM
Posts: 1738
Joined: Wed Dec 11, 2019 7:11 pm
Answers: 91
Location: Le Mans
Contact:

Re: Presentation and my first question about STM32F303RE

Post by fpiSTM »

aduri wrote: Sun Jan 31, 2021 7:49 pm I charge a board STM32 core 0.1.1
This board is compatible only with 0.1.0 core version.
This version seems strange. :o
aduri
Posts: 2
Joined: Sun Jan 31, 2021 7:21 pm

Re: Presentation and my first question about STM32F303RE

Post by aduri »

I reloaded the latest version 1.9 of stm32 for arduino but I have same problem.
I try connecting the reset pin or holding the reset button when I connect USB but when I charge the code (with mass storage option) the IDE goes in a loop.

Antonio
User avatar
fpiSTM
Posts: 1738
Joined: Wed Dec 11, 2019 7:11 pm
Answers: 91
Location: Le Mans
Contact:

Re: Presentation and my first question about STM32F303RE

Post by fpiSTM »

You should try to connect with STM32CubeProgrammer.
I guess it will failed and in that case you should try to change Reset mode and try to connect again.
I think you have disable the SWD pins of the MCU that's why you can't connect with software reset mode.
ag123
Posts: 1655
Joined: Thu Dec 19, 2019 5:30 am
Answers: 24

Re: Presentation and my first question about STM32F303RE

Post by ag123 »

i guess i got confused as well. did you use something like this?
https://www.adafruit.com/product/2548
https://octopart.com/st-link%2Fv2-stmic ... s-20057793
that is an st-link v2 it is a jtag/swd programmer
that works well with STM32CubeProgrammer when connected with the SWD pins link up (swdio, swclk, gnd)
i'd think you can find more info about that on ST's web as well
https://www.st.com/en/development-tools ... umentation
https://www.st.com/en/development-tools ... eprog.html

one of those things you could try to find the *.bin file after you click verify or build
some links found from google search, i've not verified them
https://stackoverflow.com/questions/116 ... by-arduino
https://forum.arduino.cc/index.php?topic=512801.0
https://randomnerdtutorials.com/bin-bin ... duino-ide/
and use the programmer tool STM32CubeProgrammer to flash the bin file.
that bin file is the compiled firmware from your sketch. which can be simply installed on the mcu itself

it is only on occasions when the swd pins are disabled that pressing reset while flashing using st-link v2 may help
otherwise normally it isn't necessary to press reset while flashing as well. just make sure the SWD pins are connected
Last edited by ag123 on Tue Feb 02, 2021 5:12 pm, edited 1 time in total.
User avatar
fpiSTM
Posts: 1738
Joined: Wed Dec 11, 2019 7:11 pm
Answers: 91
Location: Le Mans
Contact:

Re: Presentation and my first question about STM32F303RE

Post by fpiSTM »

If he got "node_f303RE" then it is a Nucleo board with integrated STLink as this is the mass storage interface for flashing.
I just remember I already view this case when an user removed the IDD jumper then the MCU is not powered :D
So check if the jumper is well placed.
Post Reply

Return to “Libraries & Hardware”