16F886

For questions and comments on programming in general. And for any items that don't fit into the forums below.

Moderators: Benj, Mods

Post Reply
Ron
Posts: 225
Joined: Wed Apr 11, 2007 6:15 pm
Has thanked: 2 times
Contact:

16F886

Post by Ron »

Hi,

I am ready to program my first PIC. I have flowcode Pro V3.1.0.31, is this the latest?

I have an MPLAB ICD2 USB clone programmer.

Since I do not have PPP for the programmer can someone provide me with the proper steps to use MPLAB 7.6.

This is what I think I need to do.

1. in flowcode select 16F886 as target.
2. write the program.
3. compile to ASM.

4. Run MPLAB 7.6
5. Select device 16F886
6. Programmer - select programmer - MPLAB ICD2
7. File - import - select flowcode hex file
8. set the configuration bits <- Can this be done in flowcode?
9. put chip in programmer
10. Programmer - select connect
11. programmer - select program
12. wait until done programming.

Have I missed anything or is one or more steps wrong?

Thanks

Ron

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

Post by Steve »

v3.1.0 is the latest.

You should be able to enter the configuration bits into Flowcode - either by "Chip...configure" or entering the suitable 'C' pragma commands into the "defines" section of the "supplementary code" window. This data will then get stored into the HEX file when it is created by Flowcode.

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Post by Benj »

Hello Ron

Yes that should about cover it.

You also should be able to set the configuration bits in Flowcode.

Also you should probably have a verification at the end of programming to make sure the code on the PICmicro is correct.

Post Reply