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
Documents Codewarrior Tutorial for FRDM-KL25Z : Freescale Freedom Board Logic Analyzer with Triggers
  • Blog
  • Forum
  • Documents
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Freedom development platform to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Engagement
  • Author Author: FreescaleTools_and_Software
  • Date Created: 8 Mar 2013 4:10 PM Date Created
  • Last Updated Last Updated: 22 Mar 2013 10:20 AM
  • Views 633 views
  • Likes 0 likes
  • Comments 0 comments
Related
Recommended

Codewarrior Tutorial for FRDM-KL25Z : Freescale Freedom Board Logic Analyzer with Triggers

This tutorial was extracted from Erich Styger blog http://mcuoneclipse.wordpress.com with his agreement.

image image

 

 

The first FRDM-KL25ZFRDM-KL25Z Freedom Logic Analyzer firmware was missing one important feature: Triggers! But this weekend the firmware has evolved a bit :-) .

 

Triggers

     

Trigger Settings

Trigger Settings

 

 

Currently up to 8bits are supported, and only ‘Stage1′ triggers in Parallel mode. So no sequencing yet. With enabled triggers, data capturing is waiting until the value bits are matching the mask bits: (data&maskBits)==valueBits. The ‘before’ and ‘after’ ratio is not supported yet.

 

 

Sampling Rate

 

It is possible to select a sampling rate. Right now 100 kHz and 200 kHz are implemented:

 

Sampling Rate

Sampling Rate

 

 

:idea: I was able to get up to 200 kHz sampling rate with the trigger code added. It should be possible to get higher rates with optimizations enabled or reducing the interrupt load.

  

  

Recording Size

  

The client now offers as well different recording sizes. Although the buffer on the Freedom board always have the same size (that option reduces the amount of data transmitted to the OLS client):

  

Recording Size

Recording Size

  

    

Test Mode

 

And finally: The test mode functionality is implemented now:

 

  Test Mode

Test Mode

   

 

With test mode enabled, the device returns test data instead of real data from the probes:

 

Test Mode DataTest Mode Data 

  

 

Firmware

  

The current software was attached to this document but I would recommend to download the updated version on GitHub with all the Processor Expert components.

To download an updated version of the full package, simply register to https://github.com/  then connect to the repository https://github.com/ErichStyger/mcuoneclipse

If you don't want to install the tool for an automated synchronisation, just click on the button to download the full package mcuoneclipse-master.zip and extract it.image

To get updated components available in Processor Expert and project examples available in Codewarrior, you must copy-paste the content of the folder "mcuoneclipse-master" to the following place C:\ProgramData\Processor Expert\CWMCU_PE5_00

 

Warning : "ProgramData" is an hidden folder. Remember to backup first your "CWMCU_PE5_00" folder ... just in case ;D

 

 

Happy Triggering :-)

 

 

PS: Many thanks to Rainer Geiger who provided me his implementation of triggers of the SUMP protocol!

Attachments:
Freedom_LogicAnalyzer.zip
  • avr
  • microchip
  • cortex-m0+
  • freescale
  • freedom_board
  • Cortex-M
  • kinetis
  • cortex
  • stm32
  • kinetis-l
  • microcontroller
  • mcu
  • cortex-m0
  • st
  • arm
  • freedom
  • pic
  • atmel
  • Share
  • History
  • More
  • Cancel
  • Sign in to reply
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