Author Topic: TMS320F240 and emulator BH-USB-2, what utility to flash?  (Read 1496 times)

0 Members and 1 Guest are viewing this topic.

Offline Postal2Topic starter

  • Frequent Contributor
  • **
  • Posts: 695
  • Country: ru
TMS320F240 and emulator BH-USB-2, what utility to flash?
« on: November 08, 2024, 07:19:55 pm »
Code Composer 3.3 works fine with the blackhawk-usb2.0 emulator, but the flashburn utility does not support it. The Uniflash utility does, but it does not have TMS320F240.
There are executables for loading into TMS, but if I can clean and erase by running them, how do I write a firmware file if I need to somehow feed data for writing?
 

Offline Postal2Topic starter

  • Frequent Contributor
  • **
  • Posts: 695
  • Country: ru
Re: TMS320F240 and emulator BH-USB-2, what utility to flash?
« Reply #1 on: November 09, 2024, 07:11:13 am »
I looked at the used Code Composer dll and dvr, copied everything to the folders to the utilities, but it still doesn't work. It complains about the CSM, and the TMS320F240 doesn't have a CSM.
 

Offline Postal2Topic starter

  • Frequent Contributor
  • **
  • Posts: 695
  • Country: ru
Re: TMS320F240 and emulator BH-USB-2, what utility to flash?
« Reply #2 on: November 12, 2024, 03:53:19 am »
I found a homemade program that has the source code of the algorithms for the newer TMS320. The text shows that the algorithms were once exactly what I needed, but they were modified, and now they need to be modified back.
https://www.egorz.ru/project/tms320prog/tms320prog.rar
 

Offline daisizhou

  • Frequent Contributor
  • **
  • Posts: 914
  • Country: cn
Re: TMS320F240 and emulator BH-USB-2, what utility to flash?
« Reply #3 on: November 12, 2024, 05:59:32 am »
Is this a DSP chip? Do you want to load firmware into it?
daisizhou#sina.com #=@
 

Offline Postal2Topic starter

  • Frequent Contributor
  • **
  • Posts: 695
  • Country: ru
Re: TMS320F240 and emulator BH-USB-2, what utility to flash?
« Reply #4 on: November 12, 2024, 01:00:38 pm »
Is this a DSP chip? Do you want to load firmware into it?
Yes, these chips are called DSP. In fact, it is a regular mcu.
Yes, I need to write firmware to its flash. If you look at the TI site, you will find that all questions about this chip remain unanswered.
However, the archive in the link above has everything you need to make the firmware functions yourself, using Code Composer.
If you have something ready, I would be happy not to mess with it.
 

Offline daisizhou

  • Frequent Contributor
  • **
  • Posts: 914
  • Country: cn
Re: TMS320F240 and emulator BH-USB-2, what utility to flash?
« Reply #5 on: November 12, 2024, 11:43:50 pm »
Yes, it is an MCU chip.But it contains EEPROM or FLASH,Usually requires firmware to be written to work correctly.

I also have a TMS320F2812,It is broken, but I don't know how to write new firmware to the newly acquired 2812.
I have looked for very few standalone programmers that support it,Someone suggested using online JTAG programming, but I still don't know how to use it, in other words, what type of JTAG programmer should I buy?
If you know please tell me, thanks
daisizhou#sina.com #=@
 

Offline Postal2Topic starter

  • Frequent Contributor
  • **
  • Posts: 695
  • Country: ru
Re: TMS320F240 and emulator BH-USB-2, what utility to flash?
« Reply #6 on: November 13, 2024, 12:08:09 am »
... I also have a TMS320F2812,It is broken, but I don't know how to write new firmware to the newly acquired 2812.
I have looked for very few standalone programmers that support it,Someone suggested using online JTAG programming, but I still don't know how to use it, in other words, what type of JTAG programmer should I buy?
If you know please tell me, thanks
There are no problems with your TMS320F2812. It is listed and supported by software (pdf file).
You can buy the adapter at this link, but there is no software in the kit, you will have to download it separately and figure out how it works.
https://www.aliexpress.com/item/1005007446681354.html

Only 32-bit system is supported! Windows XP is preferred.
« Last Edit: November 13, 2024, 12:13:01 am by Postal2 »
 

Offline daisizhou

  • Frequent Contributor
  • **
  • Posts: 914
  • Country: cn
Re: TMS320F240 and emulator BH-USB-2, what utility to flash?
« Reply #7 on: November 13, 2024, 01:33:38 am »
Sorry, I can't access https://www.aliexpress.com/item/1005007446681354.html, can you tell me the exact model or name?
daisizhou#sina.com #=@
 

Offline Postal2Topic starter

  • Frequent Contributor
  • **
  • Posts: 695
  • Country: ru
Re: TMS320F240 and emulator BH-USB-2, what utility to flash?
« Reply #8 on: November 13, 2024, 01:50:01 am »
I cut it out of the screenshot, all sellers have the same photo. It's called "XDS510-USB2.0", in fact it's not that, but it works very well, I liked it.
 

Offline Postal2Topic starter

  • Frequent Contributor
  • **
  • Posts: 695
  • Country: ru
Re: TMS320F240 and emulator BH-USB-2, what utility to flash?
« Reply #9 on: November 16, 2024, 08:03:35 am »
It turns out that the flashburn program can be launched after all by entering the contents of addresses 0x40,0x41,0x42,0x43 instead of a password. But it still loaded it in the wrong place (to 0xFF00 instead of 0xFE00) and it broke. With the correct algorithm files, everything will work.
 

Offline Postal2Topic starter

  • Frequent Contributor
  • **
  • Posts: 695
  • Country: ru
Re: TMS320F240 and emulator BH-USB-2, what utility to flash?
« Reply #10 on: November 17, 2024, 07:26:40 pm »
I have suspended work on the algorithms for now because the original firmware in the processor is damaged. For comparison, I have archived the original firmware and the one in the new one. The photo shows the board where such a processor is installed.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf