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
The engineers and inventors of the post WWII period turned their attention to advancements in electronics, communication, and entertainment. Breakthrough inventions range from LEGOs and computer gaming to the integrated circuit and Ethernet -- a range of advancements that have little in common except they changed our lives.
The age of touch could soon come to an end. From smartphones and smartwatches, to home devices, to in-car infotainment systems, touch is no longer the primary user interface. Technology market leaders are driving a migration from touch to voice as a user interface.
Soft starter technology has become a way to mitigate startup stressors by moderating a motor’s voltage supply during the machine start-up phase, slowly ramping it up and effectively adjusting the machine’s load behavior to protect mechanical components.
A new report from the National Institute of Standards and Technology (NIST) makes a start on developing control schemes, process measurements, and modeling and simulation methods for powder bed fusion additive manufacturing.
If you’re developing a product with lots of sensors and no access to the power grid, then you’ll want to take note of a Design News Continuing Education Center class, “Designing Low Power Systems Using Battery and Energy Harvesting Energy Sources."
More:Blogs|News
Design News Webinar Series
3/31/2015 11:00 a.m. California / 2:00 p.m. New York
2/25/2015 11:00 a.m. California / 2:00 p.m. New York
12/11/2014 8:00 a.m. California / 11:00 a.m. New York
5/7/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.
May 4 - 8, Designing Low Power Systems using Battery and Energy Harvesting Energy Sources
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.
Last Archived Class
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