LAUNCHXL-F28069M: Serial port program upgrade fail

Part Number: LAUNCHXL-F28069M
Other Parts Discussed in Thread: UNIFLASH, C2000WARE

Tool/software:

I used the serial_flash_programmer to flash the converted APP.txt file, but an error message occurred.
...ers\serial_flash_programmer\serial_programmer_appln.exe
File:minkernel\ucrt\src\appcrt\stdio\fopen.cpp
Line: 30
Expression: file_name != nullptr

 

I have already flashed the converted f28069_sci_flash_kernel.hex file using UniFlash 9.2.0 according to the file (the bootloader is located in Sector H, 0x3D8000 to 0x3DBFFF). The bootloader program uses SCIA to flash the APP.

 

The APP is allocated in Sectors C+D+E+F+G, separate from the bootloader.

 

Here, since 28069M is used, is the <device> input f2806x correct? The instructions don't mention this.

 

Since the baud rate is automatically detected, 9600 should be sufficient, right? COM10 has also been confirmed.

  • Hi ChiHsiang,

    I am having the expert look over this question

    Regards,

    Peter

  • Hi,

    Yes, f2806x should be the correct argument given for this device. Can you also give the name of the kernel file that you are using as an argument? The error may be related to the -k argument not being present.

    Thanks and regards,

    Charles

  • Hi Charles

    Thank for your reply, here we use

    C2000 Example:

    C:\ti\c2000\C2000Ware_5_05_00_00\device_support\f2806x\examples\c28\f28069_sci_flash_kernel 

    Call the command line tool that comes with WINDOWS and convert the file according to the following format to obtain a TXT suffix file in HEX format that meets the format requirements of the host computer:

    C:\ti\ccs1281\ccs\tools\compiler\ti-cgt-c2000_22.6.1.LTS\bin\hex2000.exe

    Place the converted .txt file in the directory of serial_flash_programmer_appln.exe, and then execute the following command through the command line to enter the host computer program:

    C:\ti\c2000\C2000Ware_5_05_00_00\utilities\flash_programmers\serial_flash_programmer\serial_flash_programmer_appIn.exe

    What is the -k argument?

    Ex.

    Because we want to keep it in Get mode (e.g., Flash), we use F28069F.cmd as the configuration file. The bootloader space is set to 0x3D8010, length = 0x003990, and the app's starting location is set to 0x3DC000.  That's right, right?

    Regards,

    Chi-Hsiang Chen

  • Hi Chi-Hsiang,

    The -k argument given is for the kernel file that is used to load the application. Although you are first loading the kernel to the device using CCS, the appln version of the serial flash host programmer executable would still require the -k argument as input. 

    For example: 

    serial_flash_programmer_appIn.exe -k f28069_sci_flash_kernel.txt -d f2806x -a proj_lab11.txt -b 9600 -p COM10 

    The default linker command file should be fine.

    Thanks and regards,

    Charles

  • Hi Charles

    Thank for your reply,

    There seems to be no error in the window, but it does not seem to be burned in. It is stuck on the word "downloading"

    Regards,

    Chi-Hsiang Chen

  • Hi Chi-Hsiang,

    Can we load the bootROM symbols for this device in CCS to confirm its current operation?

    C2000Ware_5_05_00_00\libraries\boot_rom\f2806x\v1_1\rom_sources\Release

    Thanks and regards,
    Charles