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.

CCSv5.2.1 with XDS510LC Can Do Everything Except Freq Test & Flash

Other Parts Discussed in Thread: TMS320F2812

Please help me resolve this issue:

Configuration: CCS 5.2.1.00018, Windows 7 Prof. 64bit, SD XDS510LC Emulator, TMS320F2812 50MHz Clock, PLL = 6.

I am able to load and run programs in RAM using this system.

My Problem: The On-Chip Flash frequency test does not work nor will it Erase or flash a new program. The frequency test does seem start and stop the processor but it's not working.

Using the same emulator and target board, I verified that a frequency test would run and that it could be flashed using a Windows XP machine and SDFlash.

I also just performed a software update on the CCSv5 but problem still persists.

  • Does the programming to Flash on the Windows 7 machine fail with CCS only or also with SDFlash?

    Do you see any error messages during the frequency test or when programming to Flash? If so, what are the errors? A screenshot could be helpful.

    I'm not aware of specific issues related to this emulator and Windows 7 but I'll give this emulator a try with one of my F2812 boards and let you know if I have problems. In the meantime, you may also want to try contacting Spectrum Digital directly (since they are the provider of the drivers) in case they are aware of any issues and have additional tips/suggestions.

  • SDFlash works on the Windows 7 machine. I also verified this issue on another W7 machine. SDFlash works on both W7 machines but CCSv5.2 Frequency test and Flash Programming does not. I'll check with Spectrum Digital as you suggest to see if they may know of something that will help.

    Screen shot of Frequency Test:

     

    Screen shot after trying to Flash Program:

  • Response from Spectrum digital:

    "...Since you can launch CCS 5.x and load code to RAM there is nothing wrong with the emulator and drivers. In addition we know that the SDFlash works correctly which indicates the flashing algorithm is correct..."

  • Karl,

    Did you set the Clock Configuration settings in the CCS On-chip Flash tool to match your board?

    Do you continue to see the error even after erasing the Flash on this same board using SDFlash and then using CCS to program? If so, I'm not really sure what could be causing a problem. You may get better ideas and responses from the C2000 device forum so you can try posting there as well. I also found this thread which may be somewhat helpful.

  • Yes I set the clock configurations in the On-Chip Flash tool to match the board (50Mhz clock, PLL=6).

    Between attempts to flash using CCS, I always exit CCS and reflash using SDFlash just to make sure the board is OK. SDFlash works every time.

    You said you were going to try programming a 2812 using an XDC510LC with CCSv5.2 to see if you could replicate the problem. I anxious to hear if it works for you.

     

  • Karl Hauenstein87313 said:
    You said you were going to try programming a 2812 using an XDC510LC with CCSv5.2 to see if you could replicate the problem. I anxious to hear if it works for you.

    I used the XDS510LC with a F2812 eZdsp board and had no trouble programming to Flash. I am using Windows 7 as well.

    I thought of one more suggestion for you to try. Try deleting the debug launch configuration and target cache files as described in this page
    http://processors.wiki.ti.com/index.php/Troubleshooting_CCSv5#Debugger

     

  • Deleting the debug launch configurations and target cache files did not solve my problem. I also tried cleaning the workspace. I actually saw and tried this a couple days ago but repeated today.

    I've ordered a 30MHz crystal so that I can make my target board match the default to test the theory that CCS is not using the 50Mhz clock, PLL=6 values I am pluggin into it.

  • *** CCSV5.2.1.00018 Definitely has an issue with being able to flash a target board if the clock frequency is not the default 30MHz ***

    I replaced the 50MHz clock on my target board with a 30MHz clock. I was then able to flash (30MHz is the default ccsv5 expects and is what is on the ezdsp).

    SDFlash does not have this issue. I am able to program using SDFlash. With SDFlash you use a flash algorithm that has been specifically compiled for your target clock frequency.

  • Karl,

    Based on discussion with the engineering team, we don't see anything unusual in the flash algorithm code that could cause a problem. The crystal value itself is not used by the algorithm so it is only the change in PLL value that needs to take effect.

    Unfortunately we do not have an easy way of changing the crystal on the devices in our eZdsp to test this out, but I'll see if I can ping some others about it.

    One other thing you could check is the PLLCR register in CCS (from the register view), and see if the value changes to 0x6 after any flash operation.

  • This bug is fixed in CCS 5.4