[SOLVED] STM BluePill with Sierra 10.12.6
[SOLVED] STM BluePill with Sierra 10.12.6
Hi Chaps,
after solving my first problems with CH340 driver for the Nano clones I got stuck by accessing the STM Blue Pill board under Mac OSX Sierra. I read some posts here in the forums but I didn't succeed yet...
Hardware:
STM32F103C8T6
USB Connection Cable
Boot jumper 0 set to HIGH
Boot jumper 1 set to LOW
Software:
Arduino IDE 1.8.5 Mac
Arduino_STM32 folder in /hardware
ARDUINO -> Boards -> Generic STM32F103C Series selected
ARDUINO -> Upload Method -> Serial selected
ARDUINO -> Programmer -> AVRISP mkII selected
ARDUINO -> Port -> NOTHING SELECTED SINCE THERE IS NO SERIAL DRIVER ON DISPLAY
As you can imagine... I cannot acces the board or upload anything... where is the problem? Anyone has an idea?
Thanks so much!
Christian
after solving my first problems with CH340 driver for the Nano clones I got stuck by accessing the STM Blue Pill board under Mac OSX Sierra. I read some posts here in the forums but I didn't succeed yet...
Hardware:
STM32F103C8T6
USB Connection Cable
Boot jumper 0 set to HIGH
Boot jumper 1 set to LOW
Software:
Arduino IDE 1.8.5 Mac
Arduino_STM32 folder in /hardware
ARDUINO -> Boards -> Generic STM32F103C Series selected
ARDUINO -> Upload Method -> Serial selected
ARDUINO -> Programmer -> AVRISP mkII selected
ARDUINO -> Port -> NOTHING SELECTED SINCE THERE IS NO SERIAL DRIVER ON DISPLAY
As you can imagine... I cannot acces the board or upload anything... where is the problem? Anyone has an idea?
Thanks so much!
Christian
- RogerClark
- Posts: 8416
- Joined: Mon Apr 27, 2015 10:36 am
- Location: Melbourne, Australia
- Contact:
Re: STM BluePill with Sierra 10.12.6
If you have the ch340 plugged in to the Mac and the IDE can’t see any available com ports, this is a problem with the IDE
I suggest you use the stm32flash utility to manually install the bootloader.
There are loads of posts about how to install and use the bootloader
I suggest you use the stm32flash utility to manually install the bootloader.
There are loads of posts about how to install and use the bootloader
Re: STM BluePill with Sierra 10.12.6
Roger, the CH340 Chip is only on my Nano Board... currently I have no USB to Serial adapter...
That means I have to manually program the bootloader into the board by connecting the STM32 board to a USB to serial adapter? Or can my nano board be coupled with the STM32 to program the bootloader?
Thanky for your help!
That means I have to manually program the bootloader into the board by connecting the STM32 board to a USB to serial adapter? Or can my nano board be coupled with the STM32 to program the bootloader?
Thanky for your help!
Re: STM BluePill with Sierra 10.12.6
Somehow I'm getting more and more confused...
- can I use the onboard USB connector of the Blue Pill Board to programm from the ARDUINO IDE or do I always have to programm with a FTDI USB to Serial adapter?
- do I have to modify the hardware on the Board with a pull up resistor?
- what do I have to do and connect for trying to get the STM32 Flash to work? Currently I have connected the board via the USB connector and get the following error code when trying to flash:
$ ./stlink/st-flash write generic_boot20_pc13.bin 0x8000000
2017-12-02T00:33:46 WARN /Users/kuwatay/src/stlink-master/src/usb.c: Couldn't find any ST-Link/V2 devices
What does Users/kuwatay mean?? My user name is totally different...
Please give me some advice... THANKS!
- can I use the onboard USB connector of the Blue Pill Board to programm from the ARDUINO IDE or do I always have to programm with a FTDI USB to Serial adapter?
- do I have to modify the hardware on the Board with a pull up resistor?
- what do I have to do and connect for trying to get the STM32 Flash to work? Currently I have connected the board via the USB connector and get the following error code when trying to flash:
$ ./stlink/st-flash write generic_boot20_pc13.bin 0x8000000
2017-12-02T00:33:46 WARN /Users/kuwatay/src/stlink-master/src/usb.c: Couldn't find any ST-Link/V2 devices
What does Users/kuwatay mean?? My user name is totally different...
Please give me some advice... THANKS!
- mrburnette
- Posts: 3001
- Joined: Mon Apr 27, 2015 12:50 pm
- Location: Greater Atlanta
- Contact:
Re: STM BluePill with Sierra 10.12.6
Maybe read this section of our WiKi:
https://github.com/rogerclarkmelbourne/ ... ill-Boards
Ray
Added:
You can use Google to search the forum for specific posts re: Bluepill
https://github.com/rogerclarkmelbourne/ ... ill-Boards
Ray
Added:
You can use Google to search the forum for specific posts re: Bluepill
Code: Select all
bluepill site:stm32duinoforum.com/forum
Re: STM BluePill with Sierra 10.12.6
Well, I now have bought a STM-Link V2 connector...
-> with STM-Link I can upload my sketches from Arduiono to the BluePill.... ok!
-> with STM-Link and Boot Jumper 0 to HIGH I was able to upload the new generic stmduino bootloader.... ok!
-> connected to USB Port and Boot Jumper 0 reset to LOW, the Arduino software recognizes Port Serial FTDI1421... ok!
But I cannot upload any sketch... the error message is:
Which Image is missing?? Any idea?
-> with STM-Link I can upload my sketches from Arduiono to the BluePill.... ok!
-> with STM-Link and Boot Jumper 0 to HIGH I was able to upload the new generic stmduino bootloader.... ok!
-> connected to USB Port and Boot Jumper 0 reset to LOW, the Arduino software recognizes Port Serial FTDI1421... ok!
But I cannot upload any sketch... the error message is:
Code: Select all
dyld: Library not loaded: /opt/local/lib/libusb-1.0.0.dylib
Referenced from: /Users/xxx/Documents/Arduino/hardware/Arduino_STM32/tools/macosx/dfu-util/dfu-util
Reason: image not found
/Users/xxx/Documents/Arduino/hardware/Arduino_STM32/tools/macosx/maple_upload: line 53: 5515 Abort trap: 6 ${DFU_UTIL} -d ${usbID} -a ${altID} -D ${binfile} -R ${dfuse_addr} -R
Beim Hochladen des Sketches ist ein Fehler aufgetreten
Re: STM BluePill with Sierra 10.12.6
SOLVED...
the library wasn't accessible from OSX.... had to install the homebrew system... now it works...
the library wasn't accessible from OSX.... had to install the homebrew system... now it works...
Re: [SOLVED] STM BluePill with Sierra 10.12.6
I have the same problem with Sierra, St link was installed using homebrew, which library wasn't accessible from OSX, can you provide more details how you fixed.
When I opened I have this text
When I opened
Code: Select all
Last login: Fri Jan 18 20:50:44 on ttys000
teds-iMac:~ tedkor$ /Users/tedkor/Desktop/Arduino/hardware/Arduino_STM32-master/tools/macosx/stlink_upload ; exit;
2019-01-18T20:56:51 WARN /Users/kuwatay/src/stlink-master/src/usb.c: Couldn't find any ST-Link/V2 devices
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.
[Process completed]
- mrburnette
- Posts: 3001
- Joined: Mon Apr 27, 2015 12:50 pm
- Location: Greater Atlanta
- Contact:
Re: [SOLVED] STM BluePill with Sierra 10.12.6
McFly has not logged onot the forum since 12/2017.... he gave no more details than above. That is why the forum policy is to "Not wake up old threads."
Ray
Re: [SOLVED] STM BluePill with Sierra 10.12.6
Just googling