不是太好配置 尝试失败了,有无大佬 看看 这参数是咋用的。
文档地址=
http://www.phyplusinc.com/support/8.html
获取PhyPlusKit使用指南: [下载] PhyPlusKit User's Guide v2.3 [CN]
一、烧写PHY6252时,如何让单片机进入烧写模式:加上--dwc UXTDWU就可以了 .\PhyPlusKit.exe -P COM4 -u 1500000 --dwc UXTDWU二、如何增加MAC地址的烧写:
.\PhyPlusKit.exe -P COM11 -e 0 -w ..\ld\mesh_light_phy6222.hexf --mac
4000+1CD6BDBD3DBE
--mac 4000+1CD6BDBD3DBE 的意思是4000是烧写的地址,1CD6BDBD3DBE是MAC值
三、 Preserve模式的地址段保留和多地址段的擦除: .\PhyPlusKit.exe -P COM11 -e 2 --Addr 4000-5000+4C000-4d000 -w ..\ld\mesh_light_phy6222.hexf-e 2的意思是格式化采用的模式 0是512K 1是HEXF 2是Preserve 。。。依次类推
构造的 cmd 命令
.\PhyPlusKit.exe -P COM4 -e 2 -w gpio_demo.hex PhyPlusKit.exe -P COM4 -u 1500000 --dwc UXTDWU -e 0 --Addr 0x11005000 -w gpio_demo_phy6222.hexf PhyPlusKit.exe -P COM11 -e 2 --Addr 4000-5000+4C000-4d000 -w ..\ld\mesh_light_phy6222.hexf
存在一些 问题 进度二就停止了。有无大佬 一起来研究下
UART TX ASCII: UXTDWU UART RX: cmd>>: Current port: COM4 Current baudrate: 115200 Current stopBits: 1 Current parity: No Serial opened!! ******************************* Send erase successfully! Receive #OK! Erase successfully! Receive #OK! === PHY6222 === === PHY6222 === Send update command successfully! Baud rate modified successfully Current baudRate: 1500000 === PHY6222 === Receive #OK! Reset flash successfully! Receive #OK! Send spif config command successfully! Receive #OK! Spif config successfully! Send sfmod command successfully! Receive #OK! Sfmod select successfully! Verify efuse success! Send cpnum successfully! Receive #OK! Receive >>: successful!
============Write hexf File [01/03]============ Send cpbin successfully! UART RX ASCII: by hex mode: Receive image request! Send image successful! Waiting to receive checksum... Send checksum successfully! UART RX ASCII: checksum is: 0x0001098f#OK>>: Receive #OK! Receive >>: successful!
============Write hexf File [02/03]============ Send cpbin successfully! UART RX ASCII: by hex mode: Receive image request! Send image successful! Waiting to receive checksum... Receive checksum timeout!
Write images failed!
|