Shop OBEX P1 Docs P2 Docs Learn Events
Test code for propeller chip ? — Parallax Forums

Test code for propeller chip ?

agodwinagodwin Posts: 72
edited 2009-07-30 12:48 in Propeller 1
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

Comments

  • StefanL38StefanL38 Posts: 2,292
    edited 2009-07-30 12:37
    Hello Adrian,

    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
  • agodwinagodwin Posts: 72
    edited 2009-07-30 12:48
    Hi 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
Sign In or Register to comment.