W7500x Reference Manual Version1.1.0
38 / 399
0x0001 FD00 ~ 0x0001 FDFF
256
Sector510
0x0001 FE00 ~ 0x0001 FEFF
256
Sector511
0x0001 FF00 ~ 0x0001 FFFF
256
Sector512
Information
block
0x0003 FC00 ~ 0x0003 FCFF
256
Lock info
0x0003 FD00 ~ 0x0003 FDFF
Reserved
Data block
0x0003 FE00 ~ 0x0003 FEFF
256
Data0
0x0003 FF00 ~ 0x0003 FFFF
256
Data1
The W7500 embedded Flash memory can be programmed using in-application programming.
IAP allows the user to re-program the Flash memory while the application is running. The
program and erase operations can be performed over the whole product voltage range.
In
W7500x_Library_Examples(
https://github.com/Wiznet/W7500/tree/master/W7500x_Library
_Examples/Projects/Peripheral_Examples/Flash/IAP_Example
), there is the IAP Example
Project and the below function is supported to use IAP.
void DO_IAP( uint32_t id, uint32_t dst_addr, uint8_t* src_addr, uint32_t size);
This function requests those parameters, id, dst_addr, src_addr and size. 'id' is already defined
in 'main.c'. 'dst_addr' is the flash memory address in the upper table. 'src_addr' is the buffer
pointer user want to program. 'size' is the flash size user chooses. Please refer flash address
and size mentioned in the upper table.
// IAP 'id' paremeter define
#define IAP_ENTRY 0x1FFF1001 // Because Thum code
#define IAP_ERAS 0x010
#define IAP_ERAS_DAT0 (IA 0) // Erase Data 0 block
#define IAP_ERAS_DAT1 (IA 1) // Erase Data 1 block
#define IAP_ERAS_SECT (IA 2) // Erase a Sector in Main Flash Memory
#define IAP_ERAS_BLCK (IA 3) // Erase a Block in Main Flash Memory
#define IAP_ERAS_CHIP (IA 4) // Erase all code
Содержание W7500
Страница 28: ...W7500x Reference Manual Version1 1 0 28 399 Memory map Figure 2 W7500x memory map ...
Страница 324: ...W7500x Reference Manual Version1 1 0 324 399 Figure 46 UART character frame ...
Страница 391: ...W7500x Reference Manual Version1 1 0 391 399 1 SSP1 must not drive the SSPTXD output in slave mode ...