??? 08/04/10 11:57 Read: times |
#177633 - Good to look at available hw early on in project Responding to: ???'s previous message |
I'm happy enough to often use microcontrollers with several UART.
So if possible, I may dedicate one for trace prints and monitor commands. Very nice to be able to plug a cable to a unit and dump the measurements from all ADC channels, or ask for tranfer errors or overrun conditions. When I only have one UART, then I try to see if the UART is used in a way that would allow multiplexing, or if it may be meaningful to toggle a processor pin to switch the port from handling a sensor into becomming a monitor port. If I have a larger chip with SPI-controllers with FIFO or DMA, I might use an SPI channel for debug info. Its practical to look at the available hardware already from the start and see if debug help can be added for a reasonable cost. |