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.

Uniflash 2.0.0.00013 with Concerto

Other Parts Discussed in Thread: UNIFLASH, CONTROLSUITE

I am trying to program a Concerto M35H52C1 device with the Uniflash Version: 2.0.0.00013 using the serial interface.

I get the following error messages:

[15:45:00] Cortex_M3_0: Loading Concerto M3 flash kernel, this may take a few minutes...

[15:45:28] Cortex_M3_0: Concerto M3 flash kernel has been successfully loaded.

[15:45:34] ERROR >> Cortex_M3_0: <!>Serial Communication exception: Please reset the device and try again!

[15:45:34] Begin Writing Flash memory operation...

[15:45:34] Loading program: C:\System_M3.out

[15:45:34] ERROR >> Cortex_M3_0: Trouble Writing Memory Block at 0x200030 on Page 0 of Length 0x4: Unsupported GTI Function.

[15:45:34] ERROR >> Cortex_M3_0: GEL: File: C:\System_M3.out: Load failed.

[15:45:35] Operation Writing Flash memory returned.

 

I can't find any documentation about the "Unsupported GTI function" error message.

 

  • Hi Nelson,

    This error message indicates a problem with the target.  Let me check with the PC side developer of this tool for exactly what this means and we'll debug further.

    Regards,

    Trey

  • Nelson,

    I'm curious what hardware you are trying to do this on.  Is this a controlCARD?  Is this a custom PCB?  What frequency is the external clock that you have hooked up to Concerto?

    The serial load process is very complex and I suspect the baudrates are getting mismatched somewhere in the process.

    Trey

  • I tried this on an M36 controlCARD and on our custom hardware that has both M35 and M36 on it.  I was using Com11 on the controlCARD, and tried COM4 and COM5 on our hardware.  They all failed.  If I use COM1 with our hardware and reset our hardware a couple of times, it appears to work.

    What COM ports are supported?

    We have a 20MHz oscillator to each Concerto device.  I am able to program and debug the Concertos using CCS and a JTAG device.

  • Nelson,

    Couple things to remember when using the serial flash feature:

    1. Device must be setup for boot to serial boot mode.  This is described in the TRM and can be acheieved by setting the boot switches appropriately.
    2. The serial boot modes use GPIO0 and 1 for serial communications with the host processor.  This is hard coded in the ROM and cannot be changed.  Controlcards have GPIO 28 and 29 connected to the FTDI USB <-> serial connection.  If you intent to use this connection as your interface to the chip you will need to rework the board.
    3. COM port settings for both the M3 and C28 in the Uniflash tool should be the same.

    I suspect the problem is that you simply do not have GPIO0 and 1 connected.

    Regards,

    Trey

  • Trey,

    I did not realize that only GPIO0 and GPIO1 could be mapped for the serial boot mode.  I have looked at the boot ROM section in the TRM and have another question: Where is the source code for the Concerto Boot ROM?  The controlSUITE has boot ROM code for other devices, but does not have code for the Concerto. 

    Also, the TRM section has a lot of outdated information in it: references CCSv4, references the LMFlash programmer which does NOT support Concerto, etc.  Is this being updated?

    Nelson

    P.S. Once I hear back from you, I will verify your answer above.  Thanks!!!

  • Nelson,

    Source code for the Concerto BootROM hasn't been released.  I'm not sure what the schedule is on its release, but ROM symbols are available currently in controlSUITE.

    I agree that the documentation could be better, and we are working to improve it.  Much of the CCSv4 information is somewhat applicable as the basic functionality hasn't changed much between v4 and v5.  LMFlash programmer DOES in fact support Concerto although it might not look like it on the surface.  The M3 half of Concerto uses the same communication protocols for the boot modes as the Stellaris devices and LMFlash can be used to load and execute code from RAM at boot time.  I don't believe there are any plans to update LMFlash.

    Please verify that you have the chip booting to its serial boot mode and that GPIO0 and 1 are connected to your serial port.

    Trey