Skip to content
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

Erase at 0x000000... Error 1 #5

Open
JostBrand opened this issue Mar 13, 2024 · 1 comment
Open

Erase at 0x000000... Error 1 #5

JostBrand opened this issue Mar 13, 2024 · 1 comment

Comments

@JostBrand
Copy link

Hi its me again. Thanks for directing me to this step. I’ve successfully connected the SWS Pin to the second pin from the top right corner on my TB-04-Kit. Upon comparing the TB-03F-Kit and TB-04-Kit, it appears that the CH340C is not only identical but also similarly aligned. When I executed the command you provided, the following output was produced:

Error Write Flash data at 0x000c00!
❯ python TlsrComProg.py -p /dev/ttyUSB0 -t5000 we 0 ../uart2swire.bin                                             ================================================
TLSR825x Floader version 27.12.23
------------------------------------------------
Open /dev/ttyUSB0, 230400 baud...
Reset module (RTS low)...
Activate (5000 ms)...
Warning: Wrong RX-TX connection?
Connection...
Load <floader.bin> to 0x40000...
Bin bytes writen: 1960
CPU go Start...
------------------------------------------------
ChipID: 0x5562 (TLSR8253), Floader ver: 1.1
Flash JEDEC ID: c86013, Size: 512 kbytes
------------------------------------------------
Inputfile: ../uart2swire.bin
Write Flash data 0x00000000 to 0x00000dfc...
Write to 0x0c00... Error 1
------------------------------------------------
(1) Warning

Note that I am on Linux. Can this be related to the OS? I saw your comment in the other issue.

@pvvx
Copy link
Owner

pvvx commented Mar 14, 2024

 _   _ ____  _   ____  _
| \ | |  _ \(_) |  _ \/ |
|  \| | |_) | | | |_) | |
| |\  |  __/| | |  _ <| |
|_| \_|_|   |_| |_| \_\_|

Welcome to Armbian 22.11.4 Bullseye with Linux 5.15.89-sunxi

System load:   2%               Up time:       28 min
Memory usage:  8% of 999M       IP:            192.168.2.37
CPU temp:      29°C             Usage of /:    31% of 7.0G
RX today:      0 B

[ General system configuration (beta): armbian-config ]

Last login: Thu Mar 14 03:11:23 2024 from 192.168.2.4

root@nanopi-r1:~/test# python3 TlsrComProg.py -p /dev/ttyUSB0 we 0 TLSR825xScaner.bin
================================================
TLSR825x Floader version 27.12.23
------------------------------------------------
Open /dev/ttyUSB0, 230400 baud...
Reset module (RTS low)...
Activate (600 ms)...
Warning: Wrong RX-TX connection?
Connection...
Load <floader.bin> to 0x40000...
Bin bytes writen: 1960
CPU go Start...
------------------------------------------------
ChipID: 0x5562 (TLSR8253), Floader ver: 1.1
Flash JEDEC ID: c86013, Size: 512 kbytes
------------------------------------------------
Inputfile: TLSR825xScaner.bin
Write Flash data 0x00000000 to 0x0000e024...
------------------------------------------------
(1) Warning

image

I usually connect it manually while the bootloader is starting. Once the bootloader is loaded, no connection is required.
But the connection can be left for the entire programming time...

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

2 participants