Propeller Demo board's Demo program in eeprom
prof_braino
Posts: 4,313
Hi!
Where can I find the source or binary image of the demo program that is initially loaded on the Propeller Demo board EEPROM?
I found VGA, TV terminal, keyboard, mouse, and microphone demos on the object exchange; but I didn't find the one that has all these in a single image.
As an alternative, is there a way to save the EEPROM image to a file on the PC?
I just want to reload the EEPROM to its original state between project to ensure all the hardware is still working.
Thanks!
Where can I find the source or binary image of the demo program that is initially loaded on the Propeller Demo board EEPROM?
I found VGA, TV terminal, keyboard, mouse, and microphone demos on the object exchange; but I didn't find the one that has all these in a single image.
As an alternative, is there a way to save the EEPROM image to a file on the PC?
I just want to reload the EEPROM to its original state between project to ensure all the hardware is still working.
Thanks!
Comments
There you find a ZIP with the demo board program.
Reading an EEPROM makes no sense, as you usually are the one who programs the EEPROM, so you already have the content on your PC.
For development it's much better to load the programs into RAM only as even EEPROMs wear out. If you always write your code to EEPROM for each test-run it will wear out very fast. On my EEPROM I have what I call CogOS, which allows to run any EEPROM-file from SD card. So the EEPROM does not need to be changed unless I have a new version of CogOS. But I'm able to run any program after switching on my development board.
Post Edited (MagIO2) : 4/22/2010 6:23:32 AM GMT
Your CogOS approach looks to be very useful, actually unbeatable for a lot of applications.
I've googled it to see if we're lucky enough for it to be in the Obex, without joy.
Have you any plans to post it?
Regards,
T o n y
But there are other OSes which also allow loading EEPROM files and which are available. PropDOS? FemtoBasic?
for the propeller software. Silly me. [noparse]:)[/noparse] Maybe there could be could be some mention of this in the software or downloads pages?
And thanks for the tip on running binaries from the SD card. I will be looking at PropDOS and FemtoBasic, and waiting for your CogOS.
However, I question that "reading the eeprom makes no sense". Having source code is another way to get the image so it can be re-loaded into eeprom, but there are lots of situations where one would want to read the eeprom. Particularly where it is necessary to check where something got changed (or not). Unless you are saying that the prop is incapable of revealing the contents of the eeprom? I know that the AVR family has fuse bits which can be set such that portions of memory cannot be verified; is the prop designed to make the eeprom unreadable?
The propeller tool only supports upload, no download. There are currently 2 easy ways to provide data to the PC:
1. Hyperterminal on PC side + YMODEM on propeller side (there is currently a active thread about YMODEM).
2. SD Card
A minor problem with 1. is, that the Hyperterminal resets the propeller when you start it. So you can't use it with a program that you only write to RAM. During development this is a pain.
A more sophisticated way would be to have your own PC program which get's the binary data via serial interface and converts it to a readable/displayable form on the PC.
And NO ... there is no way to make an EEPROM unreadable!