Guoqiang Yang

How to use cosmic funnction "Moveable Code'' - DP512

Discussion created by Guoqiang Yang on Dec 1, 2008
Latest reply on Dec 2, 2008 by Pedro Palacios

Hi,All

I am going to use "Moveable Code" function. My .lkf like is following by following the cx6812_user_guide:
#+seg .text  -b 0x2000 -o 0x2000 -m 0x2000 -n .ram_code
+seg .text  -b 0x2000 -n .ram_code -ic
D:\control_code\CANBoot_DP512_cosmic\canloader.o

+seg .const -b  __FLASH_3F_START_PHY -o __FLASH_3F_START_LOG -m __FLASH_3F_SIZE -n .const_3F  -sCODE
+seg .text -a  .const_3F -n .program_3F -sCODE
D:\control_code\CANBoot_DP512_cosmic\canloader.o

However there is an error message:
#error clnk D:\control_code\CANBoot_DP512_cosmic\SW_BootLoad_lkf.lkf:101 D:\control_code\CANBoot_DP512_cosmic\canloader.o: symbol _Enter_CANLoader multiply defined (D:\control_code\CANBoot_DP512_cosmic\canloader.o)

What is wrong with it?
Can anyone help me with an example?

Can anyone give me an example to use the function '_fctcpy'?

 

Added p/n to subject.



Message Edited by NLFSJ on 2008-12-01 11:11 AM

Outcomes