Problem with STM32F1 and STM32F0 on arduino IDE

Post here first, or if you can't find a relevant section!
Post Reply
PHZ2
Posts: 7
Joined: Fri Jun 05, 2020 6:53 pm

Problem with STM32F1 and STM32F0 on arduino IDE

Post by PHZ2 »

Hi guys, I didn't find anything about this yet, so I decided to post here.

I just got an STM32F1 and an STM32F0 from aliexpress, I flashed the F1 with cube IDE and it worked perfectly, but when I tried to upload a code from arduino IDE to it, the code won't run. I tried to change the bootloader and use the usb to program it, my pc won't recognize it, saw that might be a problem with the R10 resistor, since I'm not home, I don't have the resistor here now, so I'll test it later. I also tried 2 other methods with F1, first one is to upload the code through the FTDI with the same board manager that usb bootloader mode uses, but instead changed to serial, it uploads the code but it won't run, the second is use the official board manager, it also uploads but won't run the code, when I upload a code from cube IDE using flash loader and FTDI, the code runs.

Anyone knows what can it be?

With the F0, I could upload the code using the official board manager from stm on arduino IDE, the code ran fine on the first flashes, but now it have the same problem as F1, the code uploads, but won't run.


Thanks!!
stevestrong
Posts: 502
Joined: Fri Dec 27, 2019 4:53 pm
Answers: 8
Location: Munich, Germany
Contact:

Re: Problem with STM32F1 and STM32F0 on arduino IDE

Post by stevestrong »

Which core do you use?
Which board and which upload method have you selected?
PHZ2
Posts: 7
Joined: Fri Jun 05, 2020 6:53 pm

Re: Problem with STM32F1 and STM32F0 on arduino IDE

Post by PHZ2 »

Link with prints from config and boards:
https://imgur.com/a/263EFm3

Tried a lot of config with the F1, the F0 doesn't have that much of options.
Only using FTDI and serial mode to upload
PHZ2
Posts: 7
Joined: Fri Jun 05, 2020 6:53 pm

Re: Problem with STM32F1 and STM32F0 on arduino IDE

Post by PHZ2 »

Got F0 to work using internal RC oscillator. F1 still won't work..
Post Reply

Return to “General discussion”