element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Freedom development platform
  • Products
  • Dev Tools
  • Freedom development platform
  • More
  • Cancel
Freedom development platform
Blog Merging NXP LPCXpresso IDE with the Kinetis Design Studio, Processor Expert and Kinetis SDK [working with KSDK1.3 on LPCXpresso using FRDM-K64F freedom development board]
  • Blog
  • Forum
  • Documents
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Freedom development platform to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: bheemarao
  • Date Created: 22 Apr 2016 2:00 PM Date Created
  • Views 977 views
  • Likes 1 like
  • Comments 2 comments
  • frdm-k64f
  • lpcxpresso
  • ksdk1.3.0
Related
Recommended

Merging NXP LPCXpresso IDE with the Kinetis Design Studio, Processor Expert and Kinetis SDK [working with KSDK1.3 on LPCXpresso using FRDM-K64F freedom development board]

bheemarao
bheemarao
22 Apr 2016

This document tutorial show the steps how to use LPCXpresso NXP IDE with KDS processor expert and kinetis SDK1.3 implementing using  FRDM-K64FFRDM-K64F freedom board

 

NXP LPCXpresso IDE

 

LPCXpresso is a low-cost microcontroller (MCU) development platform ecosystem from NXP, which provides an end-to-end solution enabling engineers to develop embedded applications from initial evaluation to final production.

The LPCXpresso platform ecosystem includes:

  • The LPCXpresso IDE, a software development environment for creating applications for NXP’s ARM-based “LPC” range of MCUs.
  • The range of LPCXpresso development boards, each of which includes a built-in “LPC-Link”, “LPC-Link2”, or CMSIS-DAP debug probe. These boards are developed in collaboration with Embedded Artists.
  • The standalone “LPC-Link2” debug probe.

The LPCXpresso IDE is based on the Eclipse IDE and features many ease-of-use and MCU specific enhancements. The LPCXpresso IDE also includes the industry standard ARM GNU toolchain, providing professional quality development tools at low cost. The fully featured debugger supports both SWD and JTAG debugging, and features direct download to on-chip flash.

Download LPCXpresso from

https://www.lpcware.com/lpcxpresso/download

and install it.

 

i have installed the recent one: LPCXpresso v8.1.4 [Build 606] [2016-03-14]

 

GNU ARM Eclipse Plugins

After installing the LPCXpresso open the tool and proceed to instal GNU ARM Eclipse Plugin.

LPCXpresso comes with its own build tools integration. As we are using Freescale/NXP parts i.e K64F cortex-M4 development board we need to install plugins using the open source GNU ARM Eclipse plugins.

Navigate to menu Help > Install New Software as shown below:

 

image

Then provide the following update website link

  http://gnuarmeclipse.sourceforge.net/updates

 

 

image

 

Press ‘Next’ and go through the installation process.

 

Freescale Kinetis SDK

 

Kinetis SDK (KSDK) is a Software Development Kit that provides comprehensive software support for Freescale Kinetis devices. The KSDK includes a Hardware Abstraction Layer (HAL) for each peripheral and peripheral drivers built on top of the HAL. Demo and driver example applications are provided to demonstrate driver and HAL usage and to highlight the main features of supported SoCs.

Here we need to install Kinetis SDK software as we will be using its tools merged along with LPCXpresso

Proceed to install KSDK from below link:

click Here

https://nxp.flexnetoperations.com/control/frse/product?entitlementId=123812727&lineNum=1&authContactId=73533311&authPartyId=61860331

 

image

I have installed KSDK version 1.3.0 it gets installed in below folder:

C:\Freescale\KSDK_1.3.0

The Kinetis SDK comes with an update package for Eclipse. On Windows, it is as shown below:

 

image

Install that package in LPCXpresso using the menu

Help > Install New Software

and then install that archive: as shown in below snap shot

image

image

Press ‘Next’ and go through the installation process.

 

Freescale Processor Expert

Next we need to install the processor expert package plugin to LPCXpresso:

Download Processor Expert V3.0.0 from below link:

http://www.nxp.com/products/software-and-tools/software-development-tools/processor-expert-and-embedded-components/software-suites/processor-expert-software-microcontroller-driver-suite:PE_DRIVER_SUITE?code=PE_DRIVER_SUITE&nodeId=015210BAF73F6BEC92&fpsp=1&tab=Design_Tools_Tab

 

image

This downloads you the “PEx_for_Kinetis_3.0.0_Install_into_Eclipse_4.4_Unzip_me.zip” file: as the name indicates:

unpack that archive. Besides documentation, there are two software packages in it.

“freescale_updater.zip” and

“PEx_for_Kinetis_3.0.0.zip”

image

Now we need to install plugin for this from LPCXpresso the menu Help > Install new Software and install the freescale_updater.zip first

image

Proceed further

image

Go through the installation process. Then, do the same, but this time install the PEx_for_Kinetis_3.0.0.zip:

image

Proceed further

 

 

image

The first time the IDE is launched with the new installed Processor Expert, it will update the list of supported processors:

Now the LPCXpresso platform is ready to work on with Kinetis SDK, we can create New project and test the execution.

 

Just to demonstrate it works properly with KSDK we will try to create a project for toggling an LED

Follow below snaps to create New Project

image

image

Select‘boards and pop down to  FRDM-K64FFRDM-K64F

image

Select KSDK 1.3.0 as kinetis sdk

  And make sure to click on Processor expert button

 

image

image

Now the project is created

image

You can see there is a red cross mark on the project created this is because we need to assign Build path and Toolchain path for this working set

LPCXpresso is using its own custom GNU toolchain and libraries, and not the de-facto standard one from ARM (GNU ARM Embedded from launchpad. The GNU ARM Eclipse make it easy to use different tool chains.

 

I will be giving the path of installed one of KDS 3.0 which can be found in your machine i.e

C:\Freescale\KDS_3.0.0

We need to provide paths here:

image

For build tools folder select “C:\Freescale\KDS_3.0.0\bin”

And for Toolchain folder “C:\Freescale\KDS_3.0.0\toolchain\bin”

image

Apply and click on ok

With this, the project should compile with out errors

image

Now in order to toggle the led we are going to add the fsl_gpio component from component library:

image

Open the component inspector for fsl_gpio to configure a Led to our project

image

image

image

image

image

Now to toggle just add below lines to main.c

 

for(;;) {

GPIO_DRV_TogglePinOutput(LEDRGB_RED);

                   for(int i=0;i<=10000000;i++);

          }

 

Make sure you have loaded FRDM-K64 with J-Link driver for debugging purpose

Visit below link to download the firmware for K64F (j-link/mbed drivers)

http://www.nxp.com/products/software-and-tools/run-time-software/kinetis-software-and-tools/ides-for-kinetis-mcus/opensda-serial-and-debug-adapter:OPENSDA?tid=vanOpenSDA

 

click on debug configuration as shown below:

image

Now select “K64test on LPCX” under GDB SEGGER J-Link Debugging as shown below:

image

Click on resume button to run

image

Click on the resume button to ‘Run’ the project or ‘Step into’ and ‘Step over’ button for single stepping execution:

Now you can see the RED led toggling with some delay.

 

The project folder and executables are attached along with this for quick evaluation

Happy Merging the KSDK with LPCXpresso...  image image image image

 

Attachments:
K64 test on LPCX.rar
K64 test on LPCX-bin.rar
  • Sign in to reply
  • bheemarao
    bheemarao over 9 years ago in reply to clem57

    Yes its more or less same as KDS tool as LPCXpresso IDE is based on the Eclipse IDE with more features, ease-of-use and

    MCU specific enhancements. i need to explore more on debugging features once i get LPCXpresso board.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • clem57
    clem57 over 9 years ago

    How different was your experience using LDCXpresso IDE from Kinetis IDE? Any motivation why I should change?

    Clem

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube