forked from btsimonh/hid_download_py
-
Notifications
You must be signed in to change notification settings - Fork 17
Reading an N device
btsimonh edited this page Oct 28, 2022
·
3 revisions
First, I took a boot log fro TX2/RX2.
Then, reading the firmware:
Hardware setup:
FT232 adaptor connected to Tx1/Rx1.
CEN connected to ground, connection removed just after starting:
Using LATEST repo:
python uartprogram UniversalIRRemote.bin -r -s 0x0 -l 0x200000 -d com7
Results:
C:\DataNoBackup\tuya\Universal IR Remote Control>python ../hid_download_py/uartprogram UniversalIRRemote.bin -r -s 0x0 -l 0x200000 -d com7
UartDownloader....
Read Getting Bus...
Gotten Bus...
Set baudrate successful
len: 200000
startAddr: 0
Reading 0
ReadSector Success 0 len 1000
4096
....
Reading 1fe000
ReadSector Success 1fe000 len 1000
2093056
Reading 1ff000
ReadSector Success 1ff000 len 1000
2097152
CRC should be d45da295
CRC is e692770a
CRC check failed
Apparently, for N, CRC error is normal. In my case, I did not need to reduce baud rate.
The bin file was written. (if not, make sure you have updated from the latest!!!)