Jon Titus
User Rank
Re: Part IV: Fundamentals of Digital Debugging
Jon Titus   1/19/2012 3:13:24 PM
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
Governmental policies and mandates in Europe are leading the way in creating low-carbon manufacturing.
Digital healthcare devices and wearable electronic products need to be thoroughly tested, lest they live short, ignominious lives, an expert will tell attendees at UBM’s upcoming Designers of Things conference in San Jose, Calif.
Designers of electronic interfaces will need to be prepared to incorporate haptics in next generation products, an expert will tell attendees at the upcoming Designers of Things conference in San Jose, Calif.
According to a Randstad Engineering compilation of salary studies, engineering salaries are increasing beyond inflation, with employers paying to keep potential suitors away from their employees.
The company says it anticipates high-definition video for home security and other uses will be the next mature technology integrated into the IoT domain, hence the introduction of its MatrixCam devkit.
Design News Webinar Series
11/10/2015 11:00 a.m. California / 2:00 p.m. New York
10/29/2015 11:00 a.m. California / 2:00 p.m. New York
10/20/2015 8:00 a.m. California / 11:00 a.m. New York
12/2/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.
Jul 6 - 10, Building Raspberry Pi Controllers with Python
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.
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