I got a Hydra today!
4x5n
Posts: 745
Picked it and a couple of quickstart boards (with FM modules) and when I started to read the very large manual was sadly disappointed. The documentation took great pride in bragging about how the EEPROM can hold 128KB and then points out that the propeller tool won't load any code past 32KB and suggested that the reader write their own apps for their pc and propeller to load code into the remaining 96KB of EEPROM. I was hoping that there would be some info on how to actually do that! I've done a bit of research on how to read and write to an I2C eeprom but my intention was for my propeller code to write state information to it a few longs at a time.
My question is this. Has anyone written code to write binary data from a pc to the upper 96KB of the eeprom preferably from linux. :-)
My question is this. Has anyone written code to write binary data from a pc to the upper 96KB of the eeprom preferably from linux. :-)
Comments
Under Windows, you would use the Hydra Asset Manager. I've not tried it under Linux, but I think it is a .NET app, so it may run under Mono.
Ross.
I spent the weekend going through the I2C objects and managed to figure out how to use a couple of the objects in the obex to read and write to eeprom. My desire was to use eeprom to save state between power cycles and resets. The problem with using those objects is getting the up to 96KB of data from a computer to the eeprom in the hydra. What would be cool we be to be able to launch a cog with a pasm program located in eeprom beyond 32KB. :-)
I can't seem to find the download. The link in the thread is broken and google isn't helping. :-( I did find an old version of HAM but it only seems to download from the expansion card and I'm trying to download from the on board eeprom. At first I thought well I could upload to the expansion eeprom and then write a program using I2C objects and copy info over. Excited I downloaded the contents from the expansion card with the tool and then found that I could upload the 128K image. When I try the HAM tool complained that the file was to big.
Sigh!
That did it! Thanks for posting the zip file.
Yes, kuroneko is right - I have had the HAM work on other boards. There is a file that needs editing - can't remember the name of it, but one of the threads about the HAM has the details.
Ross.
Fast forward 5 years now ... I am no longer sadly disappointed.
Today at Meetup Group I will be demonstrating a Propeller-GCC generated C program application that will use much of that EEPROM for code storage; the program will be executed by the Propeller. There is lots of HUB/COG left over for other things.
I'm sure some would ask "what good is that"? Well, the main program is slow (code running in other cogs is not), but it works and all you have to do is use a bigger EEPROM. The 64KB EEPROMs will also benefit from this. We expect to have a similar feature with an SD card at some point.