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.

CCS/TIEVM-VIENNARECT: CCS troubles with TIDM_1000

Part Number: TIEVM-VIENNARECT
Other Parts Discussed in Thread: TMS320F28379D, SFRA, TIDM-1000

Tool/software: Code Composer Studio

We are trying to evaluate the TIDM_1000 for use in development of our own 3 phase PFC power supply using a c2000 MCU.

This is the first time using a TI MCU or CCS.

So far we have had many issues with getting the project to run in ccs v10.1, xds100v2 probe, using a TMS320F28379D, project was installed with C200ware_digitalpower_SDK-3.00.01 and our input source is a 3 phase 0-480VAC variac.

When we are able to get the debugger and the project builds to run, we are not getting consistent output results, we have tried all 4 builds, with and without CLA with very limited success. 

We have not edited any of the project files and only changed values in the GUI for the project; build level, power (corresponding to external load changes) and ran the SFRA when the project was running, though we had freezing and crashing with SFRA also.

Connection tests of the MCU communication and debug probe pass, however 4 out of 5 times approximately we are getting 1142 errors when trying to run and/or crashes of ccs.

We have tried this on 2 different windows PC, also multiple project work spaces starting over with the process.

The only build that successfully had a PFC close to 0.99 at 208VAC input was build 3, though it took multiple tries to get it to run successfully.

All other builds, when successfully ran on the system failed to power factor correct at the 208VAC input voltage, some would have distorted line currents when boosting the output load voltage and often not reach 600VDC out or output voltage would appear unstable unless we reduced our input voltage to around 50%.

We are attempting to follow the TIDM design guide instructions exactly, though have found some gaps in the documentation and through research and trial and error solved some issues. 

I am questioning if our TIDM_1000 has some hardware issues or the download(s) are corrupted perhaps even the project is not compatible somehow with our software versions.

Any assistance or pointers in the right direction would be appreciated.

  • Hi Chris,

    I can comment a bit on some of the tools specific issues:

    Chris Rivers said:
    Connection tests of the MCU communication and debug probe pass, however 4 out of 5 times approximately we are getting 1142 errors when trying to run and/or crashes of ccs.

    The -1142 error refers to the debugger losing debug access to the target. The root cause can vary but it could be that the target is simply getting in a bad state during target execution.

    What kind of crashing are you getting? Does the entire CCS IDE crash?

    I am going to move this thread to the C2000 forums. The device experts there can help you further

    Thanks

    ki

  • Thank you for your prompt reply.

    We are having occasional freezes of the ccs or crashes where it stops responding, though the 1142 errors happen more often in the following ways.

    Sometimes I get just that 1142 error when I run the debug or run, though retry, rude retry never works.

    Often after a successful clean, build, debug and run session I will, following the TIDM-1000 instructions: pause the running code, end real time mode reset the CPU (using the cntrl+shift+s or corresponding button) and terminate all, then on repeating clean, build, debug it seems the CPU locks up with that 1142 error.

    It appears we are having multiple issues.

  • Today we finally got more reliable running with our TIDM_1000 and TMS320F28379D.

    Still had a few 1142 errors, though the solution was a PC with USB 3, the USB 3 port made all the difference.

  • Running the "pfc3phvienna_F2837x" project on our TIDM_1000 is still not behaving as it should according to the design guide instructions.

    We have ran all 4 builds with and without CLA enabled, none of them appear to behave as expected in the design guide instructions.

    At 208VAC L-L (120VAC L-N) input, when we clear trip variable in the expression window of the debug session the output will boost the voltage on our load to approximately 600VDC, however PFC appears to be far from the expected 0.99.

    Also the line currents will be distorted, if we reduce our input voltage to about 1/2 or 120VAC L-L, (70V L-N), we get better line currents and the output load voltage stabilizes, see attached wave forms.

    We are trying to follow the instructions exactly.

    Any insight is appreciated.TEK0002.TIFTEK0002.TIF

  • Hi Chris,

    Sorry for the late reponse. Did you get some progress? 

    If not, did you see anything wrong compared with the user guide under build 1(PWM and ADC)?

    Regards,

    Chen