This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
I am using latest version of MCU+SDK and have gotten plenty of other programs such as GPIO interrupts, the hello world, and various others to run but none of the UART examples work for me, they just send the message of "...test started..." and can get no further. One interesting thing is when I upload the code for things that work, its shows things such as "main" in my debug panel but I get this when I upload the UART example:
Any reason it just gets stuck? I did some print statements along the way and found it mainly occurs right when it tries to do any sort of TX.
Hi Dylan,
I tried these two UART examples on the LP and they work for me:
I'm using the SOC initialization method described here: https://software-dl.ti.com/mcu-plus-sdk/esd/AM243X/08_02_00_31/exports/docs/api_guide_am243x/EVM_SETUP_PAGE.html#autotoc_md26
Can you try resetting the R5F CPU before loading the program and see if that helps? In CCS, select R5_0_0 in the Debug window and select Run->Reset->CPU Reset.
Let me know if that helps.
Regards,
Frank
I am using the same, OSPI boot mode that you are (from the link), I did notice a newer version of MCU+SDK came out last month and I have installed it but building any of the projects gives an an error.
Resetting the CPU fixed the issue with the first picture I sent but it still froze so I think I should try to run the latest project, once I can build it.
Dylan,
Ok, let me know if you need further assistance on this. I'm using the latest SDK 08.02.00.31. It looks like you're failing in the post build step. Make sure you have all tools installed as described here: https://software-dl.ti.com/mcu-plus-sdk/esd/AM243X/08_02_00_31/exports/docs/api_guide_am243x/SDK_DOWNLOAD_PAGE.html#autotoc_md12
Regards,
Frank
I reinstalled CCS and the MCU+SDK and built the uart echo + dma example but I only get this in the terminal:
"[UART] Echo example DMA mode started ..."
from there nothing else happens
Ah, I see the problem was I did not have the right COM port opened. Is it possible to change the terminal text color? Mine is very dark.
Dylan,
You can setup a CCS UART terminal as described here: https://software-dl.ti.com/mcu-plus-sdk/esd/AM243X/08_02_00_31/exports/docs/api_guide_am243x/EVM_SETUP_PAGE.html#CCS_UART_TERMINAL
The colors are light by default. You can right-click in the CCS terminal window, and select "Inverted colors".
Regards,
Frank
Sadly if I have CCS on dark mode, the normal version is super dark gray with a black background and inverting the colors becomes black text with a black background
Dylan,
Ok, I'm looping in CCS experts for further comment.
Regards,
Frank
HI Dylan,
What version of CCS are you using? We had several issues with our dark theme in older versions of CCS (10.x). Most of them should be resolved in current CCS versions.
Thanks
ki
I reinstalled CCS recently and am on 11.2 here is a picture of what it looks like:
inverted colors:
inverted colors is off:
The invert function does not work well for me.
Here is my default terminal when in dark mode. I highlighted some of the text to make it visible.
Here are the settings that I would recommend. Go to the Preferences dialog and then type terminal in the search box. Click on Terminal in the tree. Select white for the text. Uncheck the invert option. Apply. I suppose you could do the reverse and select white as the background and leave invert on.
Here is what it looks like afterwards.
Regards,
John