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.

C2000WARE: serial_flash_programmer application issue

Part Number: C2000WARE


HI Sal,

As you told that it  was loaded successfully,when i run the following in command line C:\ti\c2000\C2000Ware_1_00_04_00\utilities\flash_programmers\serial flash programmer serial flash programmer.exe -d f2803x -k f28335 flash kernel.txt -a PQCR.i00 -p COM5 -b 9600 -v

i just connected USB CP2102 USB-TTL Tranceiver ,and run the code in command prompt,i did n't connect to micro controller ,But without connecting to micro controller also it was showing successful,

and also i tried by connected a wire between TX pin to RX pin of  USB CP2102 USB-TTL connector and run in command prompt ,then also it was showing successful

Am not connected to any controller ,still it was showing successful, please kindly help me

Am waiting for your kind reply

Thanks & Regards

Gangadhararao G

  • Hi,

    Are you sure there is an issue? In order for it to be successful the PC must be receiving something back from the device and programmation should have occurred.

    Regards,
    sal
  • Yes Sal,am sure,am sharing the video,and screen shot ,please find the attachments,here am not connecting to micro controller,still it was showing successful

  • What are you connected too? Are you looping back the TX to the RX? You have a wire looping back to the card. What card is that?

    If you do the loopback, the autobaud will be successful and the kernel will seem like it has loaded successfully, but it would just be due to the loopback.

    Regards,
    sal
  • Yes I connected to loop back ,without connecting to micro controller ,Kindly please tell on what basis it was showing that kernel auto baud successful,and kernel loaded,


    Kindly please can you share any extension for that command line it should be like..


    After connecting to micro controller if it detect the controller and kernel means if we run the file means, the file has be load into controller or else it has to be show error,

    Iam waiting for your kind reply


    Thanks & Regards
    Gangadhararao G
  • Because you have a loopback the PC application sees it a passing. You can see the details in the Application Report and Boot ROM chapter of the Technical Reference Manual.

    You can modify the serial flash programmer which is a Visual Studio project and the SCI flash kernel to meet your specific needs.

    Let me know if you have any specific questions.

    Hope this helps,
    sal
  • Hi Sal,

    Thanks for your response. Please can you provide command line for erasing the data in controller,so that it will be easier for me ,

    Is there any changes required to modify in this command line,for detecting controller and erasing the memory,please add/suggest ,below is my command line using for flashing.

    I have gone through sprabv4b document,but am not getting,please help me for resolving this,

    C:\\ti\\c2000\\C2000Ware_1_00_04_00\\utilities\\flash_programmers\\serial_flash_programmer>serial_flash_programmer.exe -d f2803x -k f28335_flash_kernel.txt -a PQCR.i00 -p COM3 -b 9600 -v

    Iam waiting for your kind reply

    Thanks & Regards

    Gangadhararao G

  • Hi Sal,

    And also we are using 35 & 36 GPIO pins ,

    Thanks Regards
    Gangadhararao G
  • Hi Sal,

    Can we pass this command line as arguments, as i need to change the PQCR.iOO file and COM PORT number
    below is the command line

    C:\\ti\\c2000\\C2000Ware_1_00_04_00\\utilities\\flash_programmers\\serial_flash_programmer>serial_flash_programmer.exe -d f2803x -k f28335_flash_kernel.txt -a PQCR.i00 -p COM3 -b 9600 -v

    Iam waiting for your kind reply

    Thanks & Regards
    Gangadhararao G
  • You are free to modify the serial flash programmer and sci flash kernels.

    Please use the source code and projects provided as reference and modify them to your needs.

    Thank you,
    sal