TlsrComProg
TlsrComProg copied to clipboard
did you ever test this tool on tlsr825x?
i use a ft232rl usb-to-uart to simulate swire, but cannot receive anything. i thing the tx pin pull the rx pin to high when tx pin is idle, and the rx pin has no chance to change it's level. the ic i used is not 8266, but 825x, maybe 8253. it's hard to buy a offical programmer bdt, so i've been searching the method to burn the 825x. it's lucky to find here. but your method seems useless for me. TlsrComSwireWriter seems it has some error which was corrected on TlsrComProg, but TlsrComSwireWriter was not changed however. i'm just confused, how to activate? send [0x0602]=5? the register 0x0602, where did you find it? i have many questions about how to burn the ic 825x or 826x. wish you write a more detailed document of swire. thanks a lot!
Register MCUCTRL 0x800602 Telink BDT.exe: MCUCTRL = 0x88 – Reset CPU. MCU starts to execute the firmware in SRAM with PC pointer starting from 0. MCUCTRL = 0x06 – Stall CPU MCUCTRL = 0x05 – Stop CPU
cstartup_8266.S: tloadr r3, COPY_CODE_DAT + 8 @ 0x800602 tmov r2, #136 @ 0x88 tstorerb r2, [r3, #0] @ [0x800602] = 0x88 -> CPU reboot