gnupic: Re: [gnupic] gpasm hex files, compatibility with odyssey
Subject:
Re: [gnupic] gpasm hex files, compatibility with odyssey
From:
Tim Allen ####@####.####
Date:
29 May 2007 17:07:43 +0100
Message-Id: <C0D624FA-AA56-41AB-8EA8-70A04F61309B@integsys.biz>
oops, I meant PIC16F84.
On May 29, 2007, at 12:02 PM, Tim Allen wrote:
> 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
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ####@####.####
> For additional commands, e-mail: ####@####.####