8000 Timeout instead of "Entered eflash_loader" · Issue #17 · spacemeowx2/blflash · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Timeout instead of "Entered eflash_loader" #17

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
vasekch opened this issue Jan 2, 2024 · 1 comment
Open

Timeout instead of "Entered eflash_loader" #17

vasekch opened this issue Jan 2, 2024 · 1 comment

Comments

@vasekch
Copy link
vasekch commented Jan 2, 2024

I have a Sonoff clone called Switch-WF on which I'd like to have custom code, after disassembly I've found BL602 inside.

After some fiddling I've found GPIO 8 and how to pull it high for flashing.

In general I follow https://lupyuen.github.io/articles/flash#flash-the-firmware

This is where I'm stuck, I'm getting timeout instead of entering eflash_loader.

Thanks for any ideas.

$ blflash flash sdk_app_helloworld.bin --port /dev/ttyACM0 
[INFO  blflash::flasher] Start connection...
[TRACE blflash::flasher] 5ms send count 55
[TRACE blflash::flasher] handshake sent elapsed 189.791µs
[INFO  blflash::flasher] Connection Succeed
[INFO  blflash] Bootrom version: 1
[TRACE blflash] Boot info: BootInfo { len: 14, bootrom_version: 1, otp_info: [0, 0, 0, 0, 3, 0, 0, 0, 85, a9, a8, 4c, b9, 7c, 19, 0] }
[INFO  blflash::flasher] Sending eflash_loader...
[INFO  blflash::flasher] Finished 2.546792544s 11.22KiB/s
[TRACE blflash::flasher] 5ms send count 500
[TRACE blflash::flasher] handshake sent elapsed 4.711691ms
Error: Timeout while running command

I've also tried lower speed using -b 115200, but no change.

Chip says: BL602L20

obrazek
obrazek

@vasekch
Copy link
Author
vasekch commented Jan 2, 2024

May this be related to #9?

How can I tell which flash is used in my chip?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant
0