Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

Over 65535 bytes in external EEPROM.

 
Post new topic   Reply to topic    www.mcselec.com Forum Index -> BASCOM-AVR
View previous topic :: View next topic  
Author Message
shuffleshu

Bascom Member



Joined: 28 Mar 2013
Posts: 5

blank.gif
PostPosted: Wed Dec 01, 2021 12:28 pm    Post subject: Over 65535 bytes in external EEPROM. Reply with quote

In my projects, I often use an external FRAM FM25W256 with the fm25c256.lib library (256kbit = 32kbytes). The EEPROM size is indicated on the line $eepromsize = &H8000 (32768 bytes). This memory is not enough for new projects. I want to use FM25V20A (2mbit = 256kbytes), but BASCOM cannot address more than &H10000 (65535 bytes) for EEPROMSIZE command.
How can you get around this? Has anyone used SPI FRAM over 256mbit together with the library?

(BASCOM-AVR version : 2.0.8.4 )
Back to top
View user's profile
albertsm

Administrator



Joined: 09 Apr 2004
Posts: 5922
Location: Holland

blank.gif
PostPosted: Wed Dec 01, 2021 2:25 pm    Post subject: Reply with quote

you best write some custom subs/function. the normal address is 16 bit and extending it to 24 bit means a lot of work. especial with testing.
using a sub to write and function to read is way simpler.

_________________
Mark
Back to top
View user's profile Visit poster's website
shuffleshu

Bascom Member



Joined: 28 Mar 2013
Posts: 5

blank.gif
PostPosted: Wed Dec 01, 2021 3:00 pm    Post subject: Reply with quote

Thanks for the answer.
Can we hope that this will happen someday? )
Applications require more and more memory. FRAM is ideal for many applications.
Back to top
View user's profile
albertsm

Administrator



Joined: 09 Apr 2004
Posts: 5922
Location: Holland

blank.gif
PostPosted: Wed Dec 01, 2021 3:06 pm    Post subject: Reply with quote

you are the first that asks. so it will not happen quick.
but you can always contract us to have it made. this is however not a free service.

_________________
Mark
Back to top
View user's profile Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    www.mcselec.com Forum Index -> BASCOM-AVR All times are GMT + 1 Hour
Page 1 of 1

 
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
You cannot attach files in this forum
You cannot download files in this forum