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.

Unable to download firmware in TM4C1230H6PMI.

 Hi,

Can any one help us to debug the H/W issue :

we are working on telemetry project which will be implemented in Automotive sector.

In this design we are using TIVA C Series Micro controller with part no. TM4C1230H6PMI.

On our board we have 3.3v as input supply VDD and RC Reset circuit and for this test we are not using external crystal.

Now, we are tyring to download the code. we have downloaded the firmware through JTAG ULINK2 communication once by using Flash download tab in Kiel-5.1.0 Tool. It shows following message.

                                                                     Erase Done.
                                                             Programming Done.
                                                                     Verify OK

Now we are unable to flash the code again through JTAG, it shows following message.

                                          " CANNOT ACCESS MEMORY"

We are not getting the root cause of this problem. Can anybody help us to find that?

Thanks in Advance

Rajesh Matere.

  • Hello Rajesh

    1. Is 3.3V applied to both VDD and VDDA

    2. Is the VDDC 1.2V

    3. In the code did you use the GPIO's PC0-PC3 as GPIO?

    4. In the Code what was the SysCtlClockSet function parameters?

    5. Did you try running the JTAG Unlock Mechanism?

    Regards

    Amit

  • RAJESH MATERE said:
    we have downloaded the firmware through JTAG ULINK2 communication once!

    Appears to this simple reporter: that single firmware download was your clear, "root cause." 

    Amit lists, "usual suspects" - repurpose of JTAG/SWD pins and/or mismatch between your board and System Clock Set parameters "top" that list.

    Your use of "no external xtal" is my guess - placing that parameter correctly often challenges...

  • Thanks for your reply,

    I found a solution ,after placing a external 16MHz crystal board get worked fine.

    Regards,

    Rajesh Matere.

  • Hello Rajesh

    In the past also quite a few of the community members have not mounted an external crystal and ran into the same problem. It is always good to mount the external crystal if you intend to use it. If not then make sure that OSC0 pin is always GND-ed

    Regards

    Amit