Getting started MK20 how too

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

Getting started MK20 how too

Jump to solution
2,356 Views
stevesteadmans
Contributor I

I have a newbie question, I am learning about the M3/M4 processor and need to get started with an IDE and a controller.  I have the MK20DX256 processor already and downloaded the MCUXpresso IDE but can't seem to find the SDK for this processor.  Is there a "getting started" help doc or video I can look at?  What do I need to initialize this microcontroller so all the registers are setup and ready for code to written?

I did read that the MCUXpresso doesn't support the K20 family but that was last year and I was hoping this has been changed.

***Side Note*** I have a Teensy 3.1 microcontroller that uses this processor so I am using that since it already has the USB connection along with breakout pins.  I know I can use the Arduino IDE but it is very limited on its capabilities.

Tags (1)
0 Kudos
Reply
1 Solution
2,112 Views
Sabina_Bruce
NXP Employee
NXP Employee

Hello Steven,

 

   MCUXpresso SDK only supports the MK20Dxxx10 which runs at 100Mhz. Taking a look at the Teensy 3.1 it is running up to 72Mhz, so the SDK available will not work. However there is an article which explains what modifications you can do to allow for SWD debugging.

You can check that out here.

 

If you would like to work with one of our solutions I would recommend the following:

For a development board with a Cortex M4, the Freedom Development Board for Kinetis K64 is a very complete option.

If you would like to stick to something similar to the Teensy 3.1 you can check out the LPC845-BRK, but this one has an Cortex M0+ .

 

Both of these already have the debugger implemented as well as the SDK available and example projects so you will not have any trouble getting started with MCUXpresso IDE.

Let me know if this helps!

Sabina 

View solution in original post

5 Replies
2,112 Views
mjbcswitzerland
Specialist V

Hi Steven

Also look at the uTasker project which supports Teensy3.1, Teensy3.5, Teensy 3.6 and almost all NXP boards (and Kinetis processors) without the need to port between chips. It removes IDE restrictions (will build with GCC, KDS; CW10, MCUXpresso, IAR, Keil, GreenHills, Atollic, Rowley, CooCox and Visual Studio - to simulate the Teensy or other chips/boards - it can also be used with PlatformIO which is popular with Teensy /Arduino users).

It is free on GitHub so perfect for hobby/education users needing more flexibility and features, plus easier for learning due to its Kinetis chip simulator which emulates peripherals, interrupts, DMA etc...

For professionals it has a supported version which supplies complete project solutions rather than just examples (to slash product development times and costs, plus ensure project success).

Regards

Mark

Kinetis: http://www.utasker.com/kinetis.html
Kinetis K20:
- http://www.utasker.com/kinetis/FRDM-K20D50M.html
- http://www.utasker.com/kinetis/TWR-K20D50M.html
- http://www.utasker.com/kinetis/TWR-K20D72M.html
- http://www.utasker.com/kinetis/TEENSY_3.1.html
- http://www.utasker.com/kinetis/tinyK20.html

2,113 Views
Sabina_Bruce
NXP Employee
NXP Employee

Hello Steven,

 

   MCUXpresso SDK only supports the MK20Dxxx10 which runs at 100Mhz. Taking a look at the Teensy 3.1 it is running up to 72Mhz, so the SDK available will not work. However there is an article which explains what modifications you can do to allow for SWD debugging.

You can check that out here.

 

If you would like to work with one of our solutions I would recommend the following:

For a development board with a Cortex M4, the Freedom Development Board for Kinetis K64 is a very complete option.

If you would like to stick to something similar to the Teensy 3.1 you can check out the LPC845-BRK, but this one has an Cortex M0+ .

 

Both of these already have the debugger implemented as well as the SDK available and example projects so you will not have any trouble getting started with MCUXpresso IDE.

Let me know if this helps!

Sabina 

2,111 Views
ryan_pearson
Contributor III

I am trying to get started with an MK20DN64VFM5 that we've committed to using on our board.  I've tried several ways to get it going with no luck.  I tried the getting started steps for the FRDM-K20D50M found here.

FRDM-K20D50M|Freedom Development Platform|Kinetis | NXP 

I hit a snag in the getting started guide when the hello world project does not build in IAP.

I have also tried generating a simple project with KDS, and choosing MK20DN64xxx5 as the device.  It builds.  I tried to debug with a segger j-link to no avail.

Can you provide the settings I should use in the debug configuration GUI for a j-link?  Should I too follow K64 getting started instructions?

0 Kudos
Reply
2,112 Views
Sabina_Bruce
NXP Employee
NXP Employee

Hi Ryan, 

I will be more than happy to help you solve this, but if you could please create a new question in the community as the information is different from the original post on this thread.

Thank you,

Sabina

0 Kudos
Reply
2,112 Views
ryan_pearson
Contributor III

Thanks, done.

0 Kudos
Reply