CW10.4 Workspace file for Kinetis_Examples

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

CW10.4 Workspace file for Kinetis_Examples

Jump to solution
1,262 Views
rabbit
Contributor III


Just install CW10.4 in my PC, I am interesting in this project "C:\Freescale\CW MCU v10.4\MCU\CodeWarrior_Examples\Kinetis_Examples\src\projects\freertos_lwip",

but I can't find the  .cproject  file or workspacce file for this project.

 

Regards

Sam

Labels (1)
0 Kudos
1 Solution
730 Views
trytohelp
NXP Employee
NXP Employee

Hello Sam,

for me the \src folder includes source files only.

The right way to access the project is via the Welcome panel.

Click on Help ¦ Welcome.

In the dialog select Example Projects and Kinetis Example Projects.

Then you can select the project needed.

Hope this will help you.

Pascal


View solution in original post

0 Kudos
11 Replies
730 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

agree with Pascal. besides that, under ...\Kinetis_Examples, there src and other subfolders(for example k40,k60,...).  all the project file .project is under the other folders but not src. you can open .project from other folder directly with CodeWarrior

0 Kudos
730 Views
rabbit
Contributor III


Hi Jun,

I have a TOWER-K60  and TOWER_SER board, I would like to do Ethernet project using this example:

C:\Freescale\CW MCU v10.4\MCU\CodeWarrior_Examples\Kinetis_Examples\src\projects\freertos_lwip\lwip-1.3.2.

From "Help -->Welcome --> ", I can open other K60 project, but I can't find any place can open "lwip-1.3.2" this as a K60 working project.

I do have "lwip-1.3.2" K60 example project for CW10.2,  for but I can't remember where I got it.

Regards

Samuel

0 Kudos
730 Views
trytohelp
NXP Employee
NXP Employee


Hi Samuel,

Sorry for delay, I was in vacation last week.

The src folder contains sources files only but not project.

the right folder is the other folders in \CW MCU v10.4\MCU\CodeWarrior_Examples\Kinetis_Examples but not the src one.

I've checked the MCU V10.2 and under \CW MCU v10.2\MCU\CodeWarrior_Examples\Kinetis_Examples\k60 folder, the freertos_lwip and freertos_uip folders were available.

This is not the case on MCU v10.4.

I don't know why these folders were removed.

   I will check with Product Manager.

To solve the problem I recommend you to use the MCU v10.2 project.

Attached you will find the zip file containing the projects.

On my side I've copied them in the \CW MCU v10.4\MCU\CodeWarrior_Examples\Kinetis_Examples\k60 folder.

When I click on Kinetis Example Projects via the "Help -->Welcome --> ", the freertos_lwip example is listed now.

Hope this will help you.

Pascal

0 Kudos
730 Views
rabbit
Contributor III

Hi Pascal,

Thanks for your help, I put those files to CW10.4, it pass the compiler.

K60 is for network IC, but not so many examples/application notes for this IC in Freescale website.

We use Lwip for other MCU, we move to Freescale because K60 gets data encrytion and other features.

It will be great if you can find some documents for me related to data encrytion.

It will be great if there are some details for how to make those two examples working at K60-TOWER board, save me time to setup the Etnerent part.

Regards

Sam

0 Kudos
730 Views
trytohelp
NXP Employee
NXP Employee

Hi Sam,

I don't have knowledge regarding the processor.

Regarding the tool, under MCU v10.4 installation there are some other example based on Processor Expert in the folder:

      \CW MCU v10.4\MCU\CodeWarrior_Examples\Processor_Expert\Kinetis

I've created an project for K60 with Processor Expert.

I don't find bean for Data encryption but there are 2 beans for Securtiy: CRC_LDD and RNG_LDD.

These beans are available under Logical Device Drivers + Security.

Not sure this is what you're looking for.

for other processor DSP family there is a bean named DSP_RSA.

Extract of this bean:

The RSA bean encrypts/decrypts user-supplied data. The data to be supplied must be in words, ...

Unfortunately the bean is available forDSP devices.

Probably this question is more for Hardware team.

If this will not answer your question I recommend you to post a new question on Kinetis forum:

      https://community.freescale.com/community/kinetis

Hope this will help you.

Pascal

0 Kudos
730 Views
rabbit
Contributor III

Hi Pascal,

Maybe I didn't explain clear enough.

What I really need is the details how to make the project"freertos_lwip" work, similar to "Web Server Demo" in TWRK60N512QSDLAB.pdf, step to step to guide setup the board and the PC, Ethernet is compilcated because it involve to IT administrator's corporation.

It will be great If you can find something for me.

Regards

Sam

0 Kudos
730 Views
trytohelp
NXP Employee
NXP Employee


Hi Sam,

I got details from colleague regarding this question.

See below:

++++++++++++++++++++

This is the most similar to a step by step lab is the readme.txt file that you find in KINETIS512_SC\KINETIS512_SC\build\iar\freertos_lwip

I cannot find anything else.

++++++++++++++++++++

You can download it for our web site:

http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=TWR-K60N512&fpsp=1&tab=Design_Tools_T...

here select

KINETIS512_V2_SC : Kinetis 100MHz Rev 2 Example Projects.

Size (K): 705 Format: zip Rev #: 1.0 Modified: 5/23/2013

the zip file contains some examples.

Refer to the KINETIS512_SC\build\iar\freertos_lwip\readme.txt file.

Attached you will find the doc.

Regards

Pascal

0 Kudos
730 Views
rabbit
Contributor III


Hi Pascal,

I try it, it fails:

In file: "ethernetif.c"  ==> Function "static void low_level_init(struct netif *netif)"

/* Wait for auto negotiate to complete. */
  do
  {
    vTaskDelay( netifLINK_DELAY );
    mii_read( 0, configPHY_ADDRESS, PHY_BMSR, &usData );

  } while( !( usData & PHY_BMSR_AN_COMPLETE ) );                              ==>Can't finish this while loop.

Nothing worong with the TOWER boards hardware, because it works fine with this

C:\Program Files\Freescale\Freescale MQX 3.8\demo\TWR-K60N512_Quick_Start_Demo\cw10.

Would you please ask you colleague to double check if it work?

Reagrds

Sam

0 Kudos
730 Views
trytohelp
NXP Employee
NXP Employee


Hello Sam,

Can I recommned you to send/post your problem to our support team ?

You can post it by sending an email to support@freescale.com or via your freescale account...

You can contact us using the on line support web page.

  - Go to following URL: http://www.freescale.com/TechSupport

  - Click on Submit a Service Request. You will come to a login page.

  - If you are already registered with Freescale (using the Forum, subscribed to newsletter, ...) use your Freescale login and password. Otherwise, Click on "Register Now" to get registered.

  - You can submit your request through the web from there.

Regards

Pascal

0 Kudos
730 Views
trytohelp
NXP Employee
NXP Employee

Hi Sam,

Sorry for the delay.

I don't find similar doc for freertos_lwip project example.

I will ask a colleague.

Pascal

0 Kudos
731 Views
trytohelp
NXP Employee
NXP Employee

Hello Sam,

for me the \src folder includes source files only.

The right way to access the project is via the Welcome panel.

Click on Help ¦ Welcome.

In the dialog select Example Projects and Kinetis Example Projects.

Then you can select the project needed.

Hope this will help you.

Pascal


0 Kudos