Test code for propeller chip ?
agodwin
Posts: 72
Does anyone have test code written that will prove the internal functions of the propeller ?
Preferably without anything but the default bootloader I/O so it's not dependent on other hardware.
-adrian
Preferably without anything but the default bootloader I/O so it's not dependent on other hardware.
-adrian
Comments
if you just want to test the bootloader you can download any program you like.
If you can download the program the basic functions are OK.
If you want to test ALL the hardware INSIDE the prop in most cases you need
some small additional hardware (like 3 resistors for TV-output 8 resistors for VGA-output
I2C-EEPROM etc.
As a first test you can use the Parallax Serial Demo
you will find the sourcecode in a subdirectotory of the propellertool "Propeller Library Demos"
If you tell us what kind of board you have more demos can be recommended
or you just look through the different demos in the subdir mentioned above
best regards
Stefan
I want to test everything except the I/O - particularly the hub and cog ram, the cogs and the rom, but it would be nice to also test the counters and lock bits. Ideally, the result of the test should appear as serial data on i/o bit 30.
The 8 cogs communicating demo would probably be good, but it relies on some external connections and leds which I can't make.
-adrian