(Note: There is no need to install Java to get the installer to run)
For those that want to set up the STM33duino using the STM32 Cores on a Mac running Mojave (10.14) here is what worked for me.
Follow the excellent instructions at: https://github.com/stm32duino/wiki/wiki/Getting-Started until the "Extra Step" portion:
(https://github.com/stm32duino/wiki/wiki ... extra-step) to install the STM32CubeProgrammer)
* Download the STM32Programmer at https://www.st.com/en/development-tools ... eprog.html
* Unzip it
* Right click on SetupSTM32CubeProgrammer-2.4.0.app (app version may be different)
* Select Show Package Contents
* Double click on MacOS
* Double click on “SetupSTM32CubeProgrammer-2_4_0_macos” to execute it
* Follow the instructions on the window that opens
The STM32CubeProgrammer is now installed.
Time to Test:
Connect your STM32 to your USB to Serial:
USB to TTL - STM32
Ground - Ground
5 volts - 5V (make sure USB to TTL is set to 5v, or if 3.3 volt, then connect it to the 3.3 pin)
TX - A10
RX - A9
Move jumper BOOT0 to 1, press reset, load Blink in the Arduino IDE examples.
Under Tools set the following options:
* Board > Generic STM32F1 Series (or what ever you have)
* Board Part Number > BluePill F10C8
* U(S)ART support: Enabled (generic Serial)
* USB Support (if available): None
* Optimize: Smallest (-Os default)
* C Runtime Library: Newlib Nano(default)
* Upload method: STM32CubeProgrammer (Serial)
* Port: (select your USB to TTL serial port)
With everything connected, click upload and you should see a flashing LED.
NOTE: to load the next program, you must press reset on the STM32 or it will error out.
*** I am new to the STM32 family so if there is anything is incorrect or misleading, please let me know ***
Mac Mojave STM32CubeProgrammer Install Tips
Re: Mac Mojave STM32CubeProgrammer Install Tips
Thanks for this detailed instructions.
I guess this will help several other users.
I guess this will help several other users.
Re: Mac Mojave STM32CubeProgrammer Install Tips
The version of the JRE is also important: STM32CubeProgrammer Java version
I got caught out by this.
I got caught out by this.
Pieter
macOS: 14.5 M1
Arduino: 1.8.19
Arduino IDE: 2.3.2
STM32 Core: 2.8.0
macOS: 14.5 M1
Arduino: 1.8.19
Arduino IDE: 2.3.2
STM32 Core: 2.8.0