One code on two different boards

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

One code on two different boards

689 Views
Idontunderstand
Contributor I

Hello;

I used CMD-12DP512 "http://www.axman.com/?q=node/292" with keypad and LCD, I used AXIDE to complie it. Now I want to use the codes that I developed for this micro in another board CSMB-12C128 "http://www.axman.com/?q=node/327" which compiles in codewarrior although doesn't have LCD and keypad. 

I created a new project and paste my code in main.asm file. There are two include files ,1- Dp256reg.asm (for all registers), 2-  LCD_SER.asm . When I compiled it, there were lots of error, I fixed them, and at the end there were two errors:

1- L1822, 2-L1115.

I add float library, to fix error L1822, but the number of errors went to 50. with two different code errors:

 

  • Link Error   : L1401: Incompatible memory model: SMALL in previous file (Lcd_Ser.asm.o) and BANKED in file ASSERT.C.o(ansib.lib)
  • Link Error   : L1301: Cannot open file C:\Program Files\Freescale\CWS12v5.1\lib\hc12c\lib\ansib.lib

Any idea, can any body help me?



I can give you the code for test if you have time!

 

Thanks;

Labels (1)
0 Kudos
Reply
1 Reply

463 Views
kef
Specialist I

It seems you added wrong library. You have project created for small memory model and added library made for banked memory model.

 

(I think you should copy-paste also error descriptions for L1822 and L1115, since all here are humans and not everyone remembers what are these errors)

0 Kudos
Reply