gnupic: Re: [gnupic] gplink throws away configuration (PIC18F458)
Subject:
RE: [gnupic] gplink throws away configuration (PIC18F458)
From:
Chen Xiao Fan ####@####.####
Date:
19 Dec 2005 08:23:38 +0000
Message-Id: <3B8AEFFADD3DD4118F8100508BACEC2C0A2894A5@spex>
> -----Original Message-----
> From: Ian Jackson
> Sent: Friday, December 16, 2005 8:57 PM
> As you can see from the complete transcript below:
> gpasm -p18f458 -c test.asm
> gpasm -p18f458 -c config.asm
> gplink test.o config.o
> produces an a.hex file which doesn't conttain the configuration.
> gpvo config.o suggests that the config.o is right. Using gpasm in
> absolute mode like this works:
> gpasm -p18f458 test.asm
> gpasm -p18f458 config.asm
> ./merge-hex test.hex config.hex >merged.hex
This seems to be a bug with gplink. MPASM/MPLINK
(tested with MPLAB 7.22) are okay with the code.
If I combine the two asm file manually, both gpasm
and MPASM produce the same code.
Regards,
Xiaofan