Page 1 of 1

PIC 18F2480 with Flowcode

Posted: Sat Dec 22, 2007 10:04 am
by Walbeek
Hi there,

I want to use the 18F2480 with flowcode. The code run's in simulation.
When compiling and uploading, no errors appear.
However, the 18F2480 doesn't run.
It must be one of the settings I think.

However, when I change one of the settings, and try uploading it again, a message apears that the 18F2480 can't be erased.
Does anybody have any suggestions on this? Please let me know.

Is there some kind of list with best settings for flowcode with several different kind of PIC microcontrollers?

Posted: Sat Dec 22, 2007 6:30 pm
by Steve
The settings to use depend on the hardware you are using and the application you are developing.

Posted: Sun Dec 23, 2007 12:42 am
by Walbeek
Hello Steve,

I'm using the E-blocks Multiprogrammer with LCD on port B, some inputs on port A and C, outputs on port C. It is a standard counting system.
The 18F2480 is programmed without errors, but the program doesn't start in the hardware. Also a simple testroutine like writing text on the LCD doesn't run. There always seem to appear a problem with the multiprogrammer because of some settings.
Programmed for the second time, the PIC is not erased and a message appears. I have to erase the PIC in another programmer with MPASM.
After that I can program without errors again, but it still doesn't run.

Posted: Sun Dec 23, 2007 11:05 am
by Steve
Sorry Rinie, but I can't help right now - I'm about to leave for a week's holiday. Here's some suggestions:

* Use a crystal setting and the HS mode in the config word
* Disable the watchdog, LVP and debug config bits
* Write a very simple LED flasher to test your program and its speed

Good luck!