Altera_Forum
Honored Contributor
16 years agoFlash memory size...
so i tested my flash memory using the HAL function (using word mode...)
ret_code = alt_get_flash_info(fd, ®ions, &number_of_regions); the result was printed as: printf("\nFlash Region Structure:\r\n"); printf("Number of Regions: %d\r\n", number_of_regions); printf("Offset: %d\r\n", regions->offset); printf("Region Size: %d\r\n", regions->region_size); printf("Number of Blocks: %d\r\n", regions->number_of_blocks); printf("Block Size: %d\r\n\r\n", regions->block_size); THE OUTPUT IS: Flash Region Structure: Number of Regions: 2 Offset: 0 Region Size: 65536 Number of Blocks: 8 Block Size: 8192 care some one tell me how this information translates to my flash memory having a 8MB memory??? also what is region size and why my regions is only 2?