Espruino on LeafLabs' Maple Rev5 board?

Posted on
  • I'm new to Espruino, and I would like to run it on the LeafLabs' Maple board Rev5. Would the Olimexino's bootloader, espruino_1v63_olimexino_stm32.bin, work with Maple?
    I have, however, received following errors trying to flash the Maple board:

    C:\Temp>python stm32loader.py -k -p COM10 -evw espruino_1v63_olimexino_stm32.bin
    Reading data from espruino_1v63_olimexino_stm32.bin
    Traceback (most recent call last):
    File "stm32loader.py", line 518, in

    data = read(args[0])
    

    File "stm32loader.py", line 419, in read

    if bytes.startswith('\x7FELF'):
    

    TypeError: startswith first arg must be bytes or a tuple of bytes, not str

    AS far as I understood, the error is with reading the flash image itself, or something wrong with the stm32loader.py? Any help and advice is very much appreciated.

  • It might be a python or python version issue:
    http://forums.leaflabs.com/topic.php?id=­9322

  • Thanks a lot, I've downgraded to Python ver 2.7 (was running 3.3), and it works, the Maple board is running Espruino now!!

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview
About

Espruino on LeafLabs' Maple Rev5 board?

Posted by Avatar for ngmacha @ngmacha

Actions