Stm32 discovery board with arduino ide

All about boards manufactured by ST
Post Reply
fasdas44
Posts: 2
Joined: Mon Oct 17, 2022 8:04 am

Stm32 discovery board with arduino ide

Post by fasdas44 »

Good days, I tried to upload my stm32f100rb discovery card to Arduino (Getting Started · stm32duino/wiki Wiki · GitHub 2) but it does not see stm32 as a port (when my card is inserted, 2 ports are visible, and when I remove my card, it is 2 ports). It shows up in the stm32 device manager, in the disk drives. When I select any port and do the blink example, I get an error

Code: Select all

sing library SrcWrapper at version 1.0.1 in folder: C:\Users\ASUS\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.3.0\libraries\SrcWrapper 
"C:\\Users\\ASUS\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\tools\\xpack-arm-none-eabi-gcc\\10.3.1-2.3/bin/arm-none-eabi-size" -A "C:\\Users\\ASUS\\AppData\\Local\\Temp\\arduino-sketch-323E9BB36788457204FCE7B42CBDA9DD/Blink.ino.elf"
Sketch uses 12064 bytes (9%) of program storage space. Maximum is 131071 bytes.
Global variables use 856 bytes (10%) of dynamic memory, leaving 7336 bytes for local variables. Maximum is 8192 bytes.
DIS_F100RB not found. Please ensure the device is correctly connected.
Failed uploading: uploading error: exit status 7
Image

any idea?
Attachments
Ekran Alıntısı.PNG
Ekran Alıntısı.PNG (37.84 KiB) Viewed 3102 times
User avatar
fpiSTM
Posts: 1723
Joined: Wed Dec 11, 2019 7:11 pm
Answers: 91
Location: Le Mans
Contact:

Re: Stm32 discovery board with arduino ide

Post by fpiSTM »

It seems your board does not mount mass storage device as expected. This is why you got this error, IDE search for DIS_F100RB mass storage name.
You should update the STLink firmware using the STM32CubeProgrammer. Else try to upload using SWD method.
fasdas44
Posts: 2
Joined: Mon Oct 17, 2022 8:04 am

Re: Stm32 discovery board with arduino ide

Post by fasdas44 »

fpiSTM wrote: Mon Oct 17, 2022 9:04 am It seems your board does not mount mass storage device as expected. This is why you got this error, IDE search for DIS_F100RB mass storage name.
You should update the STLink firmware using the STM32CubeProgrammer. Else try to upload using SWD method.
I don't use stlink and at first my problem card shows up in device manager only disk drives. So I can't reach my card with STM32CubeProgrammer.

not:I updated firmware from st link utility but nothing changed rn
User avatar
fpiSTM
Posts: 1723
Joined: Wed Dec 11, 2019 7:11 pm
Answers: 91
Location: Le Mans
Contact:

Re: Stm32 discovery board with arduino ide

Post by fpiSTM »

The board embed an STLink so you can try to use it.
Post Reply

Return to “STM boards (Discovery, Eval, Nucleo, ...)”