bdi RDI JTAG interface for RDI Debuggers, BDI1000User Manual 28© Copyright 1999-2003 by ABATRON AG V 1.105.2.3 Flash.EraseThis command allows to erase one flash sector, block or chip.Syntax:flash.erase addr=0x02800000 mode=chipaddr 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=blockaddr 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 flashbdi flash.setup type=cfm32 workspace=0x40000000bdi flash.erase addr=0xFC101000 mode=block;Erase 4k program page at 0xFC101000 (0xFC101000..0xFC101FFF)bdi flash.setup type=cfm32 workspace=0x40000000bdi flash.erase addr=0xFC101000;Erase 1k data page at 0xFE000000 (0xFE000000..0xFE0003FF)bdi flash.setup type=cfm16 workspace=0x40000000bdi flash.erase addr=0xFE0000005.2.4 Flash.LoadThis command enables loading to flash memory. If the address of a data block is within the givenflash range, the BDI automatically uses the appropriate programming algorithm. This command mustbe executed before downloading is started.Syntax:flash.load addr=0x02800000 size=0x200000addr The start address of the flash memorysize The size of the flash memory5.2.5 Flash.IdleThis command disables loading to flash memory.Syntax:flash.idle