Skip to content

Waveshare S3 touch 3.5 - mpremote cp crashed #484

@quantrpeter

Description

@quantrpeter

Hi
I used these commands to build the image and burn to waveshare s3 touch 3.5 device, i can use mpremote to enter the shell. If i copy a 277kb image to device, it crashed at 14%

git clone https://github.com/lvgl-micropython/lvgl_micropython.git
cd lvgl_micropython
# git checkout 15a414bc03486017235234882ce7415532c6325e
docker run -it -v .:/micropython --name micropython ubuntu
apt-get update
export DEBIAN_FRONTEND=noninteractive
apt-get install -y gcc g++ make automake python3 git gcc-arm-none-eabi libusb-1.0-0 python3-venv cmake vim
ln -s /usr/bin/python3 /usr/bin/python
cd /micropython
python3 make.py esp32 clean \
  --flash-size=16 \
  BOARD=ESP32_GENERIC_S3 \
  DISPLAY=ST7796 \
  INDEV=FT6X36
 
exit docker 
  
esptool.py --chip esp32s3 -b 460800 \
    --before default_reset \
    --after hard_reset write_flash \
    --flash_mode dio \
    --flash_size 16MB \
    --flash_freq 80m \
    --erase-all 0x0  \
    build/lvgl_micropy_ESP32_GENERIC_S3-16.bin
/home/peter/workspace/Waveshare-esp32-c6-st7735-micropython-lvgl/waveshare_s3_touch_3.5/simple_test>mpremote df
filesystem     size     used    avail use% mounted on
<VfsLfs2>  14118912    12288 14106624    0 /
/home/peter/workspace/Waveshare-esp32-c6-st7735-micropython-lvgl/waveshare_s3_touch_3.5/simple_test>ls -l colorful.png 
-rw-rw-r-- 1 peter peter 27781 Oct 20 16:37 colorful.png
/home/peter/workspace/Waveshare-esp32-c6-st7735-micropython-lvgl/waveshare_s3_touch_3.5/simple_test>mpremote cp colorful.png :
cp colorful.png :
 ... copying  14% [##------------------]mpremote: cp: Input/output error: Input/output error.

thanks
Peter

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