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.

[Concerto] UART malfunction with debugger connected

Hi,

I'm developing software for a Concerto C28x core and I faced a problem when it came to UART. When a debugger is connected to the core, I see that I don't receive the charachters that is end from PC. However, with the debugger disconnected the communication goes well and the controller receives messages and sends replies.

I figure, the debugger may affect clock rate of the core. The core runs at 100 MHz. 

What can be the cause for such behaviour?

  • Sergey,

    I'm wondering if this is the GEL file that is setting up the clocks when the emulator is connected to something that is for a default config that doesn't match your code setting.  This would throw the baud rate to something you are not expecting.


    Additionally if you program the flash this also changes the clock to a known good frequency for programming and doesn't return it to what ever value it was. 

    Easiest way to confirm this would be to check the PLLCR value when the emulator is connected.  After that you have some options to either change the GEL file or remove it from the project.

    Matt

  • Hi, Matt

    Sorry for a delay in replying - I was distracted by another project. I'm working with the F28M35 processor, so the clock frequency is set by the ARM core.

    I'm not sure, what happenned and what exactly helped, but the problem solved when I changed ARM-core program. I made to many changes to tell, what solved the issue.

    Anyway, could you give me some references to where I could read about GEL-files and their modification?

    Thank you .