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.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working 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
File "stm32loader.py", line 419, in read
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.