pvvx / TLSRPGM

TLSR SWire programmer
Other
45 stars 4 forks source link

Erase at 0x000000... Error 1 #5

Open JostBrand opened 5 months ago

JostBrand commented 5 months ago

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 commented 5 months ago
 _   _ ____  _   ____  _
| \ | |  _ \(_) |  _ \/ |
|  \| | |_) | | | |_) | |
| |\  |  __/| | |  _ <| |
|_| \_|_|   |_| |_| \_\_|

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...