EmbeddedRelated.com
Forums

Migration from IVR 3 to CCE v3

Started by Dong Xiao July 25, 2008
Hi,

I am starting a project to migrate a TI TRF7960
firmware package developed using IVR3 to CCEv3.

Simply build the source got following two errors:

1. asm("mov.w #HostCommands,10(SP)");

[E0002]
Illegal mnemonic specified
mov.w #HostCommands,10(SP)

Assembly Error, No Assembly Warnings
Errors in Source - Assembler Aborted

2. __low_power_mode_off_on_exit() can't find symbol
during linking

Any pointers where I should start the migration?

Thanks!
Dong

Beginning Microcontrollers with the MSP430

TI E2E may be very helpful.
https://community.ti.com/forums/t/65.aspx

--- In m..., Dong Xiao wrote:
>
> Hi,
>
> I am starting a project to migrate a TI TRF7960
> firmware package developed using IVR3 to CCEv3.
>
> Simply build the source got following two errors:
>
> 1. asm("mov.w #HostCommands,10(SP)");
>
> [E0002]
> Illegal mnemonic specified
> mov.w #HostCommands,10(SP)
>
> Assembly Error, No Assembly Warnings
> Errors in Source - Assembler Aborted
>
> 2. __low_power_mode_off_on_exit() can't find symbol
> during linking
>
> Any pointers where I should start the migration?
>
> Thanks!
> Dong
>

Thanks, old_cow_yellow!

Got the firmware working by copying a few #defines
from IVR environment, and adjusting asm mnemonic
naming conventions.

Noticed CCEv3 compiles code differently (seen in
de-assembly) and generates much bigger images
(30-50%). Fortunately, it works.
Dong

--- old_cow_yellow wrote:

> TI E2E may be very helpful.
> https://community.ti.com/forums/t/65.aspx
>
> --- In m..., Dong Xiao
> wrote:
> >
> > Hi,
> >
> > I am starting a project to migrate a TI TRF7960
> > firmware package developed using IVR3 to CCEv3.
> >
> > Simply build the source got following two errors:
> >
> > 1. asm("mov.w #HostCommands,10(SP)");
> >
> > [E0002]
> > Illegal mnemonic specified
> > mov.w #HostCommands,10(SP)
> >
> > Assembly Error, No Assembly Warnings
> > Errors in Source - Assembler Aborted
> >
> > 2. __low_power_mode_off_on_exit() can't find
> symbol
> > during linking
> >
> > Any pointers where I should start the migration?
> >
> > Thanks!
> > Dong
> >