Skip to content

unable to load firmware to stm32f103C #8

@shirish47

Description

@shirish47

I have setup stm32 board properly with boot0 set to 1 and boot1 set to 0 and connecting RX and TX to arduino uno board removing mcu from it.
I get this error ..

 python ./stm32loader.py -p /dev/cu.usbmodem1421 -w ~/Downloads/generic_boot20_pc13.bin
Can't init. Ensure that BOOT0 is enabled and reset device
Traceback (most recent call last):
  File "./stm32loader.py", line 436, in <module>
    bootversion = cmd.cmdGet()
  File "./stm32loader.py", line 118, in cmdGet
    if self.cmdGeneric(0x00):
  File "./stm32loader.py", line 115, in cmdGeneric
    return self._wait_for_ask(hex(cmd))
  File "./stm32loader.py", line 91, in _wait_for_ask
    raise CmdException("Unknown response. "+info+": "+hex(ask))
__main__.CmdException: Unknown response. 0x0: 0xf8

whats the problem I can't upload the firmware. :(

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