One EEPROM - Many Props
Humanoido
Posts: 5,770
The idea is to use one eeprom with the same program and load it into many props. Can two or more props access and boot the same program from the same eeprom?
Comments
no
long answer:
if all but one of the propellers is held in reset, or has already booted, it might work - but its more trouble than its worth i think.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Please use mikronauts _at_ gmail _dot_ com to contact me off-forum, my PM is almost totally full
Morpheus & Mem+ Advanced dual Propeller SBC with XMM and 256 Color VGA - PCB, kit, A&T available NOW!
www.mikronauts.com - my site 6.250MHz custom Crystals for running Propellers at 100MHz
Las - Large model assembler for the Propeller Largos - a feature full nano operating system for the Propeller
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
PG
Added: for this to work BOEn should be held low or tied to VSS. The pull-down should be about 2K Ohms to overcome the internal RESn 5K pull-up.
Of course doing this would only allow a 13 Propeller serial mesh But you could use the left-over pin for a Cylon lights (or Night Rider) LED bar [noparse]:)[/noparse]
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--Steve
Propalyzer: Propeller PC Logic Analyzer
http://forums.parallax.com/showthread.php?p=788230
Post Edited (jazzed) : 8/4/2009 9:59:41 PM GMT
http://www.apexvalue.com/basic_stamp/Updates/downloads/PEKit_BoxCoverInsert-v1.1.pdf
Just connect all the pin 28s and 29s together.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
PG
Another idea is to have only prop load from the eeprom, then have that prop load the other props. If you want to to be able to have all props running the same 32k program, the eeprom would need to be at least 64k - the first 32k holds the loader, which loads the program in the second 32k into the other props. If necessary, it can then overwrites itself with the program and reboot itself as well. This is similar to what I do on Cluso's TriBladeProp - the only real requirement is that one Prop be able to toggle the reset pins of all the other props.
Ross.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Catalina - a FREE C compiler for the Propeller - see Catalina
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
propmod_us and propmod_1x1 are in stock. Only $30. PCB available for $5
Want to make projects and have Gadget Gangster sell them for you? propmod-us_ps_sd and propmod-1x1 are now available for use in your Gadget Gangster Projects.
Need to upload large images or movies for use in the forum. you can do so at uploader.propmodule.com for free.
Downloading all at once from a serial loader would be possible if all have the same clock base.
I have a bunch of DIP40's and might stack them in a parallel bus architecture later.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--Steve
Propalyzer: Propeller PC Logic Analyzer
http://forums.parallax.com/showthread.php?p=788230
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Toys are microcontroled.
Robots are microcontroled.
I am microcontroled.
If it's not Parallax then don't even bother. :-)
·
I have changed my avatar so that I will no longer be confused with others who use genaric avatars.
Mini-Din/PS2 connectors are for sale! 5 for $1! PM me if you wish to make an order.
Cheap·shipping unless specified!··········150 left!!··
If you can control the reset line of another Prop, you just reset it and then use pins 30 and 31 to download a program to it using a simple serial protocol - exactly the same way it normally loads its initial program from EEPROM the PC. There is Parallax code showing how to do this (in the OBEX I think). This mechanism is good enough if all you need to do is load a program into Hub RAM and execute it.
On the TriBlade I use this basic mechanism to download yet another loader which knows how to load a program into XMM RAM (which you can't do with the basic Parallax loader). Then that program in turn contains yet another loader that knows how to load a small part of itself back from XMM RAM into Hub RAM for execution.
Have a look at the various program loaders in the Catalina TriBladeProp target package - "TriBladePropLoader.spin" is the basic one (which works alone), and "Generic_SIO_Program_Loader_1.spin" and "Generic_SD_Program_Loader_2.spin" are the more complex ones (which work together).
Ross.
Edit - this technique emulates a PC downloading to the Prop, not the Prop loading a program from EEPROM - sorry for any confusion.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Catalina - a FREE C compiler for the Propeller - see Catalina
Post Edited (RossH) : 8/6/2009 4:23:07 AM GMT