Author Topic: TI DSP C2000 firmware cloning  (Read 2183 times)

abyrvalg, Davor, danpshyco and 3 Guests are viewing this topic.

Online inquisitorTopic starter

  • Contributor
  • Posts: 33
  • Country: de
TI DSP C2000 firmware cloning
« on: April 18, 2025, 05:24:56 am »
Dear Community,

Could someone advice me on cheapest way for  cloning the firmware on TMS320F2811,so  far as i know the firmware is not protected by any   password ,i am attemping to replace the EV tree Phase motor controller "sevcon gen4" therefore i will need exactly one copy of DSP.
Couple years ago i used for similar project  software called  "flasher  c2000" plus debugger JTAG-JET by Signum electronic, Unfortunately i selled the debugger on ebay New one will cost 1500usd .One option will be to buy xds510 from Aliexpress but i am not sure if would work with code composer 3.0 ,also  i think it  would  be very difficult to get a old version of Code composer,the dsp has alredy  14pin jtag  interface. thank you for any Support
« Last Edit: April 18, 2025, 05:29:06 am by inquisitor »
 

Online MitjaN

  • Contributor
  • Posts: 36
  • Country: si
Re: TI DSP C2000 firmware cloning
« Reply #1 on: April 18, 2025, 06:46:56 am »
You could use XDS100 either with Code Composer Studio or Uniflash tool. Both should support XDS100 and TMS320F2811.

With a bit of improvisation you can use XDS100 that is build into various LaunchPads (28027 was the cheapest one, but I am not sure that you can still get it)

Or you can build XDS100 yourself as it is just a FDTI chip with an external eeprom.
 

Online inquisitorTopic starter

  • Contributor
  • Posts: 33
  • Country: de
Re: TI DSP C2000 firmware cloning
« Reply #2 on: April 18, 2025, 07:40:36 am »
Thank you mitjaN ,i can buy clone xds510 for 60usd but not sure if will works with Uniflash tool, also i didn't find any possibility to download either the uniflash tool nor the code composer 3.0 ,i found on ebay uk Launch pads picollo 28027f for 70eur including shipping ,should i go with 28027f ?
 

Online inquisitorTopic starter

  • Contributor
  • Posts: 33
  • Country: de
Re: TI DSP C2000 firmware cloning
« Reply #3 on: April 18, 2025, 07:59:18 am »
What kind of improvisation is necessary to get the xds100 connected to DSP, you mean 14pin jtag cable?
 

Offline aeg

  • Regular Contributor
  • *
  • Posts: 159
  • Country: us
Re: TI DSP C2000 firmware cloning
« Reply #4 on: April 18, 2025, 08:26:07 am »
XDS110 standalone probe should be cheaper than that. C2000 is on the device support list, but I've never tried it.

Here is Uniflash: https://www.ti.com/tool/download/UNIFLASH
 

Online inquisitorTopic starter

  • Contributor
  • Posts: 33
  • Country: de
Re: TI DSP C2000 firmware cloning
« Reply #5 on: April 18, 2025, 08:58:49 am »
thank you aeg ,also for the link ,i will order xds110 standalone ,i hope this one would work
 
The following users thanked this post: mskeete

Online inquisitorTopic starter

  • Contributor
  • Posts: 33
  • Country: de
Re: TI DSP C2000 firmware cloning
« Reply #6 on: April 18, 2025, 09:09:45 am »
Just for my knowledge, the signum jtagjet x1 according to attached Screenshot should also support c2000 dsp?
 

Offline StarLight

  • Newbie
  • Posts: 2
  • Country: cn
Re: TI DSP C2000 firmware cloning
« Reply #7 on: April 18, 2025, 01:04:36 pm »
The new version of CCS software fully supports the export of binary programming files. Recommending CCS12.8.1. you can connect the DSP and choose export hex or other files.
as for debuger, you can choose the one below, it supports 14-pin jtag
 

Online inquisitorTopic starter

  • Contributor
  • Posts: 33
  • Country: de
Re: TI DSP C2000 firmware cloning
« Reply #8 on: April 18, 2025, 01:16:48 pm »
The new version of CCS software fully supports the export of binary programming files. Recommending CCS12.8.1. you can connect the DSP and choose export hex or other files.
as for debuger, you can choose the one below, it supports 14-pin jtag
Thank you very much good to know i already ordered xds110
 

Online inquisitorTopic starter

  • Contributor
  • Posts: 33
  • Country: de
Re: TI DSP C2000 firmware cloning
« Reply #9 on: April 30, 2025, 02:28:41 pm »
Finally i received my xds110 unfortunately as soon i connect the debugger to my  devices  the interface is disappearing on Uniflash Monitor no matter wheather the target devices are separately powered or not ,in my opinions there must be some cable interruption or the jtag is not correctly (,the pinouts are wrong.) Could be because i extended the cable because the target devices has jtag 14pin pitch 2,0mm and the xds110 pitch 2,54mm ? maybe the pinouts on jtag plugs are differenntly ?
 

Online inquisitorTopic starter

  • Contributor
  • Posts: 33
  • Country: de
Re: TI DSP C2000 firmware cloning
« Reply #10 on: April 30, 2025, 02:31:20 pm »
extended cable2557142-0
 

Online inquisitorTopic starter

  • Contributor
  • Posts: 33
  • Country: de
Re: TI DSP C2000 firmware cloning
« Reply #11 on: April 30, 2025, 02:38:16 pm »
It is Very likely that  this cable has a different pinouts as jtag 14pin ,any suggestion regarding the pitch 2,0mm to pitch 2,54mm adapter?
 

Online daisizhou

  • Super Contributor
  • ***
  • Posts: 1041
  • Country: cn
Re: TI DSP C2000 firmware cloning
« Reply #12 on: April 30, 2025, 11:31:03 pm »
Dear Community,

Could someone advice me on cheapest way for  cloning the firmware on TMS320F2811,so  far as i know the firmware is not protected by any   password ,i am attemping to replace the EV tree Phase motor controller "sevcon gen4" therefore i will need exactly one copy of DSP.
Couple years ago i used for similar project  software called  "flasher  c2000" plus debugger JTAG-JET by Signum electronic, Unfortunately i selled the debugger on ebay New one will cost 1500usd .One option will be to buy xds510 from Aliexpress but i am not sure if would work with code composer 3.0 ,also  i think it  would  be very difficult to get a old version of Code composer,the dsp has alredy  14pin jtag  interface. thank you for any Support

It seems like you have encountered similar difficulties as me.
The one I encountered is a TMS320F2812. According to the information, it is password protected.
The chip is shown in the figure below. There is also a 14-pin interface on the PCB board.
https://www.eevblog.com/forum/microcontrollers/ask-for-help-on-how-to-write-firmware-to-dsp-chip/msg5071042/#msg5071042
daisizhou#sina.com #=@
 

Online inquisitorTopic starter

  • Contributor
  • Posts: 33
  • Country: de
Re: TI DSP C2000 firmware cloning
« Reply #13 on: May 02, 2025, 02:54:28 pm »
I don’t think so my 2811 doesn’t have protection, could anyone advice me what kind a start and end address i need to set here? the problem with cable is resolved i need only to export the file
 

Online inquisitorTopic starter

  • Contributor
  • Posts: 33
  • Country: de
Re: TI DSP C2000 firmware cloning
« Reply #14 on: May 03, 2025, 10:33:41 am »
Dear Community,

Could someone advice me on cheapest way for  cloning the firmware on TMS320F2811,so  far as i know the firmware is not protected by any   password ,i am attemping to replace the EV tree Phase motor controller "sevcon gen4" therefore i will need exactly one copy of DSP.
Couple years ago i used for similar project  software called  "flasher  c2000" plus debugger JTAG-JET by Signum electronic, Unfortunately i selled the debugger on ebay New one will cost 1500usd .One option will be to buy xds510 from Aliexpress but i am not sure if would work with code composer 3.0 ,also  i think it  would  be very difficult to get a old version of Code composer,the dsp has alredy  14pin jtag  interface. thank you for any Support

It seems like you have encountered similar difficulties as me.
The one I encountered is a TMS320F2812. According to the information, it is password protected.
The chip is shown in the figure below. There is also a 14-pin interface on the PCB board.
https://www.eevblog.com/forum/microcontrollers/ask-for-help-on-how-to-write-firmware-to-dsp-chip/msg5071042/#msg5071042
Even if has read protection you can use services like russian semi Research or ic cracker they are able to Bypass protection
 

Online inquisitorTopic starter

  • Contributor
  • Posts: 33
  • Country: de
Re: TI DSP C2000 firmware cloning
« Reply #15 on: May 08, 2025, 06:09:16 pm »
The problem is solved ,thankful to Oleg eevblog. member, attached start and end address for TMS320F2811
 
The following users thanked this post: danpshyco

Online danpshyco

  • Contributor
  • Posts: 12
  • Country: ro
Re: TI DSP C2000 firmware cloning
« Reply #16 on: May 09, 2025, 11:06:19 am »
Hy.I have the same controller Sevcon Gen 4 totally dead after a firmware update.......dld was not for him.Can u help me with cable connections? Did u manage to save the hex file and write another one?.If i can ask you for a firmware that work without any CAN meseges only the Throttle Motor Encoder FW and REW switch,everythink else doesn,t matter for me.Thanks for your real help
 

Online danpshyco

  • Contributor
  • Posts: 12
  • Country: ro
Re: TI DSP C2000 firmware cloning
« Reply #17 on: May 09, 2025, 11:11:36 am »
And by the way i arlready have this interface TMS320-XDS100-V3.Could work?
 

Online inquisitorTopic starter

  • Contributor
  • Posts: 33
  • Country: de
Re: TI DSP C2000 firmware cloning
« Reply #18 on: May 09, 2025, 01:32:03 pm »
Attached Binary from TMS320F2811 ,xds100 v3 never tried you have to test it 
 

Offline rsjsouza

  • Super Contributor
  • ***
  • Posts: 6145
  • Country: us
  • Eternally curious
    • Vbe - vídeo blog eletrônico
Re: TI DSP C2000 firmware cloning
« Reply #19 on: May 09, 2025, 01:43:56 pm »
And by the way i arlready have this interface TMS320-XDS100-V3.Could work?
XDS100v3 is compatible with C2000 and the TI tools (Uniflash, CCS, etc.)
Vbe - vídeo blog eletrônico http://videos.vbeletronico.com

Oh, the "whys" of the datasheets... The information is there not to be an axiomatic truth, but instead each speck of data must be slowly inhaled while carefully performing a deep search inside oneself to find the true metaphysical sense...
 

Online danpshyco

  • Contributor
  • Posts: 12
  • Country: ro
Re: TI DSP C2000 firmware cloning
« Reply #20 on: May 09, 2025, 08:34:31 pm »
Where is the attached file?
 

Online inquisitorTopic starter

  • Contributor
  • Posts: 33
  • Country: de
Re: TI DSP C2000 firmware cloning
« Reply #21 on: May 10, 2025, 06:22:33 am »
The platform doesn’t support Binary file, can be posted only as zip https://app.box.com/s/ju89lok9t4aol49lhwoy5covmwv6bnau
 
The following users thanked this post: danpshyco

Online danpshyco

  • Contributor
  • Posts: 12
  • Country: ro
Re: TI DSP C2000 firmware cloning
« Reply #22 on: May 10, 2025, 02:08:58 pm »
Can u tell me please how you read it? What memory zone you bypass? I a newbie with this kind of dsp.I read in some posts cause the processor has OTP zone and if u rewrite that zone the bootloader doesnt work anymore.You read from 0x3F 6000 until 0x3D 9FFF? How you bypass 0x3F 7FF6 / 0x3F 7FF7 and 0x3F 7FF8 / 0x3F 7FFF? When you readit the Sevcon mainboard was powered? The PD pin has 3.3 V ? You used 2k2 resistors between EMU0 and EMU1 to Vddio and 2k2 TRST to ground? When you moved to the other controller was functional? You cloned even the eeporm 24lc640 memory?
 

Online inquisitorTopic starter

  • Contributor
  • Posts: 33
  • Country: de
Re: TI DSP C2000 firmware cloning
« Reply #23 on: May 10, 2025, 07:01:00 pm »
Check  my previous attachment start and end address, you have to power the sevcon up ,didn't used any resistor i managed to write the Binary back to dsp ,i tried to read eeprom 25lc640 i will need copy of this Binary as well because of immobilizer, the problem is the  cheap China programmer like xgecu can’t read the file properly when the mcu and eeprom is running, i am getting only empty file from eeprom and i can write only empty file to  25lc640 otherwise is displays  some address errors ,either i have to buy good chinese programmer like xeltek superpro 6100n or i have to separate pcb and mosfets from cooler remove the eeprom and read there is no other options currently
« Last Edit: May 10, 2025, 07:04:07 pm by inquisitor »
 

Online inquisitorTopic starter

  • Contributor
  • Posts: 33
  • Country: de
Re: TI DSP C2000 firmware cloning
« Reply #24 on: May 10, 2025, 07:15:37 pm »
I read in some posts cause the processor has OTP zone and if u rewrite that zone the bootloader doesnt work anymore.
[/quote]
I don’t know who is posting this garbage
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf