gnupic: Re: [gnupic] pic18f24j10


Previous by date: 1 Jul 2007 18:07:41 +0100 Re: [gnupic] pic18f24j10, David
Next by date: 1 Jul 2007 18:07:41 +0100 Re: [gnupic] pic18f24j10, Michael Ballbach
Previous in thread: 1 Jul 2007 18:07:41 +0100 Re: [gnupic] pic18f24j10, David
Next in thread: 1 Jul 2007 18:07:41 +0100 Re: [gnupic] pic18f24j10, Michael Ballbach

Subject: Re: [gnupic] pic18f24j10
From: "George M. Gallant Jr." ####@####.####
Date: 1 Jul 2007 18:07:41 +0100
Message-Id: <1183309903.11653.23.camel@scuba.home.net>

Dave,

Further test reveals a huge .o file. Attached are a test case
file exhibiting the problem.

George

On Sun, 2007-07-01 at 11:32 -0500, David wrote:
> On Sun, 1 Jul 2007 10:45:18 -0400
> "Xiaofan Chen" ####@####.#### wrote:
> 
> > On 7/1/07, George M. Gallant Jr. ####@####.#### wrote:
> > > Dave
> > >
> > > The actual hex image is much larger than 64k. It has multiple
> > > records of setting the base address and then 64k of 0xFF.
> > > ...
> > > George
> > >
> > 
> > Maybe it will be easy for David or others to help you if you can
> > post your code.
> If I'm understanding your problem correctly, I have no idea why it
> would do that. Obviously the 0xFF's are nops, but if they're up at
> invalid addresses, I can't see why. gputils has the 18f24j10 marked
> with 16k program memory (up to address 0x3ff7, plus CONFIG and devid
> sections) both for gpasm and the LKR files.
> 
> Do you see the same behavior if you cut it down to a smaller project?
> Are you using gplink or absolute mode on gpasm? Some code and your
> command line would definitely help.
> 
> David Barnett
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ####@####.####
> For additional commands, e-mail: ####@####.####
> 
-- 
George M. Gallant, Jr.
(508) 202-2933

[Content type text/x-csrc not shown. Download]

		include	<p18f24j10.inc>
	
		CONFIG	WDTEN = OFF		;To use ICD2 as a debugger disable Watch Dog Timer
		CONFIG	STVREN = ON		;Reset on stack overflow/underflow enabled
		CONFIG	XINST = OFF		;Instruction set extension and Indexed Addressing mode disabled (Legacy mode)
		CONFIG	CP0 = OFF		;Program memory is not code-protected
		CONFIG	FOSC = HSPLL		;HS oscillator. PLL enabled
		CONFIG	FOSC2 = ON		;Clock selected by FOSC as system clock is enabled when OSCCON<1:0> = 00
		CONFIG	FCMEN = OFF		;Fail-Safe Clock Monitor disabled
		CONFIG	IESO = OFF		;Two-Speed Start-up disabled
		CONFIG	WDTPS = 32768		;1:32768

		code
main:		nop
		bra	main
	
		end

[Content type text/x-makefile not shown. Download]

Previous by date: 1 Jul 2007 18:07:41 +0100 Re: [gnupic] pic18f24j10, David
Next by date: 1 Jul 2007 18:07:41 +0100 Re: [gnupic] pic18f24j10, Michael Ballbach
Previous in thread: 1 Jul 2007 18:07:41 +0100 Re: [gnupic] pic18f24j10, David
Next in thread: 1 Jul 2007 18:07:41 +0100 Re: [gnupic] pic18f24j10, Michael Ballbach


Powered by ezmlm-browse 0.20.