The PIC is on a Velleman K8048 Programmer and Experiment board.
http://www.velleman.be/ot/en/product/view/?id=350903
Yes i have a pull up resistor..
If the code is identical why does it hangs with the first code?
The PIC is on a Velleman K8048 Programmer and Experiment board.
http://www.velleman.be/ot/en/product/view/?id=350903
Yes i have a pull up resistor..
If the code is identical why does it hangs with the first code?
Last edited by Fredrick; - 10th January 2008 at 19:58.
weird, it works here, none hangs. Maybe it has something to do with the on-board programmer.
Make sure it program & update the configuration fuses.
The minimum you need is XT_OSC and LVP_OFF and make sure you crystal jumpers are correctly set.
which software are you using to program your pic with the Velleman kit? (WinpicProg, ic-prog or else?)
did you tried their update?
http://www.velleman.be/downloads/fil...update_2_6.zip
Last edited by mister_e; - 10th January 2008 at 20:56.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
I use Velleman Progpic2 with the update installed..
I just reprogrammed the PIC with the "RETURN" code and now it works.. weird???
Maybe there is something wrong with my programmer?
Anyway it work´s now..
Thanx for a great forum.![]()
Pull up resistor on MCLR?
What about PortB.0?
If you've got nothing on it, it might be floating and confusing your program somehow.
As far as the identical goes, what I meant was 'functionally identical', I didn't mean identical as in 'the same' or 'equal'.
And I don't know why.
If it works with the 2nd code, go with it.
Bookmarks