Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

CCS/CC3220SF-LAUNCHXL: CC3220SF UART_open() crashing

$
0
0

Part Number:CC3220SF-LAUNCHXL

Tool/software: Code Composer Studio

Hello:
I have recently upgraded my CC3220SF project to use the SDK version "simplelink_cc32xx_sdk_2_30_00_05" - in doing so, I noticed when running my project in a debug session when I try to initialize my UARTS that I jump to "faultISR(void)".
By further inspection of the code, it appears that UART_open() is the culrprit (it enter the function but never returns).
In my project, I have two uarts (uart0 is the debug output uart, uart1 is for a serial transport used to talk to another processor).

I have attached a screenshot of my init routine - it always fails when trying to initialize uart1 - UART_open(Board_UART1, &uartParamsSerialTransport);
If I comment the initialization of the uartParamsSerialTransport uart, everything works fine (meaning uart0/uartParamsDebug initializes ok and functions as before)
If I change the order in the init routine (meaning, initialize uart1/uartParamsSerialTransport first, then uart0/uart0/uartParamsDebug ) - I still get the crash.
NOTE: this init routine has worked flawlessly in the past
Can anybody shed any light on this and suggest a fix?
 Thanks in advance!!
Dave...

Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>