101 #define FC_CODE_FLASH_ADDRESS_TOP (0x5E000000UL) 102 #define FC_CODE_DATA_ADDRESS_TOP (0x30000000UL) 103 #define FC_PAGE_SIZE (0x1000) 104 #define FC_BLOCK_SIZE (0x8000) 105 #define FC_AREA_SIZE (0x320000) 106 #define FC_DATA_FLASH_ADDRESS_TOP (0x30000000UL) 107 #define FC_DATA_PAGE_SIZE (0x100) 108 #define FC_DATA_BLOCK_SIZE (0x1000) 109 #define FC_DATA_AREA_SIZE (0x8000) 110 #define FC_DATA_FLASH_WRITE_SIZE (sizeof(uint32_t)*4) 111 #define FC_CODE_FLASH_WRITE_SIZE (sizeof(uint32_t)*4)
TXZ_Result
Definition: txz_driver_def.h:43
TXZ_Result fc_blank_check_page_code_flash(fc_code_flash_page_number_t first_page, fc_code_flash_page_number_t lasr_page)
Checks a blank of the code Flash ROM of specified pages.
Definition: fc.c:503
TXZ_Result fc_write_user_information_area(uint32_t *src_address, uint32_t size)
Auto write command of the user information area.
Definition: fc.c:564
TXZ_Result fc_write_cdata_flash(uint32_t *src_address, uint32_t *dst_address, uint32_t size)
TXZ_Result fc_erase_page_code_flash(fc_code_flash_page_number_t first_page, uint8_t num_of_pages)
Auro page erase command of the code flash ROM.
Definition: fc.c:461
TXZ_WorkState
Definition: txz_driver_def.h:48
TXZ_Result fc_verify_check(uint32_t *src_address, uint32_t *dst_address, uint32_t size)
Verifies data of the Flash ROM.
Definition: fc.c:319
TXZ_WorkState fc_get_status(fc_sr0_t status)
Get the status of the flash auto operation.
Definition: fc.c:420
fc_code_flash_page_number_t
Definition: fc.h:57
void fc_read_user_information_area(uint32_t *dst_address, uint32_t size)
Raed of the user information area.
Definition: fc.c:635
All common macro and definition for TXZ peripheral drivers.
BSPExInt status
Definition: main.c:140
TXZ_Result fc_erase_user_information_area(void)
Auro page erase command of the user information area.
Definition: fc.c:599
TXZ_Result fc_write_code_flash(uint32_t *src_address, uint32_t *dst_address, uint32_t size)
Auto write command of the code flash ROM.
Definition: fc.c:428
fc_sr0_t
Enumerated type definition of the FCSR0 register.
Definition: fc.h:43
fc_erase_kind_t
FC Erase Flash Kind structure definenition.
Definition: fc.h:53