EEPROM Questions
KPR
Posts: 189
I'm new so I always have questions.. I was thinking of building a propboard with multiple versions of firmware in eeprom.. I am assuming that I can get a 1 M bit eeprom (128k) and wire it with a dip switch to select the banks of memory in the eeprom in I would guess 4 32k blocks or 2 64k blocks..
Is my thinking correct? and if so would I get spi based eeproms ( 25LC1024 ) or just regular ones ( 24LC1025 )..
Thanks..
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New ICON coming, gotta wait for the INK to heal, now we have colour!
Is my thinking correct? and if so would I get spi based eeproms ( 25LC1024 ) or just regular ones ( 24LC1025 )..
Thanks..
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New ICON coming, gotta wait for the INK to heal, now we have colour!
Comments
I would suggest using an Atmel 24C1024B or a Microchip 24LC1025 I2C EEPROM
I wrote a Propeller OS some time ago that would manage multiple large EEPROMs. It stored a directory entry in the top 16 bytes of each 32K block it found and could load programs from a block by name. You could also have named 32K data areas although that feature wasn't finished.
Look at the threads under "Propeller OS" here: http://forums.parallax.com/showthread.php?p=609066
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--Steve
Propalyzer: Propeller PC Logic Analyzer
http://forums.parallax.com/showthread.php?p=788230
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Airspace V - international hangar flying!
www.airspace-v.com/ggadgets for tools & toys
virtuPIC.. thats exactly what I wanna do.. I just figured it would be better/easier to get a 128k and load 4 32k images into it.. I guess I should have read the docs.. oh well I've been stupid for years.. ask my wife!
What are standard eeproms to use.. 32k or 64k??
Abysmal
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New ICON coming, gotta wait for the INK to heal, now we have colour!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--Steve
Propalyzer: Propeller PC Logic Analyzer
http://forums.parallax.com/showthread.php?p=788230
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Need to make your prop design easier or secure? Get a PropMod has crystal, eeprom, and programing header in a 40 pin dip 0.7" pitch module with uSD reader, and RTC options.
Essentially the PropDos/PropCMD programs list a set of files on an SD card and you can select which binary to load. Since they use the same underlying fsrwFemto and sdspiFemto drivers which also access the I2C eeprom you could originally load a variation on this and load the appropriate code from there (read switches on prop pins or else by an I2C expander).
So you could use your SPI chip after the original boot process, but you may as well just use an AT24C1024 I2C eeprom and a bootloader to select the correct code to load from there. I use this method from my microSD card in the TriBladeProp to then load ZiCog (or whatever binary I want).
Hope this helps
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Links to other interesting threads:
· Home of the MultiBladeProps: TriBladeProp, SixBladeProp, website (Multiple propeller pcbs)
· Single Board Computer:·3 Propeller ICs·and a·TriBladeProp board (ZiCog Z80 Emulator)
· Prop Tools under Development or Completed (Index)
· Emulators: Micros eg Altair, and Terminals eg VT100 (Index)
· Search the Propeller forums (via Google)
My cruising website is: ·www.bluemagic.biz·· MultiBladeProp is: www.bluemagic.biz/cluso.htm
I'll be going back to the order desk today..
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New ICON coming, gotta wait for the INK to heal, now we have colour!
Comments??
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New ICON coming, gotta wait for the INK to heal, now we have colour!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Need to make your prop design easier or secure? Get a PropMod has crystal, eeprom, and programing header in a 40 pin dip 0.7" pitch module with uSD reader, and RTC options.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Need to make your prop design easier or secure? Get a PropMod has crystal, eeprom, and programing header in a 40 pin dip 0.7" pitch module with uSD reader, and RTC options.
between the switch and the A0 of each eeprom.. the pullups on the SCL and SDA lines aren't good enough??
I figured that the would be since in theory only one eeprom will be using them at a time to complete the circuit..
Abysmal
I guess I should have paid more attention is school..
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New ICON coming, gotta wait for the INK to heal, now we have colour!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--Steve
Propalyzer: Propeller PC Logic Analyzer
http://forums.parallax.com/showthread.php?p=788230
I figured 128kx8 / 4 = 32kx8 so
Pin Pin Start End
A0 A1 Block Block
off off 0 32k
on off 32k 64k
off on 64k 96k
on on 96k 128k
I have a lot more to read.. man I'm too old for this my brain hurts..
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New ICON coming, gotta wait for the INK to heal, now we have colour!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Need to make your prop design easier or secure? Get a PropMod has crystal, eeprom, and programing header in a 40 pin dip 0.7" pitch module with uSD reader, and RTC options.
You can only address up to 4 devices using A0 & A1. A2 for each chip must be tied to VCC.
From the spec ww1.microchip.com/downloads/en/DeviceDoc/21941F.pdf
24FC1025 interface is rated at 1MHz where 24LC1025 is rated at 400KHz.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--Steve
Propalyzer: Propeller PC Logic Analyzer
http://forums.parallax.com/showthread.php?p=788230
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Need to make your prop design easier or secure? Get a PropMod has crystal, eeprom, and programing header in a 40 pin dip 0.7" pitch module with uSD reader, and RTC options.
I was reading that on my commute home along with the docs for the 1 meg Atmel chip..
Not being all that electronically savvy, anyone got an example diagram?
Abysmal
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New ICON coming, gotta wait for the INK to heal, now we have colour!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--Steve
Propalyzer: Propeller PC Logic Analyzer
http://forums.parallax.com/showthread.php?p=788230
Post Edited (jazzed) : 4/23/2009 3:52:31 AM GMT
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Need to make your prop design easier or secure? Get a PropMod has crystal, eeprom, and programing header in a 40 pin dip 0.7" pitch module with uSD reader, and RTC options.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--Steve
Propalyzer: Propeller PC Logic Analyzer
http://forums.parallax.com/showthread.php?p=788230
Updated drawing.. you gonna share.. and how come no pullup resistors?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New ICON coming, gotta wait for the INK to heal, now we have colour!
You can replace 3.3V on the address lines with 3.3V + resistor if you like but that is not really necessary.
Add pull-up to SDA at least ... sorry 'bout that.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--Steve
Propalyzer: Propeller PC Logic Analyzer
http://forums.parallax.com/showthread.php?p=788230
Simple digital switch rull of thumb. pull up if your switch goes to ground. pull down if your switch goes to the power rail.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Need to make your prop design easier or secure? Get a PropMod has crystal, eeprom, and programing header in a 40 pin dip 0.7" pitch module with uSD reader, and RTC options.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New ICON coming, gotta wait for the INK to heal, now we have colour!