gnupic: gpasm hex files, compatibility with odyssey


Previous by date: 29 May 2007 17:02:08 +0100 Re: [gnupic] gputils development, Ralph Corderoy
Next by date: 29 May 2007 17:02:08 +0100 Re: [gnupic] gpasm hex files, compatibility with odyssey, Tim Allen
Previous in thread:
Next in thread:

Subject: gpasm hex files, compatibility with odyssey
From: Tim Allen ####@####.####
Date: 29 May 2007 17:02:08 +0100
Message-Id: <C6A52F9C-AE04-4B00-80FC-164F351B318F@integsys.biz>

I compile a simple program for the PIC14F84 using gpasm...
lab:~/HelloWorld#gpasm HelloWorld.asm
HelloWorld.asm:51:Warning [224] Use of this instruction is not  
recommended.
HelloWorld.asm:52:Warning [224] Use of this instruction is not  
recommended.

I attempt to write it to the pic...
lab:~/HelloWorld# odyssey PIC16F84 write HelloWorld.hex
Address: 0x000000,   0% done
odyssey: PIC16F84: Couldn't write program memory at address 0x0000

Okay so I spend several hours debugging my hardware (simple  
programmer I built on a breadboard...
yelling, mashing of teeth, etc :-) Can't find anything wrong.

Then I try reading the PIC...
lab:~/HelloWorld# odyssey PIC16F84 read tim.hex
Address: 0x002007,  100% done

okay so it must just be a writing issue. But just for the heck of it  
I try writing what I just read...
lab:~/HelloWorld# odyssey PIC16F84 write tim.hex
Address: 0x002007,  100% done

So I have concluded the the hex output from gpasm is not compatible  
with odyssey. Can anyone confirm this? I'm I just doing something  
stupid?

Thank you


Previous by date: 29 May 2007 17:02:08 +0100 Re: [gnupic] gputils development, Ralph Corderoy
Next by date: 29 May 2007 17:02:08 +0100 Re: [gnupic] gpasm hex files, compatibility with odyssey, Tim Allen
Previous in thread:
Next in thread:


Powered by ezmlm-browse 0.20.