FLASH_PAGE_SIZE is only used within OpenOCD.
 
Symbols
loading...
Files
loading...

FLASH_PAGE_SIZE macro

Syntax

#define FLASH_PAGE_SIZE 512

References

LocationText
bluenrg-x.c:25
#define FLASH_PAGE_SIZE(bluenrgx_info) (bluenrgx_info->flash_ptr->flash_page_size)
esirisc_flash.c:84
#define FLASH_PAGE_SIZE 4096
lpc288x.c:27
#define FLASH_PAGE_SIZE 512
lpc2900.c:22
#define FLASH_PAGE_SIZE 512 /* bytes */
bluenrg-x.c:193
address = bank->base+i*FLASH_PAGE_SIZE(bluenrgx_info);
bluenrg-x.c:417
bank->num_sectors = bank->size/FLASH_PAGE_SIZE(bluenrgx_info);
bluenrg-x.c:421
bank->sectors[i].offset = i * FLASH_PAGE_SIZE(bluenrgx_info);
bluenrg-x.c:422
bank->sectors[i].size = FLASH_PAGE_SIZE(bluenrgx_info);
esirisc_flash.c:255
uint32_t address = page * FLASH_PAGE_SIZE;
esirisc_flash.c:455
bank->num_sectors = bank->size / FLASH_PAGE_SIZE;
esirisc_flash.c:456
bank->sectors = alloc_block_array(0, FLASH_PAGE_SIZE, bank->num_sectors);
lpc288x.c:259
uint8_t page_buffer[FLASH_PAGE_SIZE];
lpc288x.c:308
for (page = 0; page < bank->sectors[sector].size / FLASH_PAGE_SIZE; page++) {
lpc288x.c:311
memset(page_buffer, 0xFF, FLASH_PAGE_SIZE);
lpc288x.c:312
} else if (bytes_remaining < FLASH_PAGE_SIZE) {
lpc288x.c:314
memset(page_buffer, 0xFF, FLASH_PAGE_SIZE);
lpc288x.c:317
count = FLASH_PAGE_SIZE;
lpc288x.c:330
if (target_write_buffer(target, offset + dest_offset, FLASH_PAGE_SIZE,
lpc288x.c:336
dest_offset += FLASH_PAGE_SIZE;
lpc2900.c:373
uint8_t page[FLASH_PAGE_SIZE])
lpc2900.c:406
bank->base + pagenum * FLASH_PAGE_SIZE,
lpc2900.c:407
4, FLASH_PAGE_SIZE / 4, page) != ERROR_OK) {
lpc2900.c:654
uint8_t page[FLASH_PAGE_SIZE];
lpc2900.c:657
uint32_t offset = ISS_CUSTOMER_START1 % FLASH_PAGE_SIZE;
lpc2900.c:658
memset(page, 0xff, FLASH_PAGE_SIZE);
lpc2900.c:674
offset = ISS_CUSTOMER_START2 % FLASH_PAGE_SIZE;
lpc2900.c:675
memset(page, 0xff, FLASH_PAGE_SIZE);
lpc2900.c:729
uint8_t page[FLASH_PAGE_SIZE];
lpc2900.c:733
memset(&page, 0xff, FLASH_PAGE_SIZE);
lpc2900.c:750
memset(&page, 0xff, FLASH_PAGE_SIZE);
lpc2900.c:800
uint8_t page[FLASH_PAGE_SIZE];
lpc2900.c:801
memset(&page, 0xff, FLASH_PAGE_SIZE);
lpc2900.c:1048
uint8_t page[FLASH_PAGE_SIZE];
lpc2900.c:1175
if (offset % FLASH_PAGE_SIZE) {
lpc2900.c:1179
memcpy(&page[offset % FLASH_PAGE_SIZE],
lpc2900.c:1181
FLASH_PAGE_SIZE - (offset % FLASH_PAGE_SIZE));
lpc2900.c:1184
count = count + (offset % FLASH_PAGE_SIZE);
lpc2900.c:1185
offset = offset - (offset % FLASH_PAGE_SIZE);
lpc2900.c:1186
} else if (count < FLASH_PAGE_SIZE) {
lpc2900.c:1192
count = FLASH_PAGE_SIZE;
lpc2900.c:1196
count / FLASH_PAGE_SIZE :
lpc2900.c:1197
buffer_size / FLASH_PAGE_SIZE;
lpc2900.c:1207
(offset + (this_npages * FLASH_PAGE_SIZE))) {
lpc2900.c:1212
/ FLASH_PAGE_SIZE;
lpc2900.c:1241
this_npages * FLASH_PAGE_SIZE, this_buffer);
lpc2900.c:1273
count -= this_npages * FLASH_PAGE_SIZE;
lpc2900.c:1274
buffer += this_npages * FLASH_PAGE_SIZE;
lpc2900.c:1275
offset += this_npages * FLASH_PAGE_SIZE;
lpc2900.c:1289
num_bytes = (count >= FLASH_PAGE_SIZE) ?
lpc2900.c:1290
FLASH_PAGE_SIZE - (offset % FLASH_PAGE_SIZE) :
lpc2900.c:1300
memset(page, 0xFF, FLASH_PAGE_SIZE);
lpc2900.c:1303
memcpy(&page[offset % FLASH_PAGE_SIZE],
lpc2900.c:1304
&buffer[offset % FLASH_PAGE_SIZE],
lpc2900.c:1309
bank->base + (offset - (offset % FLASH_PAGE_SIZE)),
lpc2900.c:1310
4, FLASH_PAGE_SIZE / 4, page) != ERROR_OK) {