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/TMS320F28069: Picollo Control Card not working properly

Part Number: TMS320F28069
Other Parts Discussed in Thread: TMDSCNCD28069

Tool/software: Code Composer Studio

Hello,

I am using F28069 Picollo control card for my application. I have started facing a strange problem with the new control cards ordered. When I program the microcontroller through CCS in Real Time Mode (Flash mode selected), it goes well. Everything is done. I can even stay online in the running system, observe the variables. But when I switch off the system and then again power up , I guess the µC doesn't work. Even the CAN bus doesn't work. 

Then I tried the same program version, keeping all the CCS settings exactly same, with the older or used control cards. Then it is working prefectly fine. Even after switching off the system, I powered up and everything is working good with the older control cards.

I think there must be some problem with FLASH programming. Could it be possible that Picollo control card having a defect?

Please suggest me a solution URGENTLY to figure out a problem, 

Regards,

Karan 

  • Hi Karan,

    Can you provide some more information on the controlCARDs that you are/were using?  Are both the TMDSCNCD28069MISO?  The TMDSCNCD28069?  Other? 
    Are the older controlCARDs and the newer controlCARDs the same controlCARD revision?

    My first recommendation is to make sure that your CCS installation is updated.  Occasionally patches get added, especially when new major device silicon revisions get rolled out.

    My second thought is to double-check the boot-mode pins in your newer controlCARDs to make sure that that they are set so that the device boots up into 'Get Mode' (which is boot-to-flash, by default).

    In general, the following wiki provides some of the standard things to watch out for when code will run with a debugger, but not standalone.  This may not be applicable, because older controlCARDs work, but it may give you some ideas.
    http://processors.wiki.ti.com/index.php/C2000_Flash_Common_Issues/FAQs#Code_Does_Not_Run_Standalone


    Thank you,
    Brett

  • Hello Brett,

    Sorry to reply late. But your suggestions has been very helpful.
    1. The control card I have been using is TMDSCNCD28069.
    2. CCS was completely upto date.
    3. The problem was with SW1 BOOT switch of control card. Surprisingly the switches in the new lot of control card were not at default position, i.e - Get Mode (Boot-to-flash). After changing it , the problem was solved.
    4. Also the Wiki link you had sent was also very helpful. It helped, a beginner like me, to imrpove my understanding of Flash Programming.
  • Hello Brett,

    I am still facing some issues when the code is running standalone. I mean that once I load the program into the target device successfully, then everything runs well. But when I switch off the system and turn it on again, it causes the problem describes below.

    Before few days, I got an error in which few variables became infinity. Then i analyzed the problem, made a list of variables which became infinity. The variables which were infinity were mainly from the control loop, since they are involved into complex arithmetical operations. Later on, I found the exact variables which were becoming infinity and they eventually made other variables infinity. This problem doesn't allow control loop to function further and the system stops.

    Since I am not an expert and have a limited understanding in the field of µC and Flash programming, so I took a new control card and checked the program the same way I did it for the previous one. And luckily, it worked.

    However, this is not a solution to the problem, I would be very grateful if you could suggest me some measures so that I can get to the problem.

    Waiting for your suggestions.

    Thank you.

    Regards,
    Karan
  • Hi Karan,

    Summarizing what I've read to make sure I'm understanding things correctly.

    You have a TMDSCNCD28069.  You've got a program flashed into the F28069 device.  It doesn't work.  From debug efforts, there's some variables that are off or become off.  You then took a new controlCARD (also a TMDSCNCD28069), flashed it with the same program, and it works.

    If I'm understanding things correctly, this shouldn't happen (especially if one cCARD consistently doesn't work and the other consistently does work). 

    I'd continue debugging because there's likely some small difference between what you're doing with the non-working & working boards.  That small difference is important & will help you better figure out what is going on.


    Thank you,
    Brett

  • Hey!

    I think there is a slight change to your summary.

    So first of all there are two things, one is working card and the other is non working card. In the non working card, the Emulation Boot mode would work properly.

    What have I understood about Emulation Boot mode is that when the emulator, for ex- my ThinkPad, is connected to the target device via a JTAG. So I am online into the system. I can debug the code or observe the variable in debug window of CCS.

    Now, when the code is loaded into the target device, I check the functions of application system and simultaneously observe the variables. Everything is in order.

    Next step is that I go offline. Switch off the system. And then turn it on again.

    Now this mode is, what I have understood is Stand-alone Boot (TRST=0), I start my system and then it goes it into error, I mean I see the same variables I observed goes into infinity error.

    Since I have not found the solution of this problem, I simply try it with a new control card (working card) and luckily its all working. But this is a very risky approach and I need to know the real reason behind the error.

    Regards,
    Karan
  • Hi Karan,

    As mentioned in my previous email, the type of issue you are describing is not one where changing to a new board should fix things.

    Are the two cCARDs exactly the same?  [Same type of controlCARD?  Same controlCARD board revision?  Same part number marking on the F2806x device?]


    Thank you,
    Brett