gnupic: picp and 16C765


Previous by date: 15 Aug 2005 18:21:59 +0100 Re: [gnupic] Learning PIC on the job, Byron A Jeff
Next by date: 15 Aug 2005 18:21:59 +0100 Re: [gnupic] picp and 16C765, Jeff
Previous in thread:
Next in thread: 15 Aug 2005 18:21:59 +0100 Re: picp and 16C765, Adralien (sent by Nabble.com)

Subject: picp and 16C765
From: "Adralien (sent by Nabble.com)" ####@####.####
Date: 15 Aug 2005 18:21:59 +0100
Message-Id: <629986.post@talk.nabble.com>

I've been using picp and gputils for years with Flash pics (16F873) with no problems (love the tools)... I'm now trying to program to a JW 16C765 and having no luck... I can program the HEX file in fine with Windows and MPLAB (ugh) , but when I try to use the same HEX file on Linux with picp, it garbles the data.

I can -read- well programmed pics OK, I just can't write. 

I changed to INHX32 from INHX8M to see if that did it, but no dice. Doing that -did- make MPLAB happier though.

Writing command is:
picp /dev/ttyS1 16C765 -wp file_main.hex -wc 0x3ffa

Compiling command (in a Makefile) is:	
gpasm -c -a inhx32 -p p16c765 $<

Linking command (in Makefile) is:
gplink --map -c -s $(SCRIPT) -o $(OUTPUT) $(OBJECTS)

I'm using the new USB routines from Microchip, and everything works fine, but this is the first time I've linked in objects rather than just included routines.

Any advice would be greatly appreciated,

Thanks,
Adrian
--
Sent from the MicroControllers - GNUPIC forum at Nabble.com:
http://www.nabble.com/picp-and-16C765-t225676.html#a629986

Previous by date: 15 Aug 2005 18:21:59 +0100 Re: [gnupic] Learning PIC on the job, Byron A Jeff
Next by date: 15 Aug 2005 18:21:59 +0100 Re: [gnupic] picp and 16C765, Jeff
Previous in thread:
Next in thread: 15 Aug 2005 18:21:59 +0100 Re: picp and 16C765, Adralien (sent by Nabble.com)


Powered by ezmlm-browse 0.20.