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.

Multi target debugging,Flash settings missing in Target tab of Debug Configuration

Hi,

i'm using a F28334 chained with a lm3s828, connected via a XDS100v3. CCS5.1

When i try to debug a get the following error:

CORTEX_M3_0: GEL Output:
Memory Map Initialization Complete
CORTEX_M3_0: GEL Output: Watchdog Timer Enabled
CORTEX_M3_0: GEL Output: UARTs Enabled
C28xx: Flash Programmer: Missing Flash Programming Settings.
C28xx: Flash Programmer: Error erasing Flash memory.
C28xx: Flash Programmer: Missing Flash operation option. Operation cancelled.
C28xx: Trouble Writing Memory Block at 0x33d944 on Page 0 of Length 0x60
C28xx: GEL: File: F:\  ******.out: Load failed.

It turned out that the flash-settings options in the TARGET tab of the DebugCofiguration dissapeared for

the F28334 but they are still there for the lm3s828!

Do you know a possible root cause?

thanks in advance!

BR Harry

  • Hi Harry,

    Did you try creating a new project and importing the existing project contents to the same? The errors above somehow indicate the improper configuration of cmd file for flash. Please check with the same and revert.

    Regards,

    Gautam

  • Hi Gautam,

    thanks for your answer! Unfortunately it didn't solve the problem, i also tried different workspaces...

    It seems that the problem is more related to the DebugConfiguration, maybe i should give some more information:

    HW:

    1) on my custom board, i'm able to manually (using jumpers) dis-/connect the two devices in the JTAG chain

    2) each or both devices are functional, and they are correctly recognized by the XDS100v3 (Test Connection works)

    -->TargetConfig snapshot

    3)the programms are functional on their corresponding target (...as long as there is only one target connected)

    SW:

    1) i have two projects in one workspace (one F28334, one lm3s828), each project is functional (see HW: 3) )

    2)each project has its on targetconfigurationfile.ccxml

    3)then i simply picked one project and added the second processor to the.ccxml

    4)by editing the DebugConfiguration i recognized that the flash option was gone!

    -->DebugConfiguration snapshot

    5)the interesting point is if i add a second(or even more) F28334(s) in the F28334-project .ccxml, the flash option of both(all) is still there

    BR

    Harry

    Snapshots.zip
  • the interesting point is if i add a second(or even more) F28334(s) in the F28334-project .ccxml, the flash option of both(all) is still there

    That's very strange. While going for one project at a time, I hope you select the respective target configuration and use the "Set as default" option.

    Regards,

    Gautam

  • Yes, it's the active/default target config.

    I was wondering how it works with the CONCERTO series, because it's pretty much the same situation from a hardware point of view: C28xx + M3

    ...there it works (flash options for both cores), BUT, as soon as i add a second device(third core), my F28334, the flash option for the M3 core is gone!!!

    best regards,

    Harry