本帖最后由 陈工123 于 2023-3-16 17:47 编辑
我用gd32hid升级工具,只要插上usb就可以读取到芯片的flash大小和芯片型号,这个数据是存到单片机什么地方,如何读取出来的?
收←◆01 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
收←◆02 A5 5A FF FF FF FF FF FF FF FF FF FF FF FF FF FF (选项字节)
收←◆01 05 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
收←◆02 00 40 00 08 00 00 00 00 00 00 00 00 00 00 00 00 (获取首地址)
01 02 00 40 00 08 17 14 B0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
收←◆02 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 (擦除)
收←◆01 03 90 39 00 20 45 41 00 08 4D 41 00 08 4F 41 00 08 51 41 00 08 53 41 00 08 55 41 00 08 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 57 41 00 08 59 41 00 08 00 00 00 00 5B 41 00 08 5D 41
.................................................................................................................................
收←◆01 03 20 48 54 54 50 2F 31 2E 31 0D 0A 48 4F 53 54 3A 20 D0 4A 3A CF 09 13 D1 01 4E 02 1C FF 33 C2 01 12 08 14 09 02 43 13 02 01 25 80 32 09 04 1B 01 02 0B 13 05 24 16 10 01 05 24 01 10 09 01
收←◆01 03 04 24 02 02 05 24 06 17 01 07 05 82 03 08 15 0A 09 04 01 2A 02 B7 2E 07 05 03 02 40 07 2A 81 07 01 B1 13 9C EC 14 08 18 03 1B 20 B4 08 13 91 A1 1B 08 6D 04 1A C1 04 13 B1 A0 42 08 39 D4
收←◆01 03 1A 60 07 62 01 13 A1 C1 14 08 45 B8 14 08 F9 C7 4C 08 DD C9 08 13 11 C8 14 08 C9 C0 1B 08 D9 10 1A 79 08 1A 85 10 1A 5D 28 13 D9 CA 14 08 0D CC 14 08 15 BA 14 08 65 B9 4C 08 E5 CB 54 41
收←◆01 03 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
收←◆02 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|