gnupic: Re: [PIC] gputils-mplab


Previous by date: 19 Sep 2005 07:05:51 +0100 [gnupic] Different hex file generated by gpasm and mpasm, Chen Xiao Fan
Next by date: 19 Sep 2005 07:05:51 +0100 Re: [PIC] gputils-mplab, Chen Xiao Fan
Previous in thread:
Next in thread: 19 Sep 2005 07:05:51 +0100 Re: [PIC] gputils-mplab, Chen Xiao Fan

Subject: RE: [PIC] gputils-mplab
From: Chen Xiao Fan ####@####.####
Date: 19 Sep 2005 07:05:51 +0100
Message-Id: <3B8AEFFADD3DD4118F8100508BACEC2C0A289213@spex>

I just tried out this plug-in and it is not working for 
single file relocatable code. It is working for single file
absolute mode code and multi-file relocatable code.

Somehow in the single file relocatable code case, the
plug-in does not allow the use of "gpasm -c" to generate
the object code. Using "gpsam -c" and "gplink" does give
the correct result outside of MPLAB IDE.

C:\software\gpasm>gpasm -c autocal.asm
C:\software\gpasm>gplink -o autocal.hex autocal.o
message: using default linker script "C:\Program
Files\gputils\lkr\12f675.lkr"

I take the liberty and cc'ed to the GNUPIC list since I think it
is more relevant there.

Regards,
Xiaofan

1) For single-file absolute mode code from PICKit 1 Lesson 1:

Clean: Deleting intermediary and output files.
Clean: Done.
Executing: "C:\Program Files\gputils\bin\gpasm.exe" Debounce.asm -p 12F675
Debounce.asm:41:Warning [215] Processor superseded by command line.
Debounce.asm:91:Message [302] Register in operand not in bank 0. Ensure bank
bits are correct.
Debounce.asm:93:Message [302] Register in operand not in bank 0. Ensure bank
bits are correct.
Debounce.asm:94:Message [302] Register in operand not in bank 0. Ensure bank
bits are correct.
Loaded C:\PICkit 1\Classic\Lesson 1\Asm\Debounce.COD.
BUILD SUCCEEDED: Mon Sep 19 13:43:55 2005

2) For two-files relocatable code from PICkit 1 Lesson 3
Clean: Deleting intermediary and output files.
Clean: Done.
Executing: "C:\Program Files\gputils\bin\gpasm.exe" intlib675.asm -c  -p
12F675
Executing: "C:\Program Files\gputils\bin\gpasm.exe" ledint.asm -c  -p 12F675
ledint.asm:52:Warning [215] Processor superseded by command line.
Executing: "C:\Program Files\gputils\bin\gplink.exe"
"C:\software\gpasm\intlib675.o" "C:\software\gpasm\ledint.o" -o "gpasm.HEX"
message: using default linker script "C:\Program
Files\gputils\lkr\12f675.lkr"
Loaded C:\software\gpasm\gpasm.COD.
BUILD SUCCEEDED: Mon Sep 19 13:56:08 2005

3) For single file relocatable code from PICkit 1 Lesson 7
Clean: Deleting intermediary and output files.
Clean: Done.
Executing: "C:\Program Files\gputils\bin\gpasm.exe" autocal.asm -p 12F675
autocal.asm:43:Warning [215] Processor superseded by command line.
autocal.asm:87:Message [302] Register in operand not in bank 0. Ensure bank
bits are correct.
autocal.asm:101:Message [302] Register in operand not in bank 0. Ensure bank
bits are correct.
autocal.asm:102:Message [302] Register in operand not in bank 0. Ensure bank
bits are correct.
autocal.asm:103:Message [302] Register in operand not in bank 0. Ensure bank
bits are correct.
autocal.asm:111:Message [302] Register in operand not in bank 0. Ensure bank
bits are correct.
autocal.asm:158:Message [302] Register in operand not in bank 0. Ensure bank
bits are correct.
autocal.asm:219:Message [302] Register in operand not in bank 0. Ensure bank
bits are correct.
autocal.asm:223:Message [302] Register in operand not in bank 0. Ensure bank
bits are correct.
autocal.asm:224:Message [302] Register in operand not in bank 0. Ensure bank
bits are correct.
autocal.asm:262:Message [302] Register in operand not in bank 0. Ensure bank
bits are correct.
autocal.asm:269:Message [302] Register in operand not in bank 0. Ensure bank
bits are correct.
autocal.asm:278:Message [302] Register in operand not in bank 0. Ensure bank
bits are correct.
autocal.asm:279:Message [302] Register in operand not in bank 0. Ensure bank
bits are correct.
autocal.asm:280:Message [302] Register in operand not in bank 0. Ensure bank
bits are correct.
autocal.asm:290:Message [302] Register in operand not in bank 0. Ensure bank
bits are correct.
autocal.asm:291:Message [302] Register in operand not in bank 0. Ensure bank
bits are correct.
autocal.asm:294:Message [302] Register in operand not in bank 0. Ensure bank
bits are correct.
autocal.asm:296:Message [302] Register in operand not in bank 0. Ensure bank
bits are correct.
autocal.asm:297:Message [302] Register in operand not in bank 0. Ensure bank
bits are correct.
autocal.asm:299:Message [302] Register in operand not in bank 0. Ensure bank
bits are correct.
autocal.asm:301:Message [302] Register in operand not in bank 0. Ensure bank
bits are correct.
autocal.asm:326:Message [302] Register in operand not in bank 0. Ensure bank
bits are correct.
autocal.asm:338:Message [302] Register in operand not in bank 0. Ensure bank
bits are correct.
Loaded C:\software\gpasm\autocal.COD.
BUILD SUCCEEDED: Mon Sep 19 14:00:28 2005



-----Original Message-----
From: John Nall 
Sent: Sunday, September 18, 2005 3:55 AM
To: ####@####.####
Subject: [PIC] gputils-mplab

The following quote is from gputils.sourceforge.net.  I have been trying 
to figure out just what it means, and am not absolutely certain. 
However, since gputils supposedly runs under Windows, presumably it 
means that when you are using MPLAB with Windows, then with the plugin 
you can have some gputils functionality.  Has anyone tried it?  How well 
does it work?  I have never thought in terms of running gputils under 
Windows -- always thought in terms of running it under Linux.  (Please 
do not interpret this as criticism of any sort of the gputils project -- 
I think the guys are doing a great job!)

> The gputils project has developed an MPLAB plugin. With this plugin, 
> gputils-mplab 
> <https://sourceforge.net/project/showfiles.php?group_id=41924>, MPLAB 
> can be used as an IDE for gputils.

Previous by date: 19 Sep 2005 07:05:51 +0100 [gnupic] Different hex file generated by gpasm and mpasm, Chen Xiao Fan
Next by date: 19 Sep 2005 07:05:51 +0100 Re: [PIC] gputils-mplab, Chen Xiao Fan
Previous in thread:
Next in thread: 19 Sep 2005 07:05:51 +0100 Re: [PIC] gputils-mplab, Chen Xiao Fan


Powered by ezmlm-browse 0.20.