Implementing a boot off SD with hardware?
rwgast_logicdesign
Posts: 1,464
Id like to make a feature where I can pop in an sd-card with a program/os like CP/M, sphinix, or a prop demo and the prop runs it from the SD-Card. Now I know there is code out there that makes it possible to boot from the sd card but this isnt feasible all the time. If I just wanna boot the thing up and run a defualt eprom program i want that to work too.
Id like to make a boot off sd switch, I dont really know how one would implement this though? My only guess is to wire up a second eeprom with the sd bootloader written on to it use a dpdt switch to change the i2s bus wires from oone eeprom to the other?
Id like to make a boot off sd switch, I dont really know how one would implement this though? My only guess is to wire up a second eeprom with the sd bootloader written on to it use a dpdt switch to change the i2s bus wires from oone eeprom to the other?
Comments
You should also have a place for a jumper connected to one EEPROM's /WP (write protect) line (and ground). Once you've downloaded an SD card loader or other default program into the EEPROM (like the CP/M interpreter or Sphinx or Spinix), you can prevent the EEPROM from being modified.
Other solutions include using the SD card inserted switch to provide the select signal for one EEPROM and an inverter to provide the signal for the other EEPROM. This would run an SD card loader if a card is present or the contents of the other EEPROM if not.