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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

1,349 Views
hbch
Contributor III

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
Labels (1)
0 Kudos
1 Reply

382 Views
Pedro_
Contributor III
It looks like if the signature of the Enter_CANLoader function is not the same as in the prototype.
0 Kudos