OpenOCD
|
Private data for lpc2900
flash driver.
More...
Data Fields | |
uint32_t | chipid |
Holds the value read from CHIPID register. More... | |
uint32_t | clk_sys_fmc |
System clock frequency. More... | |
bool | is_probed |
This flag is set when the device has been successfully probed. More... | |
uint32_t | max_ram_block |
Maximum contiguous block of internal SRAM (bytes). More... | |
uint32_t | risky |
Flag to indicate that dangerous operations are possible. More... | |
char * | target_name |
String holding device name. More... | |
uint32_t lpc2900_flash_bank::chipid |
Holds the value read from CHIPID register.
The driver will not load if the chipid doesn't match the expected value of 0x209CE02B of the LPC2900 family. A probe will only be done if the chipid does not yet contain the expected value.
Definition at line 126 of file lpc2900.c.
Referenced by FLASH_BANK_COMMAND_HANDLER(), and lpc2900_probe().
uint32_t lpc2900_flash_bank::clk_sys_fmc |
System clock frequency.
Holds the clock frequency in Hz, as passed by the configuration file to the flash bank
command.
Definition at line 140 of file lpc2900.c.
Referenced by FLASH_BANK_COMMAND_HANDLER(), lpc2900_erase(), lpc2900_setup(), lpc2900_write(), and lpc2900_write_index_page().
bool lpc2900_flash_bank::is_probed |
This flag is set when the device has been successfully probed.
Definition at line 118 of file lpc2900.c.
Referenced by FLASH_BANK_COMMAND_HANDLER(), lpc2900_is_ready(), and lpc2900_probe().
uint32_t lpc2900_flash_bank::max_ram_block |
Maximum contiguous block of internal SRAM (bytes).
Autodetected by the driver. Not the total amount of SRAM, only the largest contiguous block!
Definition at line 155 of file lpc2900.c.
Referenced by lpc2900_probe(), and lpc2900_write().
uint32_t lpc2900_flash_bank::risky |
Flag to indicate that dangerous operations are possible.
This flag can be set by passing the correct password to the lpc2900 password
command. If set, other dangerous commands, which operate on the index sector, can be executed.
Definition at line 148 of file lpc2900.c.
Referenced by COMMAND_HANDLER().
char* lpc2900_flash_bank::target_name |
String holding device name.
This string is set by the probe function to the type number of the device. It takes the form "LPC29xx".
Definition at line 133 of file lpc2900.c.
Referenced by lpc2900_probe().