Shop OBEX P1 Docs P2 Docs Learn Events
Stand-alone program to verify Prop OK? — Parallax Forums

Stand-alone program to verify Prop OK?

HarleyHarley Posts: 997
edited 2010-09-09 20:37 in Propeller 1
By any chance is there some basic program which will allow programming a Prop ProtoBoard to verify that the board/Prop (and EEPROM) is working OK and will report back on the USB lines?

I'm trying to bring up a ProtoBoard with a 4.3" LCD on breakout board, but get nothing. No illumination on the screen. I've not yet worked with the 4.3" LCD/breakout board and without anything on the screen, there is not much to indicate anything working.

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2010-09-09 16:50
    Use DongleBasic. This requires only a Prop and a crystal along with the serial programming port to a PC serial terminal. It lets you test the Prop itself as well as being able to exercise the I/O pins and cog counters.
  • vettezr1vettezr1 Posts: 77
    edited 2010-09-09 16:51
    Harley I am not positive of what you are asking but here is what I do ..

    you can just write a simple spin program using dira and outa to check prop I/O and F11 to make sure its writing to eeprom?
    as far as the 4.3 if they are raymans I had a few that I had to wiggle the cable to make sure they were seated all the way becuase a few gave me some grief if they plugs were not all the way down
  • HarleyHarley Posts: 997
    edited 2010-09-09 20:11
    Thanks vettezr1 and Mike.

    @ Mike. I suppose what you were suggesting is to write a test program in DongleBasic? I was hoping there was something rather generic to exercise all/most of the I/Os maybe.

    I suppose one could also include Viewport and view all the I/Os, for any given program, if there are sufficient RAM and cogs.

    I did download DongleBasic and print out the source. And a manual is also available, great.
  • Mike GreenMike Green Posts: 23,101
    edited 2010-09-09 20:16
    I suggested DongleBasic because it requires very few Propeller resources (like I/O pins). If it works, you know the serial I/O is working and the crystal is working. You can then use it to quickly test I/O pins, either by just typing in commands directly or by writing a short program to exercise them at a speed suitable for human observation.
  • HarleyHarley Posts: 997
    edited 2010-09-09 20:37
    Got it Mike. It's been years since using any BASIC, but do recall how relatively simple it is to gin-up simple code easily and quickly.
    I suggested DongleBasic because it requires very few Propeller resources (like I/O pins). If it works, you know the serial I/O is working and the crystal is working. You can then use it to quickly test I/O pins, either by just typing in commands directly or by writing a short program to exercise them at a speed suitable for human observation.
Sign In or Register to comment.