Flash image with firmaware version 2.12a flash.bin
Upgradable portion of the flash created by downloading ( via WEB of TFTP) of 7004VWBR_FWv121a.zip
Flash Memory map:
| Area |
Start Address |
Size |
Link |
| Boot |
0x00000000 |
128K |
BOOT |
| Configuration |
0x00020000 |
64K |
CONF |
| Web Image |
0x00030000 |
192K |
FileSystem |
| Code Image |
0x00060000 |
576K |
CODE |
| Params Area |
0x000F0000 |
64K |
PARAM |
Encoding : little
Booting sequence:
- 0x0010 - disable interrupts
- 0x001c - setup Flash and SDRAM comtrollers
- 0x00ec - copy code from flash (0,0x10000) to SDRAM (0x2000000,0x20010000)
- 0x0108 - switch SDRAM to start from 0x0 address and flash from 0x20000000
- 0x0114 - jump to 0x02ac
- 0x02ac - copy code form flash (0x20000800,0x20010000) to SDRAM (0x00007000,0x00016800)
- 0x02c8 - jump to 0x021c
- 0x0220 - jump to the 0x7000 (original code located at flash address 0x0800)
we'll use a original flash addresses for simplicity (shift - 0x6800)
- 0x0934 - clean mem(0x0000cd58,0x0000f9c8)
- 0x0944 - call 0x09a0
- 0x09a4 - call 0x1044
- 0x1044 - jump 0x2058
- 0x206c - r1<- 0x12c00 r0<- 0 jump 2008
- 0x2040 - setup UART 8 bit
- 0x09ac - jump 0x0bac
-