5

Debugging the Software

“I’ve got the hardware checked out,” Cody said. “Any idea how I can handle the baud rate selection without adding hardware?”

“Let’s look at the schematic,” Matt suggested.

Cody placed the drawings on the desk. “I’ve used all three of the 8255 ports for the PROM in the programming socket. I’ve got four bits that I can read from the programming adapter, but I don’t want to use those.”

“What baud rates do you need?”

“Josh said 9600, 19200, and 38400 would be enough.”

“Can you use jumpers or a DIP switch inside the box?”

“Sure. We don’t expect to change the baud rate once a system is set up and running. He just doesn’t want to make downloads unnecessarily slow if the programmer is connected to a computer that can run faster.” ...

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.