After Loading, Program Not Running, Sometimes
George-ILM
Posts: 9
Problem:· In the last days the the Propeller has not always run a program after seemingly correct program loading.
I have been working through the Propeller Education Kit Labs and have on numerous occasions successfuly loaded and run programs.
-- No wiring changes have been made since·things worked reliabily.
-- Voltage at the Propeller is 3.28 volts.
-- With the Propeller Tool, F7 always identifies the chip on COM8.
-- When the battery is NOT connected, and the Propeller Tool·IS connected to Propeller and to the PC via USB, the power LED no longer dimly glows.· Is this significant?· I believe that the LED used to glow in this setup.
Regardless, after seemingly successful loading of a program from the Propeller Tool·via F10·or via F11,·programs only sometimes "run".
Any suggestions on what might be wrong?
-- George
I have been working through the Propeller Education Kit Labs and have on numerous occasions successfuly loaded and run programs.
-- No wiring changes have been made since·things worked reliabily.
-- Voltage at the Propeller is 3.28 volts.
-- With the Propeller Tool, F7 always identifies the chip on COM8.
-- When the battery is NOT connected, and the Propeller Tool·IS connected to Propeller and to the PC via USB, the power LED no longer dimly glows.· Is this significant?· I believe that the LED used to glow in this setup.
Regardless, after seemingly successful loading of a program from the Propeller Tool·via F10·or via F11,·programs only sometimes "run".
Any suggestions on what might be wrong?
-- George
Comments
Do a check of your wires with a meter and make sure they are in good shape.
Are you using solid core wire or stranded? I've had solid core wire break inside the plastic making it "look" they
it was still connected, but creating the same momentary functionality that you have described.
Let us know how you get along.
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Are you Propeller Powered? PropellerPowered.com
Visit the: PROPELLERPOWERED SIG forum kindly hosted by Savage Circuits.
Post Edited (Oldbitcollector) : 5/20/2010 4:30:37 PM GMT
The jummpers on the breadboard use solid wire.· It is certainly possible there is an intermittent break in a stripped wire as you suggest.· Or perhaps a short lead into a breadboard socket making intermittent contact.·
In the last hour my programs have been loading and then running without problems.· Fifteen minutes ago I just had my very first "lost Comm 8 contact" message during program loading.· Not sure what caused that.
Thanks for your feedback.· As soon as I see another failure I will check all of the wiring.
George
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Leon Heller
Amateur radio callsign: G1HSM
However, I recently noticed that the chip seems not to be running at 80 MHz but something much slower.· When I comment out...
···· '· _xinfreq = 5_000_000
···· '· _clkmode = xtal1 + pll16x
the programs run (blink LEDs) at an appropriate rate.
More strangeness.
-- George
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Leon Heller
Amateur radio callsign: G1HSM
-Phil
Thanks, George
Tonight I swapped out the Propeller, and...
-- Programs load and run fine,
-- Propeller processing speed is correct, and
-- The power indicator glows dimly with the USB Prop programming tool installed and 3.3 volt power off.
I have no idea why the original Propeller module "failed" in such a manner.
Thanks for all of your suggestions.
-- George