EasyManua.ls Logo

Abatron BDI1000 - Flash.erase; Flash.load; Flash.idle

Abatron BDI1000
38 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
bdiRDI
JTAG interface for RDI Debuggers, BDI1000 User Manual 28
© Copyright 1999-2003 by ABATRON AG V 1.10
5.2.3 Flash.Erase
This command allows to erase one flash sector, block or chip.
Syntax:
flash.erase addr=0x02800000 mode=chip
addr The start address of the flash sector to erase.
mode This parameter defines the erase mode. The following modes are supported:
CHIP, BLOCK and SECTOR (default is sector erase)
MAC7100 internal flash (CFM32, CFM16):
This command allows to erase one flash page (4k/1k) or the complete flash (mass erase).
Syntax:
flash.erase addr=0xFC100000 mode=block
addr The start address of the flash page/module to erase.
mode This parameter defines the erase mode. The following modes are supported:
BLOCK and SECTOR (default is sector (4k/1k page) erase)
;mass erase the whole MAC7100 flash
bdi flash.setup type=cfm32 workspace=0x40000000
bdi flash.erase addr=0xFC101000 mode=block
;Erase 4k program page at 0xFC101000 (0xFC101000..0xFC101FFF)
bdi flash.setup type=cfm32 workspace=0x40000000
bdi flash.erase addr=0xFC101000
;Erase 1k data page at 0xFE000000 (0xFE000000..0xFE0003FF)
bdi flash.setup type=cfm16 workspace=0x40000000
bdi flash.erase addr=0xFE000000
5.2.4 Flash.Load
This command enables loading to flash memory. If the address of a data block is within the given
flash range, the BDI automatically uses the appropriate programming algorithm. This command must
be executed before downloading is started.
Syntax:
flash.load addr=0x02800000 size=0x200000
addr The start address of the flash memory
size The size of the flash memory
5.2.5 Flash.Idle
This command disables loading to flash memory.
Syntax:
flash.idle

Related product manuals