By | 2020-03-31
  • uboot、firmware和art在Flash中的位置如下
2MFlash起始地址Flash终止地址TTL起始地址TTL终止地址
uboot0x000000 0x01FFFF0x9F0000000x9F01FFFF
firmware0x0200000x1DFFFF0x9F0200000x9F1DFFFF
art0x1F00000x1FFFFF0x9F1F00000x9F1FFFFF
4MFlash起始地址Flash终止地址TTL起始地址TTL终止地址
uboot0x000000 0x01FFFF0x9F0000000x9F01FFFF
firmware0x0200000x3DFFFF0x9F0200000x9F3DFFFF
art0x3F00000x3FFFFF0x9F3F00000x9F3FFFFF
8MFlash起始地址Flash终止地址TTL起始地址TTL终止地址
uboot0x000000 0x01FFFF0x9F0000000x9F01FFFF
firmware0x0200000x7DFFFF0x9F0200000x9F7DFFFF
art0x7F00000x7FFFFF0x9F7F00000x9F7FFFFF
16MFlash起始地址Flash终止地址TTL起始地址TTL终止地址
uboot0x000000 0x01FFFF0x9F0000000x9F01FFFF
firmware0x0200000xFDFFFF0x9F0200000x9FFDFFFF
art0xFF00000xFFFFFF0x9FFF00000x9FFFFFFF
  • TTL刷机命令
# 2M Flash
# 刷编程器固件
tftp 0x80000000 full.bin
erase 0x9f000000 +0x200000
cp.b 0x80000000 0x9f000000 0x200000

# 刷Uboot分区
tftp 0x80000000 uboot.bin
erase 0x9f000000 +0x20000
cp.b 0x80000000 0x9f000000 0x20000

# 刷Firmware分区
tftp 0x80000000 firmware.bin
erase 0x9f020000 +0x1c0000
cp.b 0x80000000 0x9f020000 0x1c0000

# 刷Art分区
tftp 0x80000000 art.bin
erase 0x9f1f0000 +0x10000
cp.b 0x80000000 0x9f1f0000 0x10000
# 4M Flash
# 刷编程器固件
tftp 0x80000000 full.bin
erase 0x9f000000 +0x400000
cp.b 0x80000000 0x9f000000 0x400000

# 刷Uboot分区
tftp 0x80000000 uboot.bin
erase 0x9f000000 +0x20000
cp.b 0x80000000 0x9f000000 0x20000

# 刷Firmware分区
tftp 0x80000000 firmware.bin
erase 0x9f020000 +0x3c0000
cp.b 0x80000000 0x9f020000 0x3c0000

# 刷Art分区
tftp 0x80000000 art.bin
erase 0x9f3f0000 +0x10000
cp.b 0x80000000 0x9f3f0000 0x10000
# 8M Flash
# 刷编程器固件
tftp 0x80000000 full.bin
erase 0x9f000000 +0x800000
cp.b 0x80000000 0x9f000000 0x800000

# 刷Uboot分区
tftp 0x80000000 uboot.bin
erase 0x9f000000 +0x20000
cp.b 0x80000000 0x9f000000 0x20000

# 刷Firmware分区
tftp 0x80000000 firmware.bin
erase 0x9f020000 +0x7c0000
cp.b 0x80000000 0x9f020000 0x7c0000

# 刷Art分区
tftp 0x80000000 art.bin
erase 0x9f7f0000 +0x10000
cp.b 0x80000000 0x9f7f0000 0x10000
# 16M Flash
# 刷编程器固件
tftp 0x80000000 full.bin
erase 0x9f000000 +0x1000000
cp.b 0x80000000 0x9f000000 0x1000000

# 刷Uboot分区
tftp 0x80000000 uboot.bin
erase 0x9f000000 +0x20000
cp.b 0x80000000 0x9f000000 0x20000

# 刷Firmware分区
tftp 0x80000000 fw.bin
erase 0x9f020000 +0xfc0000
cp.b 0x80000000 0x9f020000 0xfc0000

# 刷Art分区
tftp 0x80000000 art.bin
erase 0x9fff0000 +0x10000
cp.b 0x80000000 0x9fff0000 0x10000
  • 注意事项

Linux 下要求 Art 数据位于 Flash 的最后 64KB 中,但是不能直接将 Art 数据写在最后 64KB 的起始位置;Art 有效数据开始位置在 64KB 的起始位置向下 0x1000 处『前后均填充 FF 补齐64K 』。

发表评论