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
For city dwellers, finding a parking space can be a time-consuming and downright exasperating task. Now, however, engineers may have found a solution to that old urban problem.
Manufacturers have to manage a wide range of data, and unstructured data -- from PDFs to video files -- has become a big challenge as the new world of Big Data emerges.
Answer this question, and more, during Design News’ Focus on Fundamentals course -- From Rapid Prototyping to Quick-Turn Production: A User’s Guide -- June 2-4. Sponsored by Proto Labs.
In his keynote address at the RAPID 2015 conference last week, Made In Space CTO Jason Dunn gave an update on how far his company and co-development partner NASA have come in their quest to bring 3D printing to the space station -- and beyond.
On Memorial Day, Americans remember the sacrifices the US armed forces have made, and continue to make, in service to the country. All of us should also consider the developments in technological capabilities and equipment over the years that contribute to the success of our military operations.
More:Blogs|News
Design News Webinar Series
5/21/2015 11:00 a.m. California / 2:00 p.m. New York
5/7/2015 11:00 a.m. California / 2:00 p.m. New York
3/31/2015 11:00 a.m. California / 2:00 p.m. New York
6/11/2015 11:00 a.m. California / 2:00 p.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.
Jun 8 - 12, Everything You Ever Wanted to Know about Filters
SEMESTERS: 1  |  2  |  3  |  4  |  5  |  6 |  7


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.
Next Course June 2nd-4th:
Sponsored by Proto Labs
Learn More   |   Login   |   Archived Classes
Twitter Feed
Design News Twitter Feed
Like Us on Facebook

Sponsored Content

Technology Marketplace

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