Skip to content

Question about syntax #21

@macfr76

Description

@macfr76

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions