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.

TMS320F28388D: Ethercat issue when power on reset

Part Number: TMS320F28388D
Other Parts Discussed in Thread: C2000WARE

Hi Expert,

My customer face a strange issue that they can run Ethercat well on CPU1 and connected to Twincat with emulator connected, that is they will load the code by CCS and run everything ok.

but when they disconnected the emulator and run the device standalone when power on, there is not able to be connected to Twincat,

we thought there may be caused by RAM initialization, but we get all RAM memory at the beginning of main function of both good case and bad case, find that all RAM value and ESC register are the same between these two case, so RAM initialization may not be the root cause.

For the bad case that power on with connected to emulator, only have the issue that Twincat that can not scan the device, other function are normal and no illegal interrupt nor reset event happen. 

Could you suggest how to debug this issue?

  • Hi Strong,

    Are they testing with the 'f2838x_cpu1_echoback_solution' example in C2000WARE? That project has a Flash build configuration, which should have all the hooks to work in standalone mode. Just to verify, the default boot mode pins are set for Flash boot properly (i.e. both pulled high).

    For the bad case that power on with connected to emulator, only have the issue that Twincat that can not scan the device, other function are normal and no illegal interrupt nor reset event happen. 

    I'm confused, does it work with the emulator connected in standalone Flash build or not? How do they verify the initialization / code is working properly when the emulator is not connected.

    Best,

    Kevin

  • Kevin,

    Yes the default boot mode pins are set for Flash boot, the code run everything well except ESC connected.

    I post the summary document here. look forward to your suggestion. 

    Ethercat issue.docx

  • Discussion has moved off forum. Will post here once a resolution is found.

    Best,

    Kevin