Part Number: F28M35H52C
Other Parts Discussed in Thread: CONTROLSUITE
Tool/software: Code Composer Studio
Hi TI,
I'm almost certain I'm doing something stupid, but I'm stumped.
I have some software that uses the uartstdio library for terminal IO. Because I need to have the UART be non-blocking, and that requires that I be in UART_BUFFERED mode (because functions like UARTRxBytesAvail() don't even exist unless UART_BUFFERED is defined), I went ahead and set the define to 1. When I do this, the code crashes with an unexpected interrupt.
To be clear,
// #define UART_BUFFERED 1
...works fine
#define UART_BUFFERED 1
...sends me off to IntDefaultHandler().
What I'm doing really isn't all that complex. In fact, at this point, I'm not even trying to send characters in. I'm just using the library as a printf. It gets halfway through the first message and crashes (I can see "LED task initializ" on PuTTy) off to IntDefaultHandler.
My guess is that there's something else that has to be set up to use the buffered mode. An ISR, perhaps? But I'm at a loss as to what it is.
Help?