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.

TM4C129DNCPDT USB Connection Error

Other Parts Discussed in Thread: TM4C129DNCPDT

I am using CCS 6.0.1.40 with compiler TIv5.1.6.

I am configuring USB in serial configuration to use as virtual serial port in TM4C129DNCPDT.

my code runs successfully and the COM port detect by the PC and i can successfully communicate  with device with teraterm and with my labview and matlab software.

But some times if i modify or add some code in any random file which haven't any relation with USB in those cases the COM port is detected by PC and also i get USB connect and disconnect even in ControlHandler of USB. But Labview and Matlab unable to open that port but teraterm can open port and successfully able to communicate.

But if i add some more lines or just copy some instructions and paste below or delete some lines then Labview and Matlab can successfully communicate with my device. 

I have noticed that by adding or removing some instructions the Memory assignment of functions modified in map file so i think that in problem conditions the USB related functions address might get overlapped or changed.

I have also compare CCS project properties with example code.

  • I found one solution..
    In Project Properties -> Build -> ARM Compiler -> Advance Options -> Run Time Model Option -> Place each functions in a separate sub sections

    In example code TM4C this option is selected as on. But if i create new blank project this setting in blank (the first option). If i do the same in my project. My problem is solve. Now with the same problem code Labview and matlab can successfullt communicate with my device.

    So whats the recommended option to select for the "Place each functions in a separate sub sections " setting?