[Icc-mot] Upgrade from ICC12 v6 to v7

Edward Karpicz ekarpicz at freemail.lt
Thu Aug 30 10:19:27 PDT 2007


Bas,

1) I see that both, V7 and V6, projects use same library and include paths:

Edit1=C:\Progra~1\icc\include;.\;
Edit2=C:\Progra~1\icc\lib

This is wrong. V7 and V6 libs are incompatible. When building with V7, 
compiler should use V7 headers and linker should link with V7 libs (just 
bank lib and include paths in project options). I wonder how it didn't 
complain about missing symbols. Did you try to rebuild all (Shift+F9)?


2) do you have some pieces of inline asm? If you have then check them for 
compatibility with V7. Someone already has failed to use something like 
this:

  asm("   PSHX");
  asm("   LDD   %var"); // problem here because since V7
                                     // frame pointer is now SP and one 
should take it into account
                                     // when manipulating SP
  asm("   PULX");





Edward



----- Original Message ----- 
From: "Bas van Dijk" <v.dijk.bas at gmail.com>
To: <icc-mot at imagecraft.com>
Sent: Thursday, August 30, 2007 11:07 AM
Subject: [Icc-mot] Upgrade from ICC12 v6 to v7


> (resending this message because the previous did not come through)
>
> Hello,
>
> I'm trying to upgrade from ICC12 6.16A to ICC12 7.03A (demo). I have a
> project that runs fine when compiled with v6.16A but when I compile it
> with 7.03A, load it on the device and run it the device stops
> functioning (no sign of life: no LCD, no serial communication, no
> flickering leds). Do I have to change some code or is it just some
> project setting that needs to be changed?
>
> I attached the projectfiles from both versions. As you can see I'm
> using a HC9S12Dx512 device. I also postprocess the .s19 file with:
>
> C:\Program Files\icc\bin\SRecCvt -m 80000 FFFFF 32 -lp -o <output.s19>
> <input.s19>
>
> Any pointers are highly appreciated.
>
> regards,
>
> Bas van Dijk
>
> http://members.home.nl/basvandijk/ethylenedetector_v6.prj
> http://members.home.nl/basvandijk/ethylenedetector_v7.prj
>
> _______________________________________________
> Icc-mot mailing list
> Icc-mot at imagecraft.com
> http://dragonsgate.net/mailman/listinfo/icc-mot
> 



More information about the Icc-mot mailing list