TWR-K70F120M + TWR-LCD-RGB using CodeWarrior + eGUI code example

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

TWR-K70F120M + TWR-LCD-RGB using CodeWarrior + eGUI code example

17,379 Views
apanecatl
Senior Contributor II

A significant number of customers have been asking for a code example made in CW to enable K70's LCDC using TWR-LCD-RGB and eGUI,a s most of you know there are two code examples for AN4588, one was created using eGUI + IAR 6.3 and the other one was created using PEG+ + CodeWarrior, however those customer who already purchased the CW license were trying to figure out why we don't have a code example using our own software, well; we do have that code example, I'm posting it here for all of those interested in the K70 LCD graphic controller capabilities.

Original Attachment has been moved to: TWR-K70FN120M-CW-eGUI_3.0.zip

Labels (1)
49 Replies

1,615 Views
randybulloch
Contributor III

I was using twrk70120m_Int_Flash_SramData_Debug configuration.  I need to modify the include directories for the DDRData version and will test that.  Makes since that I ran out of ram.  I'll post after fix & trial. 

0 Kudos
Reply

1,615 Views
randybulloch
Contributor III

Changed the make to add include directories for twrk70120m_Int_Flash_SramData_Debug configuration.  Application makes OK.

However, when attempting to initiate debugging, the DDR_Data_Debug_PnE U-MulitLink fails to connect to the target.  A dialog box with a "Title" of "SEGGAR J-LINK V4.74" and a message of "No emulators connected via USB" appears.  The SramData configuration continues to download OK.

0 Kudos
Reply

1,615 Views
randybulloch
Contributor III

Yes, this is the basic issue ! I have installed CW & MQX on drive E:.  The CW default for MQX_ROOT_DIR in the  MQX BSP build is E:xxx.  The CW default for MQX_ROOT_DIR in the  EGUI demo build is C:xxx !  I had not noticed the difference.  After adding some additional search paths the demo compiles.

I notice also that in specifying the search paths it is necessary to specify the path on the disk and NOT the path relative to the WORKSPACE.  This also had me stumped.

0 Kudos
Reply

1,615 Views
randybulloch
Contributor III

Thanks Luis!

0 Kudos
Reply

1,615 Views
joelesco
Contributor III

Hi Pedro,

First I would like to say thank you for the code example !

I tried to use it but I have an error . I cannot understand how to fix it ! Maybe you could help me !

Erreur.jpg

I look on the path but there just a psp folder and not a bsp :s

Maybe it's a stupid question but ...

I'm looking forward to your reply !

(And sorry for my english ! )

0 Kudos
Reply

1,615 Views
LuisCasado
NXP Employee
NXP Employee

Hi,

Those are only warnings.  Have you build the MQX K70 libraries? You should build the libs witrh the included user_config.h

  #define MQX_USE_LWTIMER            1 is needed for the demo to work.

Copy user_config.h to C:\Freescale\Freescale_MQX_4_0\config\twrk70f120m

Rebuild the MQX libraries

Rebuild the project.

Regards,

Luis

0 Kudos
Reply

1,615 Views
joelesco
Contributor III

I'm sorry Luis it's the first time that i use MQX.

How can I built the libraries ? I read that (http://www.freescale.com/files/soft_dev_tools/doc/support_info/FSL_MQX_Getting_Started.pdf) but ... I'm lost.

Could you explain me briefflly what i've to do ?

Thanks again !

0 Kudos
Reply

1,615 Views
joelesco
Contributor III

it's Okay I found a video that explain how to build  !

Thank you Pedro !

0 Kudos
Reply