-
-
Notifications
You must be signed in to change notification settings - Fork 55
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
E: TimeoutError: Timeout while linking - Readingc #221
Comments
Well, did you do what the guide says? Is the download mode enabled? |
Yest I did several times. If I power-cycle the chip here's what I can see in minicom: 11111111111111111111111111 Initializi_log_serv.c:ng WIFI ...280] log sta [01-01 18:12:15 TUYA Debug][tuya_device.c:23] rtlbn_tls_common_9600:1.0.5 WIFI initialized init_thread(55), Available heap 0x11328[01-01 18:12:15 TUYA Notice][tuya_uart.c:125] 1 9600 |
Then you didn't do what the guide says. This log output is NOT download mode, it's a normal boot. You need to connect TX2 to GND and then power on the chip. After you disconnect TX2 from GND it shouldn't print normal logs. Then run the flashing program. |
Thanks for the replies I did normal boot to make sure the chip was actually booting up and to test that it could talk to my laptop that's all. When I run ltchiptool I'm doinf these steps: Plugin usb / ttl |
After that you need to disconnect CEN from ground, and then disconnect TX2 from ground. If you don't do this, it will never work. The instruction message includes these steps too. |
Sorry I hit comment before I was finished. Yes, I'm disconnecting them in the correct order :) |
Thanks for trying to help me. I dropped the board and tore the wire I had soldered onto TX2 off pulling the pad with it. :( |
Hi,
I'm unable to read RTL8710B. Here's the cli output:
norrie@norrie-G50-70:~$ ltchiptool -v flash read ambz kettle
D: Found Local data snapshot (v1.4.1) - /home/norrie/.local/lib/python3.10/site-packages/ltchiptool
I: Available COM ports:
I: |-- ttyUSB0 - CP2102 USB to UART Bridge Controller - CP2102 USB to UART Bridge Controller - Silicon Labs (10C4/EA60)
I: | |-- Selecting this port. To override, use -d/--device
I: Connecting to 'Realtek AmebaZ' on /dev/ttyUSB0 @ 1500000
D: Linking: stage 0
D: Linking: stage 1
D: Linking: stage 2
D: Linking: stage 3
I: Connect UART2 of the Realtek chip to the USB-TTL adapter:
I:
I: --------+ +---------------------
I: PC | | RTL8710B
I: --------+ +---------------------
I: RX | ------ | TX2 (Log_TX / PA30)
I: TX | ------ | RX2 (Log_RX / PA29)
I: | |
I: GND | ------ | GND
I: --------+ +---------------------
I:
I: Using a good, stable 3.3V power supply is crucial. Most flashing issues
I: are caused by either voltage drops during intensive flash operations,
I: or bad/loose wires.
I:
I: The UART adapter's 3.3V power regulator is usually not enough. Instead,
I: a regulated bench power supply, or a linear 1117-type regulator is recommended.
I:
I: In order to flash the chip, you need to enable download mode.
I: This is done by pulling CEN to GND briefly, while still keeping the TX2 pin
I: connected to GND.
I:
I: Do this, in order:
I: - connect CEN to GND
I: - connect TX2 to GND
I: - release CEN from GND
I: - release TX2 from GND
E: TimeoutError: Timeout while linking
E: |-- File "/home/norrie/.local/lib/python3.10/site-packages/ltchiptool/soc/ambz/util/ambztool.py", line 188, in link
Can anyone help please?
The text was updated successfully, but these errors were encountered: