| View previous topic :: View next topic | 
	
	
		| Author | Message | 
	
		| handixx 
 
 
 Joined: 01 Jul 2010
 Posts: 12
 
 
 
			    
 
 | 
			
				| build error with object files and PIC24FJ64GA002 |  
				|  Posted: Thu Jul 01, 2010 1:43 pm |   |  
				| 
 |  
				| hello, 
 
 first sorry for my English
 
 I have buy a display from BOlYMIN
 http://pdf1.alldatasheet.net/datasheet-pdf/view/316218/BOLYMIN/BEGV627M.html
 
 It is a display embedded system with  touch panel and PIC 24fj64. They give the driver for all of item on the board. I have try to compile their demo_prog, but when I build I have this error:
 
  	  | Quote: |  	  | Clean: Deleting intermediary and output files.
 Clean: Done.
 Executing: "C:\Program Files (x86)\Microchip\Third Party\PICC\Ccsc.exe" +FD "DTP_main.c" +EXPORT I+="C:\Users\stephane\Documents\ELECTRONIQUE\pompe irrigation\Software Utilities\VER101\Demo Test\BOL_lib_627M;C:\Program Files (x86)\PICC\Drivers"  +DF +LN +T +A +M -Z +Y=9 +EA
 >>> Warning 203 "DTP_main.c" Line 102(1,1): Condition always TRUE
 >>> Warning 202 "C:\Users\stephane\Documents\ELECTRONIQUE\pompe irrigation\Software Utilities\VER101\Demo Test\uart.h" Line 18(5,8): Variable never used:   rs232_errors
 >>> Warning 202 "DTP_main.c" Line 74(13,14): Variable never used:   x
 >>> Warning 202 "DTP_main.c" Line 74(16,17): Variable never used:   y
 >>> Warning 202 "DTP_main.c" Line 75(10,16): Variable never used:   disp_x
 >>> Warning 202 "DTP_main.c" Line 75(18,24): Variable never used:   disp_y
 C:\Users\stephane\Documents\ELECTRONIQUE\pompe irrigation\Software Utilities\VER101\Demo Test\DTP_main.o ===>  0 Errors,  6 Warnings.
 Executing: "C:\Program Files (x86)\Microchip\Third Party\PICC\Ccsc.exe" +FD LINK="BEGV627M_DTP.hex=DTP_main.o,BOL_lib_627M\bklight_pwm.o,BOL_lib_627M\I2c.o,BOL_lib_627M\i2ceeprom.o,BOL_lib_627M\ST7588T.o,BOL_lib_627M\touch.o,BOL_lib_627M\uart.o" +DF +LN +T +A +M -Z +Y=9 +EA
 --- Info 300 "BEGV627M_DTP.c" Line 1(0,1): More info:   ** Read beyond end of file
 *** Error 44 "BEGV627M_DTP.c" Line 1(0,1): Internal Error - Contact CCS
 *** "BEGV627M_DTP.c" Line 1: Error #300: More info:   ** Read beyond end of file
 *** "BEGV627M_DTP.c" Line 1: Error #300: More info:   ** Read beyond end of file
 *** "BEGV627M_DTP.c" Line 1: Error #300: More info:   ** Read beyond end of file
 *** "BEGV627M_DTP.c" Line 1: Error #300: More info:   ** Read beyond end of file
 *** "BEGV627M_DTP.c" Line 1: Error #300: More info:   ** Access violation at address 02F69215 in module 'PCD.dll'. Read of address 033CA0F8
 1 Errors,  0 Warnings.
 Skipping link step.  Not all sources built successfully.
 BUILD FAILED: Thu Jul 01 21:19:28 2010
 
 | 
 I have searched on internet. I have not found the answer. If one guy can help me it will be very nice !! I have buy this items for the fast conception but I have lost 2 days ^^
 
 It is  my first time with the 16 bits family and I'm not enjoy  ><
 
 Thank you for your answer
 
 best regard
 
 stephane
 |  | 
	
		|  | 
	
		| PCM programmer 
 
 
 Joined: 06 Sep 2003
 Posts: 21708
 
 
 
			    
 
 | 
			
				|  |  
				|  Posted: Thu Jul 01, 2010 3:54 pm |   |  
				| 
 |  
				|  	  | Quote: |  	  | They give the driver for all of item on the board | 
 Is the driver source code compatible with the CCS compiler ?
 Do they say it is ?    Post a link to it.
 |  | 
	
		|  | 
	
		| handixx 
 
 
 Joined: 01 Jul 2010
 Posts: 12
 
 
 
			    
 
 | 
			
				|  |  
				|  Posted: Fri Jul 02, 2010 12:36 am |   |  
				| 
 |  
				| the object files was build with  CCS.4.093 
 http://dl.free.fr/mDodKyEgW
 
 this is the link of the driver's packs
 |  | 
	
		|  | 
	
		| PCM programmer 
 
 
 Joined: 06 Sep 2003
 Posts: 21708
 
 
 
			    
 
 | 
			
				|  |  
				|  Posted: Fri Jul 02, 2010 1:06 am |   |  
				| 
 |  
				| That website says: 
  	  | Quote: |  	  | Non-existent file.
 | 
 |  | 
	
		|  | 
	
		| handixx 
 
 
 Joined: 01 Jul 2010
 Posts: 12
 
 
 
			    
 
 |  | 
	
		|  | 
	
		| handixx 
 
 
 Joined: 01 Jul 2010
 Posts: 12
 
 
 
			    
 
 |  | 
	
		|  | 
	
		| PCM programmer 
 
 
 Joined: 06 Sep 2003
 Posts: 21708
 
 
 
			    
 
 | 
			
				|  |  
				|  Posted: Fri Jul 02, 2010 2:05 am |   |  
				| 
 |  
				| The file "driver.zip" does not contain any files that have a "main()" function.    I don't see how it can be compiled.  It only has .h files
 that have function prototypes.  There is no actual driver source code.
 
 I am done for the day.  Maybe someone else can help.
 |  | 
	
		|  | 
	
		| handixx 
 
 
 Joined: 01 Jul 2010
 Posts: 12
 
 
 
			    
 
 |  | 
	
		|  | 
	
		|  |