Skip to content

Shows time out when programming the board via "uart_download.sh" #204

@iittu

Description

@iittu

Answers checklist.

  • I have read the documentation SiFli-SDK Programming Guide and the issue is not addressed there.
  • I have updated my SiFli-SDK branch (main or release) to the latest version and checked that the issue is present there.
  • I have searched the issue tracker for a similar issue and not found a similar issue.

SiFli-SDK version.

v2.4.3-57-ga5115bc3

Operating System used.

macOS

What is the expected behavior?

Help to confirm issue and resolve it.

What is the actual behavior?

Always get a time out error when downloading the firmware to sf32lb56-lcd_a128r12n1 boards.
100% reproduces on different boards. 100% reproduces with different projects, include the "hello_world".

Steps to reproduce.

  1. build
  2. download
  3. error

Build or installation Logs.

Generating build_sf32lb56-lcd_a128r12n1_hcpu/ftab/ftab.bin ...
Generating build_sf32lb56-lcd_a128r12n1_hcpu/ftab/ftab.hex ...
Generating build_sf32lb56-lcd_a128r12n1_hcpu/download.bat ...
Generated sftool param: build_sf32lb56-lcd_a128r12n1_hcpu/sftool_param.json
Building compilation database build_sf32lb56-lcd_a128r12n1_hcpu/ftab/compile_commands.json
Generating build_sf32lb56-lcd_a128r12n1_hcpu/ftab/ftab.asm ...
Generating build_sf32lb56-lcd_a128r12n1_hcpu/main.asm ...
scons: done building targets.
yht@YHTdeMacBook-Air project % build_sf32lb56-lcd_a128r12n1_hcpu/uart_download.sh 

      Uart Download

please input the serial port (e.g. /dev/ttyUSB0): /dev/cu.usbmodem58930796031
/dev/cu.usbmodem58930796031
[0x00]   Connected success!                                                                                                    [0x01]   Download stub success!                                                                                                
thread 'main' panicked at sftool-lib/src/sf32lb56/mod.rs:439:30:
Failed to download stub: Custom { kind: TimedOut, error: "Timeout" }
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
yht@YHTdeMacBook-Air project % git describe --tags
v2.4.3-57-ga5115bc3

More Information.

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions