element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • 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 Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • 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
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • 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
Dev Tools
  • Products
  • More
Dev Tools
Forum Writing code for the FRDM-Kxxx boards
  • Forum
  • Documents
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Dev Tools to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Verified Answer
  • Replies 6 replies
  • Answers 2 answers
  • Subscribers 79 subscribers
  • Views 807 views
  • Users 0 members are here
  • frdm-ke02z
  • programming
  • code
Related

Writing code for the FRDM-Kxxx boards

Former Member
Former Member over 11 years ago

Forgive my st00pidity...

 

I just bought 2 FRDM-KE02Z boards to play with, and maybe learn something.

 

I read about open SDA (which I assume is also used for bit-banging the boards)...

 

But what can I use to write code for them?  Codewarrior?  What?  Codewarrior seems to be a 30 day trial, and then pay $$..

 

I am so used to PIC and AVR - free tools...

  • Sign in to reply
  • Cancel
Parents
  • vsluiter
    0 vsluiter over 11 years ago

    Hi Tom,

    I'm using mbed quite much, and it's very easy to use. I've used in a class where I taught some C programming on KL25Z. Unfortunately, the KE02Z is not supported in the online mbed compiler yet according to this document: https://mbed.org/users/Kojto/notebook/freescale-freedom-boards-in-mbed/ .

     

    When you use a board that's supported in the online compiler, you can simply write code, press compile, and save the binary that you're downloading to your device (which enumerates as a 'MBED' usb-drive, mostly you'll need to flash the bootloader the first time you use it).

     

    The online environment is not code size limited, but of course you can't use debugging-on-target from the compiler. From the online compiler you can export to offline toolchains. Keil uVision project format is supported, but the free version of that is code size limited (32kB?? Please take a look if it suits your needs). Of course you can also immediately start writing code in uVision, but you'll have to set up the libraries. The good part for you is that the KE02Z is supported in the mbed libraries for offline use. If you want to go all the way in code size you might take a look at this project https://github.com/adamgreen/gcc4mbed#quick-start that should be a quick install of GCC in combination with the mbed libraries. I have no personal experience with this, so can't tell you how good it works. Of course if you've got GCC going and put some more effort in you'll be able to debug too.

     

    Good luck,

    Victor

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • mcb1
    0 mcb1 over 11 years ago in reply to vsluiter

    Unfortunately, the KE02Z is not supported in the online mbed compiler yet

    Opps, sorry.

    That's what you get for answering at 5am while on night shift.

     

    Not sure if Erich's posting help.

    He had a reference to one of the IDE's (that I found a long time ago) and it may be under this posting.

    http://mcuoneclipse.com/2013/07/20/dyi-free-toolchain-for-kinetis-part-1-gnu-arm-build-tools/

     

    Apologies for the wrong info.

    Mark

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Reject Answer
    • Cancel
Reply
  • mcb1
    0 mcb1 over 11 years ago in reply to vsluiter

    Unfortunately, the KE02Z is not supported in the online mbed compiler yet

    Opps, sorry.

    That's what you get for answering at 5am while on night shift.

     

    Not sure if Erich's posting help.

    He had a reference to one of the IDE's (that I found a long time ago) and it may be under this posting.

    http://mcuoneclipse.com/2013/07/20/dyi-free-toolchain-for-kinetis-part-1-gnu-arm-build-tools/

     

    Apologies for the wrong info.

    Mark

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Reject Answer
    • Cancel
Children
No Data
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