Hello from Brazil

H4NC0OCK
Posts: 9
Joined: Fri Nov 24, 2017 10:20 am

Hello from Brazil

Post by H4NC0OCK » Fri Nov 24, 2017 10:46 am

Hi

I'm an actually studing to be an eletrical engenering and i'm trying to use the blue pill but i'm having some problems. I'm new at this, i have been reading a lot of posts here, but never posted.

First, I would like to thanks everyone who helps this forum, it is the best.

My problem is that i can't use the serial monitor from arduino IDE with the blue pill. I'm able to send programs and it works, but the serial doesn't. Everytime that a try to open the serial monitor, this mesage apears "Board at COM7 is not available". I don't know how to select the port or what i should do to fix it.

Sorry about my inglish, i'm brasilian and i'm not used to write in inglish, just read. If i wrote something that you can't understand, please tell me that i'll try fix it.


Arduino: 1.8.2 (Windows 10), Board: "Generic STM32F103C series, STM32F103C8 (20k RAM. 64k Flash), STLink, 72Mhz (Normal), Smallest (default)"
Attachments
Sem título.png
Sem título.png (27.94 KiB) Viewed 187 times

stevestrong
Posts: 1811
Joined: Mon Oct 19, 2015 12:06 am
Location: Munich, Germany

Re: Hello from Brazil

Post by stevestrong » Fri Nov 24, 2017 12:35 pm

Check in the device manager the serial COM port number of the blue pill, and select the same port under the Arduino IDE Tools->Port.

User avatar
RogerClark
Posts: 7413
Joined: Mon Apr 27, 2015 10:36 am
Location: Melbourne, Australia
Contact:

Re: Hello from Brazil

Post by RogerClark » Fri Nov 24, 2017 9:26 pm

Probably the USB pull up resistor needs to be modified as the USB re enumeration is not working.
I.e they upload via STLINK

Or they have not installed the drivers

H4NC0OCK
Posts: 9
Joined: Fri Nov 24, 2017 10:20 am

Re: Hello from Brazil

Post by H4NC0OCK » Fri Nov 24, 2017 10:06 pm

stevestrong wrote:
Fri Nov 24, 2017 12:35 pm
Check in the device manager the serial COM port number of the blue pill, and select the same port under the Arduino IDE Tools->Port.
I can't change or select a port, it is like there is nothing conected, but i can compile and upload the programs.

H4NC0OCK
Posts: 9
Joined: Fri Nov 24, 2017 10:20 am

Re: Hello from Brazil

Post by H4NC0OCK » Fri Nov 24, 2017 10:12 pm

RogerClark wrote:
Fri Nov 24, 2017 9:26 pm
Probably the USB pull up resistor needs to be modified as the USB re enumeration is not working.
I.e they upload via STLINK

Or they have not installed the drivers
First, the stlink wasn't working. I've installed the stlink drivers from stm with the "STM32 ST-link utillity" and it works fine now. Can it still be some stlink driver problem?

how can i modify the USB pull up?

User avatar
RogerClark
Posts: 7413
Joined: Mon Apr 27, 2015 10:36 am
Location: Melbourne, Australia
Contact:

Re: Hello from Brazil

Post by RogerClark » Fri Nov 24, 2017 11:49 pm

STLink drivers are separate from the USB Serial and USB DFU drivers

In my repo the drivers are here

https://github.com/rogerclarkmelbourne/ ... rivers/win

Specifically install_drivers.bat

H4NC0OCK
Posts: 9
Joined: Fri Nov 24, 2017 10:20 am

Re: Hello from Brazil

Post by H4NC0OCK » Sat Nov 25, 2017 8:35 pm

RogerClark wrote:
Fri Nov 24, 2017 11:49 pm
STLink drivers are separate from the USB Serial and USB DFU drivers

In my repo the drivers are here

https://github.com/rogerclarkmelbourne/ ... rivers/win

Specifically install_drivers.bat
It was already installed, but i've installed again and it still the same

User avatar
RogerClark
Posts: 7413
Joined: Mon Apr 27, 2015 10:36 am
Location: Melbourne, Australia
Contact:

Re: Hello from Brazil

Post by RogerClark » Sun Nov 26, 2017 6:35 am

Did you fix the problem with the USB pullup resistor ?

see

http://wiki.stm32duino.com/index.php?title=Blue_Pill

stevestrong
Posts: 1811
Joined: Mon Oct 19, 2015 12:06 am
Location: Munich, Germany

Re: Hello from Brazil

Post by stevestrong » Sun Nov 26, 2017 9:59 am

Do you see in device manager an unrecognized USB device?
If yes, then right click on it and select "Update driver", select the "/Arduino_STM32/drivers" folder as source, include subfolders in search and let it run.

H4NC0OCK
Posts: 9
Joined: Fri Nov 24, 2017 10:20 am

Re: Hello from Brazil

Post by H4NC0OCK » Mon Nov 27, 2017 3:07 pm

RogerClark wrote:
Sun Nov 26, 2017 6:35 am
Did you fix the problem with the USB pullup resistor ?

see

http://wiki.stm32duino.com/index.php?title=Blue_Pill
yes, i put two resistors in parallel, one with 3.3k and the other with 3.9k
Attachments
WhatsApp Image 2017-11-27 at 13.02.46.jpeg
WhatsApp Image 2017-11-27 at 13.02.46.jpeg (136.49 KiB) Viewed 96 times

Post Reply