Utils for PHY62x2
DTR->TM
RTS->RSTN
TX->RX
RX<-TX
usage: rdreg_phy6202 [-h] [--port PORT] [--baud BAUD] address size
RdRegs-PHY6202 Utility version 30.11.19-2
positional arguments:
address Start address
size Size of region to dump
options:
-h, --help show this help message and exit
--port PORT, -p PORT Serial port device
--baud BAUD, -b BAUD Set Baud
usage: WrFlash_phy6202 [-h] [--port PORT] [--baud BAUD] [--chiperase]
address filename
WrFlash-PHY6202 Utility version 07.12.19
positional arguments:
address Start Flash address
filename File name
options:
-h, --help show this help message and exit
--port PORT, -p PORT Serial port device
--baud BAUD, -b BAUD Set Port Baud (115200, 250000, 500000, 1000000)
--chiperase, -c All Chip Erase
usage: rdwr_phy6222.py [-h] [--port PORT] [--baud BAUD] [--allerase] [--erase]
[--reset]
{wh,we,wf,er,ea,rc,i} ...
PHY6222 Utility version 29.12.23
positional arguments:
{wh,we,wf,er,ea,rc,i}
Run rdwr_phy6222.py {command} -h for additional help
wh Write hex file to Flash
we Write bin file to Flash with sectors erases
wf Write bin file to Flash without sectors erases
er Erase Region (sectors) of Flash
ea Erase All Flash
rc Read chip bus address to binary file
i Chip Information
options:
-h, --help show this help message and exit
--port PORT, -p PORT Serial port device
--baud BAUD, -b BAUD Set Port Baud (115200, 250000, 500000, 1000000)
--allerase, -a Pre-processing: All Chip Erase
--erase, -e Pre-processing: Erase Flash work area
--reset, -r Post-processing: Reset
python3 rdreg_phy6202.py -p COM5 -b 1000000 0x11000000 0x80000
python3 write_phy6202.py -p COM18 -c -b 500000 0 r11000000-00080000.bin