bdi
Wind
for Tornado™, BDI2000 (MPC8xx/MPC5xx)
User Manual
31
© Copyright 1997-2007 by ABATRON AG Switzerland
V 1.38
Examples:
ADS860 flash memory:
[FLASH]
CHIPTYPE
AM29F
;Flash type (AM29F | AM29BX8 | AM29BX16 | I28BX8 | I28BX16)
CHIPSIZE
0x80000
;The size of one flash chip in bytes (e.g. AM29F010 = 0x20000)
BUSWIDTH
32
;The width of the flash memory bus in bits (8 | 16 | 32)
FILE
E:\ada\demo\mpc860\bootrom.hex ;The file to program
ERASE
0x02800000
;erase sector 0 of flash SIMM (MCM29F040)
ERASE
0x02840000
;erase sector 1 of flash SIMM
ERASE
0x02880000
;erase sector 2 of flash SIMM
ERASE
0x028C0000
;erase sector 3 of flash SIMM
ERASE
0x02900000
;erase sector 4 of flash SIMM
ERASE
0x02940000
;erase sector 5 of flash SIMM
ERASE
0x02980000
;erase sector 6 of flash SIMM
ERASE
0x029C0000
;erase sector 7 of flash SIMM
MPC555 internal flash:
[INIT]
...
WSPR
638
0x00000802
;IMMR: InternalRegs to 0x00400000, Flash enabled
...
[TARGET]
CPUTYPE MPC500 ;CPU type (MPC800 | MPC500)
CPUCLOCK 20000000 ;the CPU clock rate, used for flash timing calculation
...
[FLASH]
CHIPTYPE MPC555 ;Select MPC555 internal CDR MoneT Flash
WORKSPACE 0x007FC000 ;use internal SRAM array B for workspace
FORMAT SREC
FILE D:\abatron\bdi360\ppc\pro\mpc555.sss ;The file to program
ERASE 0x004000FF ;Erase module A all sectors
ERASE 0x004400FC ;Erase module B all sectors
MPC565 internal flash:
[INIT]
...
WSPR
638
0x00000802
;IMMR: InternalRegs to 0x00400000, Flash enabled
...
[FLASH]
CHIPTYPE MPC565 ;Select MPC565 internal CDR3 Flash
WORKSPACE 0x007F8000 ;use CALRAM A for workspace
FORMAT SREC
FILE D:\abatron\bdi360\ppc\pro\mpc565.sss ;The file to program
ERASE 0x004000FF ;Erase module A all sectors
ERASE 0x004800FF ;Erase module B all sectors