Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
LinkBack Thread Tools Display Modes
Old 13th January 2005, 07:35 PM   (permalink)
Default Pic problems w/16f84a (Nigel?)

Been trying to load a chip for several days now and happened upon this site. The original hex/asm I have ,interestingly enough, was written by Nigel Goodwin in 1998. It's for a Stuart PI MP metal detector. The hex was written for a 16c84. I have a 16F84A. I built the circuit and while I haven't yet been able to use it, it sure does look good as a paperweight. ;-)
I have no knowledge of PIC language but I do have a "willem" enhanced eeprom burner. I've tried to load the chip but apparently all I did was load the configuration bits. CP is showing off when I read the chip and all I get is "Generated by WinDis84, (c) Nigel Goodwin 1998.

LIST P=16C84, F=INHX8M
include "P16CXX.inc"

along with lots of 3FFF's.

After scouring the web for any info, I did come across this .asm file from somewhere which appears to be in Danish maybe. I'm fairly sure this was written for the same detector and appears to be specifically for a F84A.
I tried asm it with MPASM but got 3 fatal errors.

Error[132] C:\WINDOWS\DESKTOP\PI_PIC\STUART\MPL6\PI84A.ASM 1 : Unknown processor (16F84A)
Error[125] C:\WINDOWS\DESKTOP\PI_PIC\STUART\MPL6\PI84A.ASM 2 : Illegal condition (EOF encountered before END or conditional end directive)
Error[131] C:\WINDOWS\DESKTOP\PI_PIC\STUART\MPL6\PI84A.ASM 2 : Processor type is undefined

Any help would be unimagineablely appreciated!!
I'm also attaching file. In txt format.
Thanks ,Chilly ;-)
Attached Files
File Type: txt stuart_f84a.txt (7.9 KB, 124 views)
__________________
\"Black, then white, are all I see in my infancy. Red and yellow then came to be, reaching out to me.. lets me see there is so much more, and beckons me to look through to these infinite possibilities.\"
Chilly is offline  
Old 13th January 2005, 07:52 PM   (permalink)
Default Re: Pic problems w/16f84a (Nigel?)

Quote:
Originally Posted by Chilly
Been trying to load a chip for several days now and happened upon this site. The original hex/asm I have ,interestingly enough, was written by Nigel Goodwin in 1998. It's for a Stuart PI MP metal detector. The hex was written for a 16c84. I have a 16F84A. I built the circuit and while I haven't yet been able to use it, it sure does look good as a paperweight. ;-)
I have no knowledge of PIC language but I do have a "willem" enhanced eeprom burner. I've tried to load the chip but apparently all I did was load the configuration bits. CP is showing off when I read the chip and all I get is "Generated by WinDis84, (c) Nigel Goodwin 1998.
Sorry, but this file is nothing to do with me, it has been generated using the disassembler included in my PIC programmer software - which is why it includes my name in the line above.

Quote:

After scouring the web for any info, I did come across this .asm file from somewhere which appears to be in Danish maybe. I'm fairly sure this was written for the same detector and appears to be specifically for a F84A.
I tried asm it with MPASM but got 3 fatal errors.

Error[132] C:\WINDOWS\DESKTOP\PI_PIC\STUART\MPL6\PI84A.ASM 1 : Unknown processor (16F84A)
Error[125] C:\WINDOWS\DESKTOP\PI_PIC\STUART\MPL6\PI84A.ASM 2 : Illegal condition (EOF encountered before END or conditional end directive)
Error[131] C:\WINDOWS\DESKTOP\PI_PIC\STUART\MPL6\PI84A.ASM 2 : Processor type is undefined
What version of MPASM are you using?, one that's too old might not cover the 16F84A - the only way to get a recent MPASM version is to download MPLAB.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Old 13th January 2005, 10:56 PM   (permalink)
Default thanks anyway.

The version of MPASM is one I just dl'd from Microchip.com. But thanks anyway. Maybe I can get some help elsewhere.
__________________
\"Black, then white, are all I see in my infancy. Red and yellow then came to be, reaching out to me.. lets me see there is so much more, and beckons me to look through to these infinite possibilities.\"
Chilly is offline  
Old 14th January 2005, 02:06 AM   (permalink)
Default

if you downloaded mpasm standalone then it's bound to be very old.
you need to download MPLAB IDE these days, wich included a new MPASM.
Exo is offline  
Old 14th January 2005, 06:41 AM   (permalink)
Default Re: thanks anyway.

Quote:
Originally Posted by Chilly
The version of MPASM is one I just dl'd from Microchip.com. But thanks anyway. Maybe I can get some help elsewhere.
As I said above, and Exo has just said, the only way to get a recent version of MPASM is to download MPLAB - MicroChip haven't provided a seperate version for MANY years!.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Reply

Bookmarks

Thread Tools
Display Modes





All times are GMT. The time now is 07:51 AM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.

eXTReMe Tracker