jsnyder / stm32loader

Python script to load firmware using STM32 bootloader
324 stars 238 forks source link

Question about syntax #21

Open macfr76 opened 8 months ago

macfr76 commented 8 months ago

Hi,

I have instructions to flash a firmware that were done with the old version of stm32loader by Ivan A-R.

./stm32loader.py -p $port -b 115200 -a 0x8000000 -E 126 -w firmware.bin

I would like to use your version as it works with python3.

But I'm uncertain about corresponding syntax.

Options for the old version were : -h This help -q Quiet -V Verbose -e Erase -E nbPages Erase nbPages flash block -w Write -v Verify -r Read -l length Length of read -p port Serial port (default: /dev/tty.usbserial-ftCYPMYJ) -b baud Baud speed (default: 115200) -a addr Target address

What would be the correct commande line with the new version, especially regarding -a and -E of the old syntax ?

Thanks a lot

macfr76 commented 8 months ago

Sorry, question on wrong project