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.

TM4C1290NCPDT: TM4C129 can't reprogram after configure swo pin incorrectly

Part Number: TM4C1290NCPDT
Other Parts Discussed in Thread: EK-TM4C1294XL

Hi team,

Customer encountered an issue when used TM4C129.

They configured swo pin of swd interface to gpio port. And now they can't to reprogram the code.

Do we have any idea to fix this issue?

They tried to use Jlink to erase the code in flash or reset the device but it didn't work. 

From their report the error is the device doesn't find swd interface.

Thanks a lot.

BR,

Steven

  • Hello Steven,

    We have an example in TivaWare that shows how to toggle pins between GPIO and JTAG mode. Please refer them to it. The location in the TivaWare SDK is as follows:

    [Install Path]\TivaWare_C_Series-2.2.0.295\examples\boards\ek-tm4c1294xl\gpio_jtag

    Best Regards,

    Ralph Jacobi

  • Hi Ralph,

    This method fixed their issue. Thanks a lot.

    By the way customer were porting ucosii to tm4c for development, but recently they found crash problem when using json for operation. They ruled out the heap overflow problem, and determined that it should be a crash when the ucosii floating-point number was stacked. They want to know how to modify UCOSII to adapt to floating-point number.

    BR,

    Steven

  • Hello Steven,

    I am not familiar with UCOSII at all. Maybe I am not understanding if this is a question for TM4C code or CCS settings. If it is, please make a new thread detailing exactly what is being asked about the TI side of this as we don't have any experience with UCOSII.

    Best Regards,

    Ralph Jacobi