IDE 2 won't flash on mac

Development environment specific, Arduino, Eclipse, VS2013, Em::Blocks etc
Post Reply
beserge
Posts: 6
Joined: Tue Oct 12, 2021 6:31 pm

IDE 2 won't flash on mac

Post by beserge »

Trying to flash my Daisy Seed from IDE2 on the mac.
I'm on the latest version of stm32duino. I'm using the DFU upload method (although I tried the stlink and that also failed).
On my system it doesn't show up under Port (although the stlink did show up there).
On my friend's system it showed up under Port, but he still got "No connection established" when trying to flash.
Any ideas? IDE 2 works fine on Windows, just seems to have some connection issue under macOS.
GonzoG
Posts: 403
Joined: Wed Jan 15, 2020 11:30 am
Answers: 26
Location: Prudnik, Poland

Re: IDE 2 won't flash on mac

Post by GonzoG »

Arduino IDE 2.0 doesn't want to work with STM32duino. Even older version (I think it was rc6), which worked fine, stopped working.
User avatar
fpiSTM
Posts: 1723
Joined: Wed Dec 11, 2019 7:11 pm
Answers: 91
Location: Le Mans
Contact:

Re: IDE 2 won't flash on mac

Post by fpiSTM »

It works I saw some bugs linked to IDE but that's all
User avatar
fpiSTM
Posts: 1723
Joined: Wed Dec 11, 2019 7:11 pm
Answers: 91
Location: Le Mans
Contact:

Re: IDE 2 won't flash on mac

Post by fpiSTM »

Anyway, I will try next week on our MAC.
But probably IDE 2 issue.
beserge
Posts: 6
Joined: Tue Oct 12, 2021 6:31 pm

Re: IDE 2 won't flash on mac

Post by beserge »

Thank you! Let me know what you find as we're helping a client to set this up.
User avatar
fpiSTM
Posts: 1723
Joined: Wed Dec 11, 2019 7:11 pm
Answers: 91
Location: Le Mans
Contact:

Re: IDE 2 won't flash on mac

Post by fpiSTM »

I've tested on a MAC Book Pro with macOS Big Sur (Version 11.5.2).
Arduino 2.0.2 and core 2.3.0.
I've used Adafruit Feather F405 and use DFU.
No issue.
You have to start your board in Bootloader mode with USB plugged then the board enter in DFU mode.
You have also to get the STM32CubeProgrammer installed as this method uses the cli to upload in DFU mode.

A DFU port is not shown in the Arduino IDE port menu as it is not a COM port.

You can try to use the STM32CubeProgrammer gui and select USB to see if you are able to connect.

You can also try this command:
system_profiler SPUSBDataType

You should see the STM32 BOOTLOADER device.

USB 3.0 Bus:

Host Controller Driver: AppleUSBXHCISPTLP
PCI Device ID: 0x9d2f
PCI Revision ID: 0x0021
PCI Vendor ID: 0x8086

STM32 BOOTLOADER:

Product ID: 0xdf11
Vendor ID: 0x0483 (STMicroelectronics)
Version: 22.00
Serial Number: 20593773354D
Speed: Up to 12 Mb/s
Manufacturer: STMicroelectronics
Location ID: 0x14600000 / 8
Current Available (mA): 500
Current Required (mA): 100
Extra Operating Current (mA): 0

beserge
Posts: 6
Joined: Tue Oct 12, 2021 6:31 pm

Re: IDE 2 won't flash on mac

Post by beserge »

Thanks for the help! It ended up being CubeProg on my computer. On the client's computer they needed to update their IDE2 version.
User avatar
fpiSTM
Posts: 1723
Joined: Wed Dec 11, 2019 7:11 pm
Answers: 91
Location: Le Mans
Contact:

Re: IDE 2 won't flash on mac

Post by fpiSTM »

OK fine.
Post Reply

Return to “IDE's”