Pumpkin, Inc.

Pumpkin User Forums

Library for PIC16F690

For issues specific to Microchip's PICmicro® MCUs, including compilers (e.g. HI-TECH PICC & PICC-18, Microchip MPLAB®-C18) and IDEs (e.g. Microchip MPLAB®).

Library for PIC16F690

Postby Hugo » Tue Oct 03, 2006 1:58 am

The PIC16F690 is not listed as supported device. When I compile the example program ex1, the library sfp40bab.lib seems to work with this controller. How can I know that this is the right library?

[This message has been edited by Hugo (edited October 03, 2006).]

Hugo
 
Posts: 2
Joined: Mon Oct 02, 2006 11:00 pm
Location: Elsloo, Netherlands

Re: Library for PIC16F690

Postby aek » Wed Oct 04, 2006 1:30 am

quote:
That means in my case that I need the pcl60--u.lib, which is not existing.
Looks like you need sfp40cab.lib, which exists.

------------------

-------
aek
aek
 
Posts: 1888
Joined: Sat Aug 26, 2000 11:00 pm

Re: Library for PIC16F690

Postby aek » Wed Oct 04, 2006 9:09 am

You can verify it by following the instruction on page 5 of http://www.pumpkininc.com/content/doc/manual/rm-picc.pdf .

------------------

-------
aek
aek
 
Posts: 1888
Joined: Sat Aug 26, 2000 11:00 pm

Re: Library for PIC16F690

Postby Hugo » Wed Oct 04, 2006 10:32 am

That means in my case that I need the pcl60--u.lib, which is not existing.

HI-TECH Software PICC-Lite Compiler V9.50PL2

Linker command line:

--edf=C:Program FilesHI-TECH SoftwarePICC-Lite9.50daten_msgs.txt
-h+ex1.sym -z -Q16F690 -ol.obj -Mex1.map -E1 -ver=PICC-Lite#V9.50PL2
-ACODE=00h-07FFh -ACONST=00h-0FFhx8 -AENTRY=00h-0FFhx8
-ASTRING=00h-0FFhx8 -ABANK0=020h-07Fh -ABANK1=0A0h-0EFh
-ACOMBANK=070h-07Fh -ppowerup=CODE
-preset_vec=00h,intentry=04h,intcode,intret,init,end_init,clrtext,maintext,stringtable,pstrings,strings
-prbit_0=BANK0,rbss_0=BANK0,rdata_0=BANK0,idata_0=CODE -pnvram=BANK0
-prbit_1=BANK1,rbss_1=BANK1,rdata_1=BANK1,idata_1=CODE
-pnvram_1=BANK1,nvbit_1=BANK1
-prbit_2=BANK2,rbss_2=BANK2,rdata_2=BANK2,idata_2=CODE
-pnvram_2=BANK2,nvbit_2=BANK2
-prbit_3=BANK3,rbss_3=BANK3,rdata_3=BANK3,idata_3=CODE
-pnvram_3=BANK3,nvbit_3=BANK3 -ptemp=COMBANK -ACONFIG=02007h-02007h
-pconfig=CONFIG -AIDLOC=02000h-02003h -pidloc=IDLOC
-AEEDATA=00h-0FFh/02100h -peeprom_data=EEDATA
-pfloat_text0=CODE,float_text1=CODE,float_text2=CODE
-pfloat_text3=CODE,float_text4=CODE -pintsave_0=COMBANK -pintsave_1=BANK1
-pintsave_2=BANK2 -pintsave_3=BANK3
C:DOCUME~1HugoLOCALS~1Temps2bc.obj
D:Microchipprojpiccex1main.obj
D:Microchipprojpiccex1sfp40bab.lib
C:Program FilesHI-TECH SoftwarePICC-Lite9.50libpcl60--u.lib
C:Program FilesHI-TECH SoftwarePICC-Lite9.50libpcl40c-c.lib
C:Program FilesHI-TECH SoftwarePICC-Lite9.50libpcl60--u.lib

Object code version is 3.7

Machine type is 16F690

Hugo
 
Posts: 2
Joined: Mon Oct 02, 2006 11:00 pm
Location: Elsloo, Netherlands


Return to PICmicro MCUs

Who is online

Users browsing this forum: No registered users and 1 guest