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.

Flashing TMS320F24x

Hello

Were you able to connect to the CPU via this emulator?

I have such a problem that I have to replace CPUs due to damaged I / O port lines, and exactly the TXD line to RS232.

I need to transfer the program in hex form to the new TMS320F241 CPU.

I am asking for advice on how to deal with it, I only have free and unconnected JTAG lines for the programmer emulator.

Regards

Slawomir

  • Slawomir,

              As mentioned in the other post (https://e2e.ti.com/support/microcontrollers/c2000/f/c2000-microcontrollers-forum/990393/tms320c2801-tms320f241) , the entire toolchain for this device is now obsolete. Assuming you have the tools needed to work with this device, I can offer the following suggestions: 

    There are two ways to program this device, Serial & JTAG. But both methods require that you are able to connect to the existing device and read out the flash contents.   

    First, please let me know what debug probe you have. Do you have a working XDS510PP+ or XDS510USB debug probe? If so, I can send you the prg2xxw95.exe utility. Bear in mind that this was written for Win95 and may not run in Win10. 

    If you don’t have a debug probe, you can only attempt to program the device using serial port. Here again you need the utility that runs on the PC that transfers the hex file via the PC’s serial port to the F241. Important thing is for the F241 to have the flash serial loader in flash, which is invoked by tying the BIO pin low.

  • Hareesh
    Moje zapytanie miało na celu uzyskanie tych informacji o tym, jaki emulator użyć i jakie oprogramowanie kompatybilne z emulatorem, w tym możliwość migania z poziomu CCS.

    Nie mam jeszcze emulatora Spectrum-Digital-XDS510-USB lub XDS510-PP, ale odpowiedź pokazuje, że użycie tego modelu pozwala na przeniesienie kodu sześciokątnego wraz z programem prg2xxw95.exe.
    Tak, proszę wysłać mi ten program.
    Jeśli chodzi o komputer, mamy komputery ze sprzętowym portem RS232 pracującym na Win10, ale zawsze możesz zrobić wirtualizację Win98 dostępną z oryginalnej płyty Microsoftu. Mamy również komputer roboczy z Win 98 z portem RS232 i CENTRONICS.

    Tak, czytałem, że wsparcie się skończyło, ale może znasz link lub samouczek, to będzie zawarte w procesie przenoszenia kodu szesnastkowego i miga za pomocą tego wyżej wymienionego zestawu.

    Czy zestaw narzędzi Emaulator XDS510-USB PLUS i program prg2xxw95.exe, pozwalają na wykonywanie transferu kodu szesnastkowego. zwłaszcza czytanie pamięci FLASH i zapisywanie do pliku hex. Późniejsze użycie ccs3.3 do miąższu nie powinno powodować żadnych problemów.

    Czytałem kilka postów opisujących problemy z łącznością i oprogramowaniem sterującym pamięcią FLASH w procesorach 320F241.
    W mojej aplikacji mam dostęp tylko do JTAG, ponieważ UART jest uszkodzony. W dokumentacji można przeczytać, że UART jest zaprogramowany za pomocą wbudowanego bootloadera. W mojej aplikacji służy do komunikowania się ze sterownikiem PLC.

    Dziękuję za odpowiedź na moje posty i pozdrawiam z Polski

    Sławomir

  • Slawomir,

                    I used a translation app to translate your post. Kindly confirm if the below is correct. I will then respond to you.

     

    My inquiry was aimed at getting this information about which emulator to use and which emulation compatible software, including the ability to flash from CCS.

    I do not have a Spectrum-Digital-XDS510-USB or XDS510-PP emulator yet, but the answer shows that using this model allows you to move the hex code along with prg2xxw95.exe.

    Yes, please send me this program.

    When it comes to a computer, we have computers with a hardware RS232 port running on Win10, but you can always virtualize Win98 from the original Microsoft board. We also have a work computer with Win 98 with RS232 and CENTRONICS ports.

    Yes, I read that the support is over, but you may know the link or tutorial, it will be included in the hexadecimal code transfer process and flashing with the above mentioned set.

    Whether the Emulator XDS510-USB PLUS toolkit and prg2xxw95.exe allow the transfer of hexadecimal code, especially reading FLASH memory and saving to hex file. Subsequent use of ccs3.3 on flash should not cause any problems.

    I have read a few posts describing connectivity and FLASH control software issues on 320F241 processors.

    In my application, I only have access to JTAG because UART is corrupted. In the documentation, you can read that UART is programmed using the built-in bootloader. In my application it is used to communicate with the PLC. 

    Thank you for your reply to my posts and I would like to thank you from Poland

  • Hi

    Yes, that's a good translation.

    It's funny that I wrote the post in English and you got it in Polish.

    Matrix error :)

  • First you need to acquire the XDS510PP+ debug probe. As mentioned before, Spectrum Digital has closed down, so I am not sure where you will get this from.

    Then you need to install CCSv3.3 on your PC. Again, this has been obsolete for a few years now. You may be able to buy a license. Once you are able to connect to a working board and read out the flash contents as a COFF file (.out file), you can use Prg2xx utility to program the flash. You mention UART is corrupted, so serial port method will not work for you.