Skip to content
This repository was archived by the owner on Sep 16, 2024. It is now read-only.
This repository was archived by the owner on Sep 16, 2024. It is now read-only.

[firmware] LoPy firmware flashing fails  #95

Closed
@quentin-ol

Description

@quentin-ol

I've received a new LoPy yesterday and attempted a firmware upgrade via the PyCom Firmware Upgrade tool.

According to the application, the firmware upgraded happened smoothly but the version that was displayed on the REPL didn't match that of the firmware that was advertised by the tool (1.10.0.b1). For the record, here is what it says:

rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff9028,len:8
load:0x3fff9030,len:932
load:0x4009fa00,len:0
ho 12 tail 0 room 4
load:0x4009fa00,len:13232
entry 0x400a04e8
MicroPython v1.8.6-820-g56004e13 on 2017-11-08; LoPy with ESP32
Type "help()" for more information.

Then, I've attempted using the method described here to build the firmware from source and to flash it. Building was fine but flashing ended up with a bricked LopY (red LED).

I managed to get the firmware working using the method described in issue #81 (i.e. first erase the flash then proceed as explain in here). In case anyone needs it, here is the procedure:

python esptool.py --chip esp32 --port <LoPY PORT> --baud 115200 erase_flash

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions