Shop OBEX P1 Docs P2 Docs Learn Events
Boot eeprom Select — Parallax Forums

Boot eeprom Select

crgwbrcrgwbr Posts: 614
edited 2008-01-21 23:16 in Propeller 1
If my thinking is correct, the Hydra has an onboard eeprom that the Prop can boot from. However, if you put in a program card, it will boot form that instead. How does this work? I'd like to incorporate a similar design into a board of mine, but I can't seem to figure out how to accomplish that.

Regards,
Craig

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
My system: 1.6 GHz AMD Turion64 X2, 4GB DDR2, 256MB ATI Radeon Graphics card, 15.4" Widescreen HD Screen

I have a duel boot of Ubuntu Linux and Windows Vista. Vista, because it came with the PC, Ubuntu because I like software that works.

"Failure is not an option -- it comes bundled with Windows."

Use The Best...
Linux for Servers
Mac for Graphics
Palm for Mobility
Windows for Solitaire

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2008-01-20 19:32
    The Hydra manual describes this. Basically, the expansion card circuitry uses the address select pins on the EEPROMs which set what addresses the EEPROM will respond to. The on-board EEPROM is set so that one of the address pins is pulled down to ground when there's no expansion card. When an expansion card is inserted, there's a jumper to Vdd that pulls up the address pin. The EEPROM on the expansion card has all its address pins connected to ground. When there's no expansion card, the on-board EEPROM appears in the 1st 128K of the EEPROM address space. When an expansion card is inserted, the on-board EEPROM appears in the 2nd 128K of the EEPROM address space and the expansion card EEPROM appears in the 1st 128K of the EEPROM address space.
  • deSilvadeSilva Posts: 2,967
    edited 2008-01-20 19:57
    128K is not a typo .. The Hydra comes with a 24C1025 smile.gif The enclosed schematic shows what Mike explained. Note BTW that most EEPROM's A0..A2 are internally pulled down, so the resistor (or the common Vss bind) is not strictly necessary.
    554 x 365 - 17K
  • crgwbrcrgwbr Posts: 614
    edited 2008-01-21 19:57
    I'm guessing that this eeprom is the 128k eeprom that the Hydra uses. I can't find any information on it. Does it have the same pinout as the 32k eeprom that is standardly used by the prop?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    My system: 1.6 GHz AMD Turion64 X2, 4GB DDR2, 256MB ATI Radeon Graphics card, 15.4" Widescreen HD Screen

    I have a duel boot of Ubuntu Linux and Windows Vista. Vista, because it came with the PC, Ubuntu because I like software that works.

    "Failure is not an option -- it comes bundled with Windows."

    Use The Best...
    Linux for Servers
    Mac for Graphics
    Palm for Mobility
    Windows for Solitaire
  • Mike GreenMike Green Posts: 23,101
    edited 2008-01-21 21:23
    Find the datasheet for it. That's the only way to make sure of the details.
  • crgwbrcrgwbr Posts: 614
    edited 2008-01-21 21:26
    I tried finding the data sheet for it but i
    crgwbr said...
    can't find any information on it.
    Nevermind though. I found a 512k eeprom at mouser, i'm going to use instead.

    Thanks anyway,
    Craig

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    My system: 1.6 GHz AMD Turion64 X2, 4GB DDR2, 256MB ATI Radeon Graphics card, 15.4" Widescreen HD Screen

    I have a duel boot of Ubuntu Linux and Windows Vista. Vista, because it came with the PC, Ubuntu because I like software that works.

    "Failure is not an option -- it comes bundled with Windows."

    Use The Best...
    Linux for Servers
    Mac for Graphics
    Palm for Mobility
    Windows for Solitaire

    Post Edited (crgwbr) : 1/21/2008 9:31:39 PM GMT
  • deSilvadeSilva Posts: 2,967
    edited 2008-01-21 23:16
    That is fine.. all have the same pinout, which is easy with I2C chips...
Sign In or Register to comment.