Thread: 16F84 HELP!!!
View Single Post
  #7   Spotlight this post!  
Unread 01-09-2005, 23:15
fowlerm's Avatar
fowlerm fowlerm is offline
Bringing .NET to Robots
AKA: Matthew Fowler
FRC #0312 (Heatwave); FRC #1369 (Minotaur)
Team Role: Engineer
 
Join Date: Apr 2005
Rookie Year: 2001
Location: St. Petersburg, FL, USA
Posts: 78
fowlerm has a spectacular aura aboutfowlerm has a spectacular aura aboutfowlerm has a spectacular aura about
Re: 16F84 HELP!!!

Quote:
Originally Posted by sparksandtabs
i got the .ASM file but not i have no way of getting the .HEX file
First off - do you have Microchip MPLAB installed?

If you don't then download and install it from here.

If so, then the simplest way to do this (assuming your code is only one assembly file) is to do the following:

1) Open the assembly source file in MPLAB
2) On the MPLAB menubar choose Configure->Select Device...
3) In the dialog that comes up choose the PIC16F84 or PIC16F84A depending upon what chip you have.
4) On the MPLAB menubar choose Project->Quickbuild

MPLAB will launch the assembler (MPASM) and will build a hex file in the same directory as your assembly source file. Then you can use IC-Prog to flash the PIC with your newly created hex file.