You don't need to 'modify the driver'. The driver contains the routines to do
jobs like this. Just use:
Joined: 05 Jun 2020 Posts: 17
Posted: Thu Sep 17, 2020 12:45 am
I got it, now it's running well.
But one question left: why should I change FLASH_SIZE in the driver to 16777216? It's a 64MBit memory, so the size should be 64*1024*1024/8 (8 Bit = 1 Byte) = 8 388 608. According to the datasheet the max address is 0x7FFFFF = 8 388 607.
For an SST25VF080B the size should be 0x100000 = 1 048 576
Joined: 11 Mar 2010 Posts: 16420
Posted: Thu Sep 17, 2020 1:10 am
8388607 sounds right.
I'm working with much larger memories...
All times are GMT - 6 Hours Goto page Previous1, 2
Page 2 of 2
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum