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 803 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
  • mcb1
    0 mcb1 over 11 years ago

    mbed.org is free, but it's an online system.

    You can save all your files, but the compiler is not downloadable.

     

    I have a feeling there is another with a memory limitation ...search the site under KL25z

     

    Mark

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

    Thanks for the input!

     

    Assuming mbed is the way to go, what is the proper format to export to? 

     

    That is, it appears that an SDA binary is what's needed...  How do I create that?

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

    Everything you need to know is there.

    You do require a windows based machine to load the appropriate file first.

    After that its anything.

     

    Mark

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

    Yes it's all web based, Shabaz has been enthusing over it he's using it for a project he's working on at the moment .

    By the looks of things those parts on the dev boards are available from Farnell at a good price  and have a big lump of memory/USB etc so  moving away from the usual controller suspects you are getting Value!!!

     

    here's the MBED link http://mbed.org/teams/Freescale/

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • 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
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