PIC 18F2480 with Flowcode

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 2 and 3.

Moderators: Benj, Mods

Post Reply
Walbeek
Flowcode v5 User
Posts: 68
Joined: Thu Mar 01, 2007 10:48 am
Location: Netherlands
Been thanked: 3 times
Contact:

PIC 18F2480 with Flowcode

Post 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?
Greetings, Rinie
Flowcode V7 user

User avatar
Steve
Matrix Staff
Posts: 3433
Joined: Tue Jan 03, 2006 3:59 pm
Has thanked: 114 times
Been thanked: 422 times

Post by Steve »

The settings to use depend on the hardware you are using and the application you are developing.

Walbeek
Flowcode v5 User
Posts: 68
Joined: Thu Mar 01, 2007 10:48 am
Location: Netherlands
Been thanked: 3 times
Contact:

Post 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.
Greetings, Rinie
Flowcode V7 user

User avatar
Steve
Matrix Staff
Posts: 3433
Joined: Tue Jan 03, 2006 3:59 pm
Has thanked: 114 times
Been thanked: 422 times

Post 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!

Post Reply