Random Propeller failure?
Thric
Posts: 109
So I was working with my prop this afternoon and for some reason it decided to just stop working. It was functioning properly for weeks, but it seems as if it changed its mind.
Here's what I went through:
At first I thought it was just a low battery, so I switched that out (9 volt battery). That didn't do anything.
I thought that maybe I broke a lead off my crystal (as it has happened before), so I tested the connection with a multimeter and then tried downloading a program that would light an LED without a clock set. But now nothing will download and the crystal is secure.
When I connect my programming cable the propeller tool recognizes the com port but if doesn't find the propeller connected to it.
I've tested the voltage on my board and its regulating at 3.3volts, which is confirmed by my GPS (which is fine) and power led.
I'm on a custom designed board which has been working properly for a while now, so I'm clueless on what went wrong.
The most recent thing that I did to my board was replace my series one xbee module for a xbee pro 900 module. And I've been turning that on and off for the past few days so it isn't that I just added it and it stopped. I've even left no xbee module in place and it still won't function properly
Is there something else that I can check?
I'm testing to see if it works by: 1- seeing if the pre-programmed (EEPROM) will flash my led and 2- see if I can download a new program.
Help is greatly appreciated as I'm starting to panic >.<
If you need to know more, I'll gladly reply!
Here's what I went through:
At first I thought it was just a low battery, so I switched that out (9 volt battery). That didn't do anything.
I thought that maybe I broke a lead off my crystal (as it has happened before), so I tested the connection with a multimeter and then tried downloading a program that would light an LED without a clock set. But now nothing will download and the crystal is secure.
When I connect my programming cable the propeller tool recognizes the com port but if doesn't find the propeller connected to it.
I've tested the voltage on my board and its regulating at 3.3volts, which is confirmed by my GPS (which is fine) and power led.
I'm on a custom designed board which has been working properly for a while now, so I'm clueless on what went wrong.
The most recent thing that I did to my board was replace my series one xbee module for a xbee pro 900 module. And I've been turning that on and off for the past few days so it isn't that I just added it and it stopped. I've even left no xbee module in place and it still won't function properly
Is there something else that I can check?
I'm testing to see if it works by: 1- seeing if the pre-programmed (EEPROM) will flash my led and 2- see if I can download a new program.
Help is greatly appreciated as I'm starting to panic >.<
If you need to know more, I'll gladly reply!
Comments
Once again however a photo is worth a thousand questions and guesses.
EDIT: also make sure that you do not have any 5V inputs on the Prop that are not suitably current limited. Disconnect these to check the basics
Peter Jakacki has a good point - a photo of your circuit might help troubleshooting.
@Daniel Harris- I'm not sure how I can check the rst line (no scope) but the programming error hasn't been an issue before now so I think that it is being driven just something with the prop is no working? This is just a wild guess because my computer can connect to the FTDI chip so the next chip in line would be the propeller.
@Peter Jakacki- I've disconnected all the periphials that I can (mainly just 4 pwm cables to servos), still nothing. I'm not sure how I would go about measuring the current draw of the propeller, how would you do this?
I'll try posting my schematic and some pictures tomorrow (getting late now), electronics just seem to fail around me after I make a break through >.< .
Last week I had a situation where the prop tool would intermittently report "No propchip detected" even though the virtual comport was reported present.
I would unplug the USB cable, plug it back in, and it would find the prop and I was able to reprogram it. but the SECOND attempt or so, prop not found.
The SPIN program was the same one that worked fine a couple weeks ago, and remains unchanged.
Now it works fine again, and I did NOT do anything to fix it. During my diagnois process, I unplugged all the cables and replugged them. HA! A clue!
I think its a combination of Windows update doing something unusual, and the fact that the ATX power supply on the PC is always giving power to the USB ports.
Is the chip warm to the touch?
@Nick McClick- I powered my board up and left it for a few minutes and thankfully there is no magic smoke and the prop doesn't feel hot at all.
There was a program in the EEPROM that I was booting from but now it won't boot up from there, everything seems to point towards a failed propeller it seems, yet at the same time it doesn't.
I've attached my schematic, sorry to all the non-eagle users, but the schematic is too big to view with just a screen shot.
My only dead prop is the one I fried with my IR soldering station. I actually have not tried it, but since the smoke appeared and the package is blistered, I figure it's dead!
Do you have another Prop board you can try with your computer? Just to make sure your computer isn't the problem...
BTW: Perhaps the only think I like about the DIP package is that it's easy to swap out when something like this happens...
I'll report back to see whats happened.
It's always handy to include status leds on boards and the simplest one is to add one to the SCL line tied high. This way you can see the Prop trying to clock the EEPROM after a reset plus you can just flash the led manually for a status signal when there is no I2C access. Of course the same could be said for the SDA line too but the SCL is more useful.
EDIT: I can't really think of any boards I've designed that don't have some kind of status led on them. Sometimes I add a large value resistor from the supply/ground to feed the led so that if there is power (and nothing else) it will at least glow dimly, then when the Prop is running it will work as a normal status led. A quick visual indication helps solve many problems quickly,
I think the pulse on the RES line would be too fast too see...
But, maybe you could see activity on the TX output line after the Prop gets reset...
:LEDs (plus your eye ball's native integration ) work quite well for narrow pulses.
Choose a brighter LED if you know the pulse is narrow.
I will be hard for the average Windows+USB PC to flip a RES line too fast to see (<< 1ms), and any sensible delay (5-50ms) is very easily visible.