I have killed (hopefully only wounded) my Eval Board
John Abshier
Posts: 1,116
in Propeller 2
I was was working on an object for the Ping. At first I forgot about the inline series resistor on the signal pin. I added a 1 k ohm resistor. The configuration was gnd to Ping, 5V to Ping, pin 42 to breadboard to 1 k ohm resistor to Ping. At last I noticed the following. If I hooked the Propscope to the resistor leg closest to the Ping the return signal was a little over 3 volts. If I hooked the Propscope to the resistor leg nearer the Prop2 Eval board, the return signal was visible and changed as I moved an object closer/farther from the Ping but was only milliVolts. But I was still producing the trigger pulse and writing serial data to Propeller Serial Terminal. Then I think I may have killed the board by shorting out 5V to V4047 while trying to measure power to the Ping. The voltage selection jumper was set to VIO.
Current status.
Parallax, if you want, I can return the board for a post mortem.
I will clean up/document the library I was working on and post it, probably next week.
John Abshier
Current status.
CON oscmode = $010c3f04 freq = 160_000_000 VAR OBJ pins : "pins2.spin2" PUB Main | i clkset(oscmode, freq) repeat pins.low(57) waitcnt(clkfreq / 5 + cnt) pins.high(57) waitcnt(clkfreq / 5 + cnt)Pin 57 only blinks one time
CON 'Constants section oscmode = $010c3f04 freq = 160_000_000 baud = 230400 'must configure RUN command to match this rx = 63 tx = 62 VAR OBJ ser : "SmartSerial.spin2" PUB Main | pause, time clkset(oscmode, freq) ser.start(rx, tx, 0, baud) 'start up serial terminal waitcnt(2 * freq) 'wait to open terminal repeat ser.str(string("Help ")) ser.nl ser.str(string("Help2 ")) ser.nlproduces no output on PST
Parallax, if you want, I can return the board for a post mortem.
I will clean up/document the library I was working on and post it, probably next week.
John Abshier
Comments
Don't forget the lsio command which lists the state of the pins too:
After the [>] [space] [esc] you will have this on your terminal, just type those commands.
Wonder if that's true for P2 too...
If TAQOZ works in RC mode, worth a try...
I will let her know it's coming and we will see what we can do to fix it.
It might be good to determine WHAT broke, first, if possible, as a shorter-time solution may be available.
Are you showing any signs of life?
Do you know what position the V4047 supply jumper was set to? If it was to the outer position (LDO regulator) then there is a good chance of only local group of four eight I/O fried. If it was set to inner (3v3 switcher) then all I/O pins will be fried, including the oscillator circuits. I suspect the latter.
This is an accessory connector issue. The 5 V supply pin needs relocated to other side of the two GND pins. Either both be 5 V or the second pin could be a 5 V tolerant signal. This way any accidental short will be harmless to GND or that tolerant pin. But this would require incompatible reordering of pinout.
Chantal gave me your your board. I tested all of the voltage regulators, and they all work. All of the I/O pins on V4047 output just fine, but V3239 was shorted to ground, so those pins are unusable.
John Abshier