STM32F103_MSD_BOOTLOADER icon indicating copy to clipboard operation
STM32F103_MSD_BOOTLOADER copied to clipboard

Firmware update via Macos does not work

Open R8CEH opened this issue 2 years ago • 5 comments

I'm using a mac and I can't flash the device through it. I have to send a file to a Windows laptop and update the firmware through it. It is very uncomfortable. macOS creates folder ".fseventsd" and file "fseventsd-uuid". Is it possible to prevent the creation of this directory and file at the bootloader level? Or prevent the bootloader from watching files or folders that start with a dot.

R8CEH avatar Jan 20 '23 07:01 R8CEH

https://www.utasker.com/kinetis/USB-MSD-MAC.html

R8CEH avatar Jan 20 '23 12:01 R8CEH

The FAT32 write procedure is handled at fat32_write(). I only tested on macOS Sierra. I will update my macOS to big sur to check it out.

sfyip avatar Jan 20 '23 14:01 sfyip

Do not find any problem if using macOS Big Sur.

Which macOS version are you using? I can't test on MacOS Ventura because my Mac book Air is not compatible.

I just flash STM32_MSD_BTLDR.hex to STM32. Drag and drop the example-hex/STM32F103_FlashPC13LED_FAST.hex to BOOTLOADER drive.

sfyip avatar Jan 21 '23 10:01 sfyip

Can you repeat this with encrypted firmware?

R8CEH avatar Jan 21 '23 10:01 R8CEH

Tested STM32F103_FlashPC13LED_FAST_CRYPT.hex. It also works on my Mac book Air (macOS Big Sur and Monterey).

sfyip avatar Jan 21 '23 10:01 sfyip