| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
AN0366 bảng dữ liệu(PDF) 11 Page - Zilog, Inc. |
|
|
|||||||||||||||||||||||||||||
AN0366 bảng dữ liệu(HTML) 11 Page - Zilog, Inc. |
|
11 / 12 page ![]() AN036602-1013 11 Porting RZK/ZTP Applications to the eZ80L925148MODG Module Application Note IntFlash_IP_Write, IntFlash_IP_Erase, IntFlash_IP_Close }; #endif Optional ZFS Configuration RZK/ZTP applications that use the Zilog File System (ZFS) can optionally modify the ZFS configuration file to allocate more, or less, Flash memory to ZFS. The default settings of the ZFS_Conf_eZ80L925148MODG.c file are listed below. #define ZFS_TOTAL_NUM_BLOCKS ( 32 ) #define ZFS_TOTAL_NUM_SECTORS( 0x200000/ZFS_SEC_SIZE ) #define ZFS_TOTAL_NUM_VOLUMES( 1 ) #define ZFS_MAX_FILE_OPEN_COUNT( 20 ) #define ZFS_MAX_DIRS_SUPPORTED( 50 ) #define ERASE_FLASH( 0 ) ZFS_CONFIG_t g_zfs_cfg[ ZFS_TOTAL_NUM_VOLUMES ] = { "EXTF", // vol name ZFS_EXT_FLASH_DEV_TYPE, // vol type (UINT8*)0x300000, // vol_start_addr 0x200000, // vol_size ZFS_TOTAL_NUM_BLOCKS, // vol_blocks ZFS_TOTAL_NUM_SECTORS, // number of sectors FS_AM29LV160_Init, FS_AM29LV160_Read, FS_AM29LV160_Write, FS_AM29LV160_Erase, FS_AM29LV160_Close }; These settings will configure the ZFS to use 2MB of CS0 Flash from addresses 0x300000 to 0x4FFFFF for the ZFS. In total, 32 Flash erase blocks (each 64KB in size) are allocated to the ZFS giving a volume size of 0x200000 bytes. Source code to the Flash driver used to read and write data to this volume is contained in the AM29LV160_Driver.c file. The AM29LV160_Driver.c file (and other ZFS Flash driver files) is modified in the ZTP 2.4.2 release to explicitly disable interrupts while modifying the contents of Flash. This modification is necessary to ensure that an interrupt does not cause a higher-priority thread to start running from external Flash or attempt to read data from external Flash while it is being programmed or erased. Note: |
|
|
Link URL |
| Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không? [ DONATE ] |
Alldatasheet là | Quảng cáo | Liên lạc với chúng tôi | Chính sách bảo mật | Liên kết đến bảng dữ liệu | Trao đổi link | Tìm kiếm theo nhà sản xuất All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |