error generating code for Ethernet_LDD

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

error generating code for Ethernet_LDD

Jump to solution
1,336 Views
mentair
Contributor I

Hello,

I am trying to generate Ethernet driver Code (RMII) for a MK60FN1M0VLQ12.  ProcessorExpert shows no errors in the component inspector, however, when compiling, i get the following error messages:

Description    Resource    Path    Location    Type

Generator: FAILURE: at line 113: Error in %if operator (file: Drivers\Common\SetRegBitMask.prg)    periphery        ETH1    Processor Expert Problem

Generator: FAILURE: at line 113: Error in %if parameter (file: Drivers\Common\SetRegBitMask.prg)    periphery        ETH1    Processor Expert Problem

Generator: FAILURE: at line 113: Incorrect expression, For input string: "1 << 1" (file: Drivers\Common\SetRegBitMask.prg)    periphery        ETH1    Processor Expert Problem

Generator: FAILURE: at line 113: Right bracket not found in boolean expression (file: Drivers\Common\SetRegBitMask.prg)    periphery        ETH1    Processor Expert Problem

Generator: FAILURE: at line 113: Unexpected char in bool expresion:!= '0') (file: Drivers\Common\SetRegBitMask.prg)    periphery        ETH1    Processor Expert Problem

Generator: FAILURE: at line 113: Unexpected char in bool expresion:= '0') (file: Drivers\Common\SetRegBitMask.prg)    periphery        ETH1    Processor Expert Problem

Generator: FAILURE: at line 135: Error in %if operator (file: Drivers\Common\SetRegBitMask.prg)    periphery        ETH1    Processor Expert Problem

Generator: FAILURE: at line 135: Error in %if parameter (file: Drivers\Common\SetRegBitMask.prg)    periphery        ETH1    Processor Expert Problem

Generator: FAILURE: at line 135: Incorrect expression, For input string: "1 << 1" (file: Drivers\Common\SetRegBitMask.prg)    periphery        ETH1    Processor Expert Problem

Generator: FAILURE: at line 135: Right bracket not found in boolean expression (file: Drivers\Common\SetRegBitMask.prg)    periphery        ETH1    Processor Expert Problem

Generator: FAILURE: at line 135: Unexpected char in bool expresion:= %EXPR((2^%'PE_RegWidth')-1)) (file: Drivers\Common\SetRegBitMask.prg)    periphery        ETH1    Processor Expert Problem

Generator: FAILURE: at line 135: Unexpected char in bool expresion:== %EXPR((2^%'PE_RegWidth')-1)) (file: Drivers\Common\SetRegBitMask.prg)    periphery        ETH1    Processor Expert Problem

Generator: FAILURE: at line 156: Unexpected status, please contact Freescale support. (file: Drivers\Common\SetRegBitMask.prg)    periphery        ETH1    Processor Expert Problem

Generator: FAILURE: at line 1926: Incorrect expression, For input string: "undef" (file: Drivers\Kinetis\Ethernet_LDD.drv)    periphery        ETH1    Processor Expert Problem

Generator: FAILURE: at line 1928: Error in expression: For input string: "1 << 1)" (file: Drivers\Kinetis\Ethernet_LDD.drv)    periphery        ETH1    Processor Expert Problem

Generator: FAILURE: at line 1931: Error in expression: For input string: "1 << 1)" (file: Drivers\Kinetis\Ethernet_LDD.drv)    periphery        ETH1    Processor Expert Problem

Generator: FAILURE: at line 27: Error in expression: For input string: "1 << 1" (file: Drivers\Common\GenReg32BitsInitInfo.prg)    periphery        ETH1    Processor Expert Problem

Generator: FAILURE: at line 36: Error in expression: For input string: "1 << 1" (file: Drivers\Common\SetReg32.prg)    periphery        ETH1    Processor Expert Problem

Generator: FAILURE: at line 43: Incorrect expression, For input string: "1 << 1" (file: Drivers\Common\GenReg32BitsInitInfo.prg)    periphery        ETH1    Processor Expert Problem

any Idea what could be causing this?


thanks,

martin

Labels (1)
0 Kudos
Reply
1 Solution
1,024 Views
Petr_H
NXP Employee
NXP Employee

Hi,

please find attached a hotfix for this issue.

The installation instructions are in readme file inside the archive. It should work in Driver suite as with the CodeWarrior.

best regards

Petr Hradsky

Processor Expert Support Team

View solution in original post

0 Kudos
Reply
4 Replies
1,024 Views
vfilip
NXP Employee
NXP Employee

Hello,

could you please post here the ProcessorEpxert.pe file from your project in order to reproduce it and provide information about your CW installation? (Help->About....Build id).

We are sorry for inconvenience.

best regards

Vojtech Filip

Processor Expert Support Team


0 Kudos
Reply
1,024 Views
vfilip
NXP Employee
NXP Employee

Hello,

in the end we have reproduced it. Please let me know in case you need a hot-fix.

Note:The fix will not be published in the CW V10.3 but there is plan to publish it in the update for CW V10.3 final (Q1 2013).

best regards

Vojtech Filip

Processor Expert Support Team


0 Kudos
Reply
1,024 Views
mentair
Contributor I

Hello,

a hot-fix would be very very welcome, however, i am not using code warrior, but only the microcontroller driver suite (10.0.0) , if that makes any difference.

regards,

martin

0 Kudos
Reply
1,025 Views
Petr_H
NXP Employee
NXP Employee

Hi,

please find attached a hotfix for this issue.

The installation instructions are in readme file inside the archive. It should work in Driver suite as with the CodeWarrior.

best regards

Petr Hradsky

Processor Expert Support Team

0 Kudos
Reply