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
BMW has already incorporated more than 10,000 3D-printed parts in the Rolls-Royce Phantom and intends to expand the use of 3D printing in its cars even more in the future. Meanwhile, Daimler has started using additive manufacturing for producing spare parts in Mercedes-Benz Trucks.
Researchers have been developing a number of nano- and micro-scale technologies that can be used for implantable medical technology for the treatment of disease, diagnostics, prevention, and other health-related applications.
SABIC's lightweighting polycarbonate glazing materials have appeared for the first time in a production car: the rear quarter window of Toyota's special edition 86 GRMN sports car, where they're saving 50% of its weight compared to conventional glass.
Take a look at some of the best movies that include self-aware machines.
An engineer in the United Kingdom has found inspiration in nature for the design of bridges that are far stronger and more durable than current designs.
More:Blogs|News
Quick Poll
The Continuing Education Center offers engineers an entirely new way to get the education they need to formulate next-generation solutions.
Jul 11 - 15, Embedded System Design Techniques™ - Debugging Real-time Embedded Software – Hands on
SEMESTERS: 1  |  2  |  3  |  4  |  5  |  6 |  7 | 8 | 9 | 10


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

Technology Marketplace

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