
Technical discussions about the TI C54x DSPs (including the c5401, c5402, c5402a, c5404, c5407, c5409, c5409a, c5410, c5410a, c5416, c5420, c5421, c5441, c549, c5470 and c5471).
|
Hi, I have just started with code composer & dsk5402.I am trying to interface an FPGA kit with dsk5402 through rs232 interface.These are the problems I,m facing 1.I can't include headerfiles such as "type.h","board.h","uart.h" etc Whenever I am trying to include these files the message "cannot include file "(filename.h)" " appears 2.Error "Undefined symbols" appears when using functions such as 'uart_write_reg()','uart_read_reg()' etc 3.Warning entry point"_c_int00" referenced but not defined appears Can anyone help me solving these problems? Thanking in advance.. Praju |
|
|
|
Hi prajumokeri, Have you set the path for the include files in Project->Options ? Martin. On Wednesday 07 May 2003 08:18, prajumokeri wrote: > Hi, > I have just started with code composer & dsk5402.I am trying to > interface an FPGA kit with dsk5402 through rs232 interface.These are > the problems I,m facing > 1.I can't include headerfiles such as "type.h","board.h","uart.h" etc > Whenever I am trying to include these files the message "cannot > include file "(filename.h)" " appears > 2.Error "Undefined symbols" appears when using functions such as > 'uart_write_reg()','uart_read_reg()' etc > 3.Warning entry point"_c_int00" referenced but not defined appears > > Can anyone help me solving these problems? > > Thanking in advance.. > Praju > > _____________________________________ |
|
On Wed, 7 May 2003, prajumokeri wrote: > Hi, > I have just started with code composer & dsk5402.I am trying to > interface an FPGA kit with dsk5402 through rs232 interface.These are > the problems I,m facing > 1.I can't include headerfiles such as "type.h","board.h","uart.h" etc > Whenever I am trying to include these files the message "cannot > include file "(filename.h)" " appears You must specify where is the header files location. You can set this using build option. If you install CCS in c:\ti then then the header files are in C:\ti\c5400\dsk5402\include. > 2.Error "Undefined symbols" appears when using functions such as > 'uart_write_reg()','uart_read_reg()' etc > 3.Warning entry point"_c_int00" referenced but not defined appears I think your problem is: forgot to add the librariy in the project. If you want to use DSK library (using functions to access DSK peripherals) you must include C:\ti\c5400\dsk5402\lib\dsk5402.lib in your project. The third problem is because you didn't include run time library C:\ti\c5400\cgtools\lib\rts.lib in your project. Cheers > Can anyone help me solving these problems? > > Thanking in advance.. > Praju > > _____________________________________ |