Olimex Support Forum

ARM => TI => Topic started by: stoyanoff on November 15, 2022, 10:47:18 AM

Title: How to prepare pcb for flash programming through XDS100v3
Post by: stoyanoff on November 15, 2022, 10:47:18 AM
Greetings! I am experiencing some difficulties with flash programming using XDS100v3. So my uC is TMS320F28069M. I have 3 control pins TRST, SDO and GPIO34 which determine the boot mode. The problem is that XDS100v3 holds TRST always in "0" and I can`t pull SDO high, because the probe doesn`t connect. So in this case my PCB doesn`t enter in emulation boot mode, but in stand alone boot mode. And because I can`t control SDO my uC is always set to parallel IO or SCI(changing GPIO34). So I have a switch on my pcb according LAUNCHXL-F28069M and I can separate TRST and pull it down, to add a pull up resistor to SDO or GPIO34.
So In this case with this probe i can`t modify my flash memory. Can you advice me what to do? To change my pcb somehow or to try a specific start up procedure?
Thanks!
Title: Re: How to prepare pcb for flash programming through XDS100v3
Post by: LubOlimex on November 15, 2022, 01:41:54 PM
Maybe compare your design with one of our designs with similar chip:

https://www.olimex.com/Products/DSP/Development/TMS320-P28016/

https://www.olimex.com/Products/DSP/Development/TMX320-P28027/
Title: Re: How to prepare pcb for flash programming through XDS100v3
Post by: stoyanoff on November 17, 2022, 12:31:32 PM
It did the job! I hard connected pull down  resistor on TRST and pull ups on SDO and GPIO34. This puts the uC in state 3(GET). I am holding it in this case and I can run debugger and flash programming.
Thanks!