element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Members
    Members
    • Benefits of Membership
    • Achievement Levels
    • Members Area
    • Personal Blogs
    • Feedback and Support
    • What's New on element14
  • Learn
    Learn
    • Learning Center
    • eBooks
    • 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
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Dev Tools
    • Manufacturers
    • Raspberry Pi
    • RoadTests & Reviews
    • Avnet Boards Community
    • Product Groups
  • 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
Freedom development platform
  • Products
  • Dev Tools
  • Freedom development platform
  • More
  • Cancel
Freedom development platform
Blog BLOG: FRDM-KL25Z Update (SDA...)
  • Blog
  • Forum
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Freedom development platform requires membership for participation - click to join
Blog Post Actions
  • Subscribe by email
  • More
  • Cancel
  • Share
  • Subscribe by email
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: gordonmx
  • Date Created: 30 Oct 2012 12:18 AM Date Created
  • Views 181 views
  • Likes 0 likes
  • Comments 2 comments
Related
Recommended

BLOG: FRDM-KL25Z Update (SDA...)

gordonmx
gordonmx
30 Oct 2012

As I mentioned last time, one of the features I like packaged with the FRDM-KL25Z release is the OpenSDA serial debugger from Pemicro (www.pemicro.com/opensda).  The application creates a virtual USB drive on your PC where you can drag and drop a .bin (or. srec) file into the board bootlloader.  The SDA takes it from there, loading and starting your program.  Since the FRDM board’s power is supplied through the USB port, if something goes wrong, just disconnect then reconnect the SDA USB cable and the board returns to the default condition.  This is because your .bin file is not permanently stored on the USB virtual drive.  Not a good thing for long term testing, but great for initially checking your code. 

 

For good reasons, you cannot update your program by just dropping a new .bin file into the directory.  You must first clear the board by disconnecting/reconnecting the USB, then drop your file in.

 

All of the examples found on the Freescale’s website are under 90KB, so they don’t stretch the capabilities of the board or SDA application.  The size of the virtual drive is 128K, the same as the flash memory on the FRDM-KL25Z.  Whether the SDA software sets this based on the MCU available memory, am not sure. 

 

Another feature is a USB serial console port for the debugger that allows the developer to communicate to the board through a terminal emulator (i.e. TeraTerm Pro, etc.).  This is demonstrated using the low power demo program detailed in the quick start guide.  When using Windows there is no clean way to break the console connection and I found the terminal emulator would often fail to close the port correctly when I disconnected the USB cable.  Sometime you just have to wait.

 

Until next time…  Gordon

  • Sign in to reply
  • gordonmx
    gordonmx over 10 years ago in reply to FreescaleTools_and_Software

    Thanks for your reply.  I tried to go to www.pemicro.com/opensda to download the latest, but couldn't connect.  The East Coast storms may be affecting their web site.

     

    Gordon

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • FreescaleTools_and_Software
    FreescaleTools_and_Software over 10 years ago

    Hello Gordon

     

    Thank you for your review of the OpenSDA Mass Storage Device mode from the FRDM-KL25Z


    Just to clarify the point concerning the reprogramming of a new bin file.

    The board you have received for the preview roadtest prior to the launch is a preproduction version, but the final version that customers have received can be reprogrammed without it was necessarry to disconnect/reconnect the USB.

     

    When you disconnect/reconnect the USB, the firmware previously uploaded in the MKL25Z128VLK4 restarts (and you can overwrite it by draging'n dropping a new bin file in the explorer, if you are still in OpenSDA MSD mode)

    • 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 © 2023 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

  • Facebook
  • Twitter
  • linkedin
  • YouTube