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.

Piccolo Launchpad as Programmer and Debugger

Other Parts Discussed in Thread: LAUNCHXL-F28027, UNIFLASH

Hi everybody,

We want to use LAUNCHXL-F28027 Piccolo Launchpad as programmer and debugger on a custom designed board based on the same controller. Design has been built according to Launchpad's schematics. We pulled out the launchpad's isolators and connected custom board with cables to JTAG side pads which are named as R21/R20/R19/R18/R16/R18/R30/R32/R35.

After some trials, we could program and debug the fresh controller through CCS6. We have struggled about some problems such as "device locked...", "device held in reset...", "Failed to remove the debug state from the target..." and so on. Some of them are solved by unlocking and erasing flash with uniflash tool, some of them still exists.

I am curios about:

  1. Is there anyone used launchpad such a way? Is there any issue should we take care?
  2. Why the controller is locking up after programming?
  3. Should we do or follow any procedure to use custom board like launchpad? Are shipped controllers same with launchpad's ones?
  4. Could we use this separated XDS100v2 on the other controllers of C2000? (Especially F28069, F28377D...)

I know we could use SD XDS100v2 JTAG emulator precisely but using launchpad as programmer and debugger is more fun =)

Thanks.

  • Hi,

    Mehmet_Akif Ceylan said:
    Is there anyone used launchpad such a way? Is there any issue should we take care?

    You can very well use the launchpad by removing the appropriate components. But it is recommended to build a XDS100v2 emulator instead:

    Mehmet_Akif Ceylan said:
    Why the controller is locking up after programming?

    Please check whether CSM passwords are enabled or not. This should not occur otherwise.

    Mehmet_Akif Ceylan said:
    Should we do or follow any procedure to use custom board like launchpad? Are shipped controllers same with launchpad's ones?

    When building a custom board following the launchpad design parameters is the best and an easiest way, if you don't have much design experience.

    Mehmet_Akif Ceylan said:
    Could we use this separated XDS100v2 on the other controllers of C2000? (Especially F28069, F28377D...)

    Yes, you can very well use it for programming any C2000 controller.

    Mehmet_Akif Ceylan said:
    I know we could use SD XDS100v2 JTAG emulator precisely but using launchpad as programmer and debugger is more fun =)

    That's true but then the performance would be deteriorated. As when the noise level increases you wouldn't be able to debug the controller as you would experience frequent disconnections and hence a dedicated XDS100 emulator is recommended.


    Regards,

    Gautam

  • Thank you very much for your quick response
    We have little mistake on TRST pin, I think this cause controller to be locked.
    When it is corrected, device is being programmed well.
    Thanks
  • Excellent!

    Goodluck & Regards,
    Gautam