HOME  |  NEWS  |  BLOGS  |  MESSAGES  |  FEATURES  |  VIDEOS  |  WEBINARS  |  INDUSTRIES  |  FOCUS ON FUNDAMENTALS
  |  REGISTER  |  LOGIN  |  HELP
Comment
Jon Titus
User Rank
Blogger
Re: Part IV: Fundamentals of Digital Debugging
Jon Titus   1/19/2012 3:13:24 PM
NO RATINGS
A: Jon the 'Secret Weapon' is so interesting tool. Wow, it's cool! Could you tell me a little more about your experience using it?

 

A:  Sure.  I use the printer to give me information about when the MCU reaches a specific point in my code, the value of a variable, to print a test message, and so on.  I use a UART output and simply load the ASCII bytes into the UART one after the other.  It takes a small bit of software to change an 8-bit value into two hex characters, but it's not difficult to do.  Decimal numbers take more work, so I stick with hex.  Likewise with text messages.  I store them in an array and pass the array pointer to the UART code, which them transmits the characters one by one.  I hope that helps.



Partner Zone
Latest Analysis
Get a load of these strange product designs. What's in the water these design engineers are drinking?
The Dutch are known for their love of bicycling, and they’ve also long been early adopters of green-energy and smart-city technologies. So it seems fitting that a town in which painter Vincent van Gogh once lived has given him a very Dutch-like tribute -- a bike path lit by a special smart paint in the style of the artist's “Starry Night” painting.
Cal Poly students use 3D printing to take flight -- and pass their class.
Celebrity engineer Grant Imahara will host a series of “webisodes” that will examine new technology and innovation from an engineer’s point of view.
The UX Italia video contest recognizes Italian machinery, technology, and other experience solutions that have contributed meaningful improvements to people’s lives and production processes. If you submit a three-minute video showcasing how the quality of Italian machinery's User eXperience is essential to your company's success, you just may win a trip to Italy.
More:Blogs|News
Design News Webinar Series
11/19/2014 11:00 a.m. California / 2:00 p.m. New York
11/6/2014 11:00 a.m. California / 2:00 p.m. New York
10/7/2014 8:00 a.m. California / 11:00 a.m. New York
12/11/2014 8:00 a.m. California / 11:00 a.m. New York
Quick Poll
The Continuing Education Center offers engineers an entirely new way to get the education they need to formulate next-generation solutions.
Dec 1 - 5, An Introduction to Embedded Software Architecture and Design
SEMESTERS: 1  |  2  |  3  |  4  |  5  |  6


Focus on Fundamentals consists of 45-minute on-line classes that cover a host of technologies. You learn without leaving the comfort of your desk. All classes are taught by subject-matter experts and all are archived. So if you can't attend live, attend at your convenience.
Last Archived Class
Sponsored by Littelfuse
Learn More   |   Login   |   Archived Classes
Twitter Feed
Design News Twitter Feed
Like Us on Facebook

Sponsored Content

Technology Marketplace

Copyright © 2014 UBM Canon, A UBM company, All rights reserved. Privacy Policy | Terms of Service