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.

Using XDS510USBPlus with F2811 running at 120MHz

I can't get my XDS510USBPlus JTAG emulator to work properly with a 320F2811 design.  It worked fine when we were running at 40MHz, but now that we are running at 120MHz the debugger keeps messing up.  It loads the program into flash properly, but I stepping through the program does not work.

The speed upgrade was accomplished by upgrading the oscillator from 10MHz to 30MHz, the PLL is still set to 8.  These settings are reflected in the project options > debug > F2810 Flash Settings.  I changed the CPU_RATE from 25.000L to 8.333L in Flash281x_API_Config.h, but haven't made any other changes.

The XDS510USBPlus is an older emulator.  Is it possible that it can't handle a F2811 running at 120MHz?  Or have I forgotten to update a variable related to speed somewhere?

 

  • Hi,

    Geoff Beidler said:

    It worked fine when we were running at 40MHz, but now that we are running at 120MHz the debugger keeps messing up.  It loads the program into flash properly, but I stepping through the program does not work.

    The speed upgrade was accomplished by upgrading the oscillator from 10MHz to 30MHz, the PLL is still set to 8.  These settings are reflected in the project options > debug > F2810 Flash Settings.  I changed the CPU_RATE from 25.000L to 8.333L in Flash281x_API_Config.h, but haven't made any other changes.

    If you are able to step your code without problems until it configures the PLL multiplier, or the program fails to run even when simply putting the processor to run, then the issue is probably related to the configured speed. Either flash access timings (section 6.32 of the F2811 datasheet) or something else may be causing this trouble.

    If not, are you able to see the same problem in an eZdsk 2812? This board also sports a built-in XDS510PP+ and a 30MHz oscillator clock.

    Geoff Beidler said:

    The XDS510USBPlus is an older emulator.  Is it possible that it can't handle a F2811 running at 120MHz?  Or have I forgotten to update a variable related to speed somewhere?

    I don't recall seeing this behaviour before where the emulator was the culprit. Usually it was always caused by a device misconfiguration...

    I would also suggest checking with the C2000 forum as the experts there will be able to give further insights about the clock upgrade speed.

    Hope this helps,

    Rafael