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.

TM4C1294NCPDT: CCS compile and debug errors

Part Number: TM4C1294NCPDT

Hi,teams

   I want to use TM4C1294NCPDT Launchpad  to  accomplish  spi communication.

I add spi code in the  example  named Blinky. The code compiles fine, but doesn't download fine。

The error is as follows:

Under the CCS edit page,click Run--->Debug configuration, in the pop-up window,

click Progarm, loading options, change  "Load program"  to  " load symbols only"

After this operation, I can download normally.

But when i click suspend botton, Error: Debug Port error occurred.

So,I have two questions:

 (1) How to operate correctly when occur"Values at address 0x00000001 ........"

(2) How to solve error"Debug Port error occurred"?

  • Hi,

     (1) How to operate correctly when occur"Values at address 0x00000001 ........"

     - The .out file was never successfully loaded to the flash. When you later try to only load symbol, it will not work because the flash does not have the binary. 

     - Can you reload a stock example .out file? I don't know what you modify to the blinky example. Therefore, try to reload the original blinky example or other examples from TivaWare library (e.g. hello example or project0 example.) If you still have problem loading the original examples then there may be something wrong with either the LaunchPad or your CCS  configuration for flash programming. 

     - Is this the first time you try to use the LaunchPad? Or you have used the board before and it was working until now when you modify the example to include spi code? 

      - Can you try to use either LM Flash programmer or Uniflash to load the same program? Will you have the same problem? If both these programmer tools also fail then it is very likely a problem with the board.

      - Do you have another LaunchPad? Can you repeat the same problem?

  • Thanks for your quick response.

    (1)Can you reload a stock example .out file? 

    If this error occurs, the same error will still be reported even if the routine is reprogrammed later.

    (2)  Is this the first time you try to use the LaunchPad?Or you have used the board before and it was working until now when you modify the example to include spi code?

    At the beginning, the programming routine was able to run normally, maybe because the programming I programmed contained SPI code, which caused the programming to fail, and neither the routine nor the code edited by myself could be burned in later.

    (3)If you still have problem loading the original examples then there may be something wrong with either the LaunchPad or your CCS  configuration for flash programming. 

    I have tried it with other boards, but still report an error.if CCS configuration has a problem,What configurations can I try to change?

  • Hi,

      I'm not clear with your responses. Are you saying you are getting the same error when you load the original blinky example? Please confirm if you are getting the same error if you load a simple example like blinky, hello or project0.