Nucleo F767ZI -cannot flash using serial

Hi ,

I was trying to flash a code using serial bootloader and it gives the following error ,
Unknown/unsupported device (Device ID: 0x451)

I have no issues with flashing on F429zi ,not sure if the PID for serial bootloader on platformio is not matching since the PID for f767zi is 0x451.Also i can flash using st flash loader demonstrator .
.ini is ,

[env:nucleo_f767zi]
platform = ststm32
board = nucleo_f767zi
framework = arduino
upload_protocol= serial
upload_port = COM5

Does Platformio explicitly check for the PID before it flash using serial ? if so is there a way to change it ?

Thanks ,
Samson.

The check is done by stm32flash and is 2 minor versions behind (0.4 vs 0.6).

Can you try the following: Download Download stm32flash, copy the stm32flash.exe from there to C:\Users\<user>\.platformio\packages\tool-stm32duino\stm32flash. Does it work now?

Hi Max ,

Yes it works !

Thank you .