6

Debugging the Interrupts

“Got a minute?” Cody asked as he dropped into the chair beside Matt’s desk.

“Sure. What’s up?”

“I showed the programmer to Josh and one of the marketing guys, and they want some changes that I’m not sure how to accomplish. They say that the messages are too slow during programming, it makes the system look sluggish. And they want to be able to send any command from a script file without worrying about the programmer falling behind and losing data.”

“Let’s take them one at a time,” Matt said. “How are your messages transmitted?”

Cody pulled several stapled sheets from a folder. “Here’s the pseudocode for the transmit portion of the background loop,” he said, pointing.

If UART Tx register empty (ready to transmit),

Get Debugging Embedded Microprocessor Systems now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.