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.

Error in General Purpose GUI for C2834x

Hi all,

In the process of finding a solution to the problem of loading codes into the external EEPROM for I2C Boot for C28346, I was suggested to use the General Purpose GUI provided in the software package to pass batches of codes to the EEPROM through the GUI.

The GUI is located at "C:\TI_F28xxx_SysSW\~GeneralPurposeGUI\.."

To try to get the GUI communication up, I tried loading the FlashingLeds sample code by SCI Boot through the GUI and I received an error message on the bottom of the GUI window after "Loading Program..." message. The error message is "Error: Program Did Not Load. Please Try Again." And the slider bar is disabled, unlike as shown in the document QSG-GeneralPurposeGUI.

However, one observation is that the LED D1 on the controlcard is blinking, indicating the hex file has been loaded to the RAM.

I've tried checking the continuity of the cable used to connect the board to COM Port, using another computer to run the same setup. Did I missed out anything else? Please help as I'm still very new to this.

 

  • Hi Shen Lee Na,

    Well, I had the same problem, so i wrote my own GUI in C#.
    During the boot process, every byte you send to SCI is directly sent back to the host.. every... but the last.
    The GUI waits for receiving all the sent bytes and so if the last one is not correct, the error message is created. It's allways the last byte that is not correct.
    I just changed the GUI with a try catch statement to avoid an error message because the last byte is not correct.

    Maybe in a future release TI will correct this.

    Kind Regards

    Eggi

  • Hi Eggi,

    Once again, you're the one who helped me. A big thanks to you.

    By the way, how did you editted the GUI code? All i have from the package released by TI is an applicaiton file of the GUI, documentation on the GUI and a settings file.

    I'm wondering since you mentioned that it sent all the bytes "except the last one", I'm thinking of editting the code from the Delfino side (which I have access to) to send the very last byte over to the host? Any possibility for me to do that? and if possible, what does the last byte contains? so that I can "artificially" send that last byte to make the GUI work.

    Regards

    Shen Lee

  • Hi Shen Lee,

    if you download the Two Channel Buck Software you'll get the source code of the GUI.

    I don't know what byte will be send at last. But you have your *.a00 file. Just edit this file e.g. in HexEdit and you can find your last byte.

    Now it's up to you to decide which software you want to change.. but i think sending a byte to boot loader after boot loading is a very bad hack.. ;-)

    Good Luck

    Eggi

  •  Hi Eggi,

    Ok, shall give editing the GUI a try first. :-)

    Thank you very much once again. Regards

    Shen Lee

  • hi friends,

    i've followed this thread of writing program to external eeprom. i am also using DIM168 experimenter's kit for C28346 delfino. i've downloaded the necessary s/w of GUI and hex conversion utility. my query is that i've failed to understand why one need to use SCI(serial port) to download code to eeprom? i can access microcontroller through JTAG emulator on CCS (code composer studio). Can we not use the program i2c to eeprom directly to load the code to external memory?

    need help....pls guide!

    regards

    sandeep

  • Dear Eggi,

    I got one task to create a GUI programmer in  C# or VC++ for a 32 bit microcontroller. The programmer GUI will read/write the Internal Flash and an external Memory connected to this microcontroller.

    To program, hex files are already there with me. Also, I have the datasheets for the microcontroller and external memory chip including their pin connectivity details..

    But I dont know how to create this kind of GUI which can be used to program/read microcontroller & flash memories.

    Could you please guide me with any references/sample codes etc which can help me to create a GUI programmer?

     

    Regards

    Raja