CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

Replacing SST25VF080B by SST26VF064B
Goto page Previous  1, 2
 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
Ttelmah



Joined: 11 Mar 2010
Posts: 19215

View user's profile Send private message

PostPosted: Wed Sep 16, 2020 12:35 am     Reply with quote

You don't need to 'modify the driver'. The driver contains the routines to do
jobs like this. Just use:
Code:

_ext_flash_send(0x98,TRUE);
Spaeth



Joined: 05 Jun 2020
Posts: 27

View user's profile Send private message

PostPosted: Thu Sep 17, 2020 12:45 am     Reply with quote

Hello,

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
Ttelmah



Joined: 11 Mar 2010
Posts: 19215

View user's profile Send private message

PostPosted: Thu Sep 17, 2020 1:10 am     Reply with quote

8388607 sounds right.
I'm working with much larger memories... Smile
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group