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.

Updating CCS and loading C28 errors

Other Parts Discussed in Thread: CONTROLSUITE

I just recently uninstalled both controlsuite and CCS. Then downloaded and installed controlsuite and checked for updates, that went fine with no errors.  Then downloaded and installed CCS and checked for updates. This is where the first problem occurred. You can see below the errors I received when trying to update CCS.I then continued to try and load M3, that went smoothly but then when I moved on to loading the C28 I received the errors shown in problem 2. This is being done using a TI example program.    

(1)    Problem during installing updates:

‘Computing size’ has encountered a problem.

An internal error occurred during: ‘Computing size’.

Detail:

An internal error occurred during: ‘Computing size’.

Profile epp.package.cpp is marked as changed.

 

(2)    Problem with loading C28 project (for SW1: up, down,down,down and SW1:up, up, down, down)

C:\ti\controlSUITE\device_support\f28m35x\v205\F28M35x_examples_Control\blinky\c28\ccs\Flash\blinky_c28.out: a data verification error occurred, file load failed.

The message in “Console”

C28xx_0: GEL Output:

Memory Map Initialization Complete

C28xx_0: GEL Output:

RAM Initialization Complete

C28xx_0: Loader: One or more sections of your program falls into a memory region that is not writable.  These regions will not actually be written to the target.  Check your linker configuration and/or memory map.

C28xx_0: File Loader: Verification failed: Values at address 0x000000000013E6D4 do not match Please verify target memory and memory map.

C28xx_0: GEL: File: C:\ti\controlSUITE\device_support\f28m35x\v205\F28M35x_examples_Control\blinky\c28\ccs\Flash\blinky_c28.out: a data verification error occurred, file load failed.

 I hope you can find the time to help me out, and thanks for all the help. 

Joshua 

  • Joshua,

    1. What version of CCS are you using?

    2. The error usually indicates that the Flash component is not set up correctly, and therefore the loader thinks the memory is not writable. I'm not sure if it is related to the update errors or not.

    Generating the DS logs might help with debugging the problem:
    processors.wiki.ti.com/.../Troubleshooting_CCSv6

    If you are able to generate the log, please send it to me so I can analyze the information and see if I get figure out what the problem is.

    Another thing to try is to reinstall CCS, and try to program the C28 without applying the updates. This will eliminate any update errors being the cause.

    Thanks,
    Ricky
  • Hi Ricky,
    Thanks for your reply, the zip files are attached in the previous post, something went wrong when I posted it. Well first I uninstalled both controlsuite and CCS, then reinstalled them but without installing the updates. I first tried to run the project “cpu_timers” in flash mode and that worked. I attached the Debug Server Log for that project named”DebugServerLog_Joshua”. I then went on and tried the project “RT_SineFIRFFT”. I first tried setting Flash active and received an error loading the C28. So I then tried setting Debug active and received the error for the C28 again. So the last thing I tried was setting RAM active and I got the same error. I attached the debug server log for this one as well named “JoshuaLogTest2”. I hope this will help you figure my problems.
    Thanks for all your help,
    Joshua
  • Joshua,
    I am looking into the possibility that there is something wrong with the device you have. Could you let me know what form it is (device only or control card), where purchased, and what the package markings are (a photo or copy down the markings).
    Thanks,Jason
  • Hi, Jason,

    Thanks for the reply the control card is F28M35xx ISO controlCARD release 2.0. I purchased it from Digi-Key Canada. I purchased the C2000 Microcontrollers Development Tools kit that comes with the docking station too.  I attached the picture of the label on the package.

    Thanks for the help,

    Joshua

  • Joshua,

    Could you send the photo of the F28M35x device on the control card?

    Also can you send the snapshot of CCS memory window open to address range 0x240000 to 0x2403FF?

    Thanks and regards,
    Vamsi
  • Hi Vamsi,

    Thanks for the reply, I attached the photo of the F28M35x device on the control card. I didn't attach the screenshot of the address range because they were empty there was nothing in all of the addresses. Maybe this is because of the C28 not being able to load. The project I was using was the "sineFIRFFT".

    Thanks for the help,

    Joshua

  • Joshua,

    Thank you for the details.

    I understand that you noticed that the OTP is empty.  However, could you send us the dump of the below requested memory using CCS memory window's "Save Memory" feature?  This will help us to analyse this further.

    Below is the procedure to get the dump.

    1.  Click on SaveMemory icon (available at the top right corner of the memory window)

    2.  Give a File name in the pop up window (SaveMemory window) and Select File Type as "TI Data".  Click next.

    3.  Select format as 32-Bit Hex - TI style.

    4.  Enter Start Address as 0x240000 and Memory Page as "Data" and Length as 0x200. Click Finish.  Send us the .dat file.

    Also, please check whether the password locations in C28x Flash memory are all 1s or you have programmed any passwords?  Could you try unlocking using the Flash Plugin GUI by providing the passwords and then try Flash load?  If you check and confirm that you have not programmed any passwords, you can ignore this Flash load and just send us the memory dump as described above.

    Thanks and regards,

    Vamsi

  • Hi Vamsi,

    thanks for the reply I attached the .dat file and the C28 doesn't have any passwords programmed.

    Thanks for the help,

    Joshua MemoryDump1.dat

  • Joshua,

    Thank you for the data.

    Could you do a debugger reset followed by Bootrom execution (just hit free run in debugger) and then use the Flash Plugin and see if that helps?

    The OTP dump looks fine to me. I feel that somehow the previously executed code is causing this behavior. Doing a reset followed by BootROM execution will bring the device in to a known state.

    If that does not help. Do a powercycle and then do as I suggested above. Make sure to erase entire Flash once.

    What is M3 doing when C28x fails?

    Let me know how this goes.

    Thanks and regards,
    Vamsi

  • Hi Vamsi,

    I was able to erase the entire flash of the C28 and M3 following the instructions above. Once I tried to change the program and reload the C28 I received an error. I then tried to erase the flash again and reload everything and I got the error you can see in the screenshot below. Ill list the order of steps I tried just in case I did something out of order.

    • Launch target configuration

    • Connect both M3 and C28

    • Put C28 and M3 in free run mode

    • Reset both M3 and C28

    • Erase M3 flash (works)

    • Erase C28 flash (doesn’t work)

    When I purchased the development boards I bought two kits. So today I opened the other kit and tried to use that one. I didn’t attach any jumpers for Ethernet or GPIO and the loading and running worked fine. Once I attached the jumpers I tried loading a different project and the C28 didn’t work again. So I then tried the method you suggested and erase the entire flash. That worked and I was able to load the program. I then tried to load another program and I received an error with the C28. So I tried to erase flash again and it failed, again just like the other board. It seems to me that both boards are only able to erase the flash once. This is with the jumpers on and off.

    This has been taking up much of my time, is there any way if I send you the two new boards you could send me two older boards that you know are working?

    Thanks for all your help so far, I hope to hear back from you,

    Joshua abela

  • Joshua,

    1) Try below flow:
    Launch target configuration
    Connect both M3 and C28
    Reset M3 and then C28
    Put M3 and C28x in free run mode
    Erase M3 flash (works) and load code to M3 Flash
    Erase C28 flash and load code to C28x Flash
    Resume the execution on M3
    Resume the execution on C28x

    2) Check your linker command file/map file to make sure that you are not allocating any sections to unimplemented addresses.

    3) Are you programming anything in the password locations? If yes, are you unlocking before the next round of erase/program?

    Thanks and regards,
    Vamsi
  • Try to use CCS 6.0.1. It helped me.
    Sergey

  • It looks like I have the same problem.

    My laptop is currently in for repairs, so I'm on another PC to develop. I decided to install CCS 6.1.0.00104 instead of 5.5 that I was originally developing on.

    I can no longer flash the C28 core. I always get:

    Cortex_M3_0: GEL Output: Memory Map Initialization Complete
    C28xx_0: GEL Output:
    Memory Map Initialization Complete
    C28xx_0: GEL Output:
    RAM Initialization Complete
    C28xx_0: Loader: One or more sections of your program falls into a memory region that is not writable. These regions will not actually be written to the target. Check your linker configuration and/or memory map.
    C28xx_0: File Loader: Verification failed: Values at address 0x000000000013E692 do not match Please verify target memory and memory map.
    C28xx_0: GEL: File: C:\ti\controlSUITE\device_support\f28m35x\v201\F28M35x_examples_Control\blinky\c28\ccs\Flash\blinky_c28.out: a data verification error occurred, file load failed.

  • Matthew,

    I believe that something CCS6 wants some of the fixes we made in recent versions of the F28M35x examples/infrastructure. 

    Could you try with the most recent version of the example in controlSUITE? 


    Thank you,
    Brett

  • Unfortunately I am facing the same problem:

    C28xx_0: File Loader: Verification failed: Values at address 0x000000000013E71E do not match Please verify target memory and memory map.
    C28xx_0: GEL: File: C:\ti\controlSUITE\device_support\f28m36x\v201\F28M36x_examples_Control\blinky\c28\ccs\Flash\blinky_c28.out: a data verification error occurred, file load failed.

    I did a update before the problem occured. Could be the problem...

    Thanks,

    Karlheinz
  • I have got a F28M36 control card. I can connect to the M3 and load and run the blinky example. I can connect to the C28 as well but load fails. I tried now with V206 of the control suite examples:

    C28xx_0: File Loader: Verification failed: Values at address 0x000000000013E6EC do not match Please verify target memory and memory map.

    C28xx_0: GEL: File: C:\ti\controlSUITE\device_support\f28m36x\v206\F28M36x_examples_Dual\blinky\c28\ccs\Flash\blinky_dc_c28.out: a data verification error occurred, file load failed.

    I can read out the memory:

    The project and command file is in original state. They seem ok to me...

    Any help welcome ;-)

  • I'm waiting for the new release of CCS with bug correction, but for now I use CCS 6.0.1.

  • Brett,

    I use a F28M35H52C1 and am having the same problem as others in this post, as well as a bunch of folks in this post.

    The problem started with the update from 6.0.1.00040 to 6.1.0.00104.  Thinking my update did not operate properly, I uninstalled everything and did a fresh install of 6.1 using the offline installer so I could confirm the md5 hash.  (THANK YOU for finally giving us a hash to check, btw.)  This didn't not seem to make a difference.

    For my project, I have tried using both an out file built with all the latest updates and one that programmed just fine yesterday before I updated to 6.1.0.  On your suggestion, I made sure that I also have the latest controlSUITE (206) and built one of the example projects (blinky).  I had the same results as with my project.

    As others have found, this is only for the c28, as the m3 can be programmed without any trouble.

    I could go back and re-install 6.0.1 in order to program the c28, but I'd rather solve the problem if possible.

    --Nick

  • Update:

    Not really a fix, but a workaround: I am able to program the c28 if I don't allow the target configuration to load the gel file.  

    I assumed this meant the gel file included with ccs changed when updating to 6.1, but when I dug up the gel file from 6.0 they matched.  I had the same results whether I was using a new target configuration generated by ccs 6.1 or one generated by an older version of ccs.  Why would the memory table in the gel not match up with the out file when using the exact same project, target config, linker, gel, and out files as before updating to 6.1?

    More detail for others to try:  What I did is open the target configuration, click on C28xx_0 and delete the initialization script so it couldn't load a gel file to compare the memory to.

  • Nicholas,

    Thanks for providing the potential workaround. I posted this suggestion on a related thread, but it seems to be working for some but not all users.

    I'm also in the process of gathering additional information from users for debugging purposes. Can you and others on this thread read the following post and send me the requested information.

    e2e.ti.com/.../1473229

    Thanks,
    Ricky

  • Deleting the initalization script did not work for me.


    I downgraded to CCS 6.0.1 which works.


    FYI, my configuration when resolving the problem was:

    CCS 6.1.0

    Windows 8.1

    Blackhawk USB100v2

  • Matthew,

    Sorry for the delayed response to this bug, but we are still working on a fix for this. I will keep you updated on any news related to the fix as soon as possible.

    Thanks,
    Ricky
  • All,

    We have another updated Flash DLL ready for evaluation. Same instructions as before.

    1. Download the attached updated FlashC2000F021.dll

    FlashC2000F021.dll

    2. Copy the DLL to \ccsv6\ccs_base\DebugServer\bin\

    3. Start CCS and try to load a Flash program to the C28 core.

    If you are able to test this out, please report back with your observations.

    Thanks in advanced,

    Ricky

  • Hi Ricky,

    I tried the DLL and it works now. Hope it works on other installation, too.
    If so, when can we expect an official fix? I won't switch to 6.1 until the fix comes with an usual update.

    (tested with the Blackhawk USB200)

    Klaus
  • Klaus,

    We are just finalizing the test results. Once done, we will be releasing an update the the Debug Server Flash component in CCS to address this issue, and will be available via CCS6.1.0 update.

    Hopefully, we will have the patch available early next week.

    Thanks,
    Ricky
  • Ricky,

    Thanks. That DLL works with the stock GEL file for the C28 core on a Concerto part (F28M35H52C1)
  • All,

    The update to fix this problem should be available for CCS6.1.0 users. Please check for updates and install the Debug Server Flash v6.1.0.1247 update.

    Hopefully, this update resolves the problem for the affected users.

    Thanks for your patience,
    Ricky
  • Thank You.

    It Works.