Bad Prop BOE Board?
NWCCTV
Posts: 3,629
Should the following code run indefinitely until power is disconnected or reset is pressed?
This is not the case with my Prop BOE board. After blinking about 15 or so times it stops, then after a couple seconds the LED will be purple. I also seem to be having issues with my Servos stopping after they run for about 45 seconds. I am using an 12V wall wart.
OBJ pin : "Input Output Pins" time : "Timing" PUB Blink repeat pin.Low(15) pin.Low(14) pin.Low(13) time.Pause(200) pin.High(15) pin.High(14) pin.High(13) time.pause(200)
This is not the case with my Prop BOE board. After blinking about 15 or so times it stops, then after a couple seconds the LED will be purple. I also seem to be having issues with my Servos stopping after they run for about 45 seconds. I am using an 12V wall wart.
Comments
Do you have the servos hooked up when you experience problems with the LEDs freaking out? I'm wondering if power spikes from the servos could be causing problems.
What happens if you try to make the LEDs blink without using those objects you listed but instead just use "raw" SPIN code?
I also tried the SimpleIDE blink.c program on the Prop BOE internal LED on pin 9. Same thing. It will not blink indefinitely.
-Phil
-Phil
Loaded to EEPROM, USB cable connected, power supply disconnected, works fine. Power supply disconnected, USB cable connected, works fine. It is only when I am sending to RAM that it does this and it is on both my Prop BOE boards and Demo board.
I don't think the threads should be merged. There's a lot of good LED info in the other thread. Just continue with this thread for the PropBOE diagnostics.
Um, no. Maybe in the morning. In the meantime, create an archive of a simple program that fails in RAM, and post the zip here. It sounds like one of us could also get it to fail.
BTW, which IDE are you using? Prop Tool or BST?
-Phil
What about adding a statement just above the repeat loop to the serial terminal or a piezo beep to indicate a restart?
If it is browning out, then maybe try just a loop with no LEDs, a serial terminal output that counts up once a second or something. Leave it running for awhile. If that loop runs fine try slowly adding your stuff back until it fails.
I am using Prop Tool. Here is a simple program that works in EEPROM and fails in RAM. Not sure how it would be a brown out using a 12V wall wart. I have tried 3 different ones.
Works fine for me in EEPROM or RAM using USB power or external
I do not think it is. I tried a similar set up on my Prop Demo also with the same results. I am going to try from my laptop.
Edit: I think you should show us a picture of your setup if you can.
Edit:Not good news for your computer though - sorry.
I use a front panel USB Port. I am going to try running directly to the motherboard USB to see what happens.
But if or how you restore it I don't know.
-Phil
-Phil
-Phil
NWCCTV
Does you have some means (e.g. an ancient analog multimeter, with a large and faithful fast moving galvanometer needle display) to check for sudden power outages, commanded by a misfound or misconfigured USB power management chipset driver, that refuses to sustain power to your device?
Perhaps the last post of the following Techrepublic's forum thread, can help you solving your system's issues.
http://www.techrepublic.com/forums/questions/y-do-my-usb-ports-keep-failing/
As a personal contribution of my own experience, some kind of d
NWCCTV
This is exactly the subject of the above cited Techrepublic's forum thread.
I hope it does help you figure out how to fix your main shop system.
Yanomani
P.S. The SMT resistor hint is a last try to be done on your main shop system's motherboard. Perhaps you could find a 0 Ohm blinker too!