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: TI RTOS GPIO Configure

Part Number: TM4C1294NCPDT

Hello,

I use the tcpecho example provided. 

I have got two questions : 

Could you explain to me the addresses written in the flash when loading in debug?

 When I configure the pin in the port G and after I have got an exit.

Have I got a problem the size of the access memory ? 

Thanks in advance for your answer

Christophe GARRIGUES

  • Hi,

      Have you run the example as is? Did you work? 

     When I configure the pin in the port G and after I have got an exit.

    How did you configure port G? What else did you modify for the example? You might want to do a diff and show exactly what you change.  If portG is not enabled and you try to access portG then an abort will be generated. I'm not sure if portG is why you are getting a fault because reading your MMAR, it shows 0x40061400 which is for portK. 

      

  • Hi,

      Have you run the example as is? Did you work? 

     When I configure the pin in the port G and after I have got an exit.

    How did you configure port G? What else did you modify for the example? You might want to do a diff and show exactly what you change.  If portG is not enabled and you try to access portG then an abort will be generated. I'm not sure if portG is why you are getting a fault because reading your MMAR, it shows 0x40061400 which is for portK. 

      

  • Hi,

    Could you explain to me the addresses written in the flash when loading in debug?

    Below is what I see when I load my tcpecho. If you add 0x7f80+0x7f80+0x38a8, it is equal to 0x137a8. If I go to my map file I see the same number. See below my map listing. You can check against your map file. 0x7f80 is about 32k of size which is equal to one flash sector size. The programmer needs to first erase a sector before it can program the sector. 

    SEGMENT ALLOCATION MAP

    run origin load origin length init length attrs members
    ---------- ----------- ---------- ----------- ----- -------
    00000000 00000000 000137a8 000137a8 r-x
    00000000 00000000 0000003c 0000003c r-- .resetVecs
    00000040 00000040 0001102a 0001102a r-x .text
    0001106c 0001106c 00002375 00002375 r-- .const
    000133e8 000133e8 000003c0 000003c0 r-- .cinit
    20000000 20000000 00000360 00000000 rw-
    20000000 20000000 00000360 00000000 rw- .vecs
    20000380 20000380 0000fc88 00000000 rw-
    20000380 20000380 0000ec28 00000000 rw- .bss
    2000efa8 2000efa8 00000860 00000000 rw- .data
    2000f808 2000f808 00000800 00000000 rw- .stack