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.

No Run -> Load Program menu option

I am running CCS v6.1.0.00104 on MS-Win7 Pro SP1. I am trying to connect to a proprietary board which uses the DM386 (the core components of the board are modeled after the LeopardBoard DM365 and we are using the RidgeRun Turrialba SDK). I have inherited support for this program and 4 new boards that do not have UBl or u-Boot installed. The developer who got the older boards up left before I got here, did not any detailed instructions that I have found, and the information others here have has not gotten me past this latest problem.

I have an XDS200 connected to the board and a configuration file in CCS that reports a successful test connection. I have the UBL and u-Boot binary files built in the RidgeRun SDK as well as the NANDEraser_DM36x.out and NANDWriter_DM36x.out programs. However, I cannot seem to get to the "Load Program" option. I have been through several iterations with additional information and made progress (e.g. I was getting the "Unable to initialize ICEcrusher module error" trying to start the debug session even though the test connection was successful- found a forum post that had me change the JTAG clock to Adaptive and got past that).

I am not using CCS for code development, I only wish to be able to write pre-existing files to the NAND flash on the board. I have attempted this using just a target configuration file that I created as well as in an empty project with the configuration file generated by the IDE upon selecting the appropriate items during setup.

I can now go through a a set of steps that will get me connected and run the NANDWriter_DM36x.out program:

  • create a CCS project with the name NANDWriter_DM36x
    (alternatively, copy the NANDWriter_DM36x.out file to {project_name}.out)
  • start the debug session - from the context-sensitive menu of the target configuration (.ccxml) file -> Debug As -> Code Composer Debug Session
    (since this is an "empty" project, there is a compilation failure, but I choose to proceed with launch)
  • a few GEL connection/startup popups and console output later, I get the NANDWriter_DM36x prompt
         [ARM9] Starting DM36x_NANDWriter.
         Enter the binary UBL file Name (enter 'none' to skip) :
  • enter the file name, and then the u-Boot entry point and load address when prompted
  • seems to work, I now have u-Boot running on the board

 

HOWEVER, I would really like to understand why I cannot just "connect" and find the "Load Program" option?!?!?!

Anyone?

Thanks!

  • Hi Tim,
    Can you take a screenshot of your CCS environment and post it to this thread? It'll help me try to determine why the load program option is missing for you.

    Thanks
    ki
  • Tim Hammer said:
    HOWEVER, I would really like to understand why I cannot just "connect" and find the "Load Program" option?!?!?!

    Did you actually try to manually launch a debug session as described in this wiki? That should have allowed you to manually connect to the target and then load your program.

  • Thank you for the response and link. I apologize for the delay in responding, I got "re-prioritized" and am just now getting back to this project.

    I admit that I had not seen that specific document/section, but it is essentially the same steps that I had learned elsewhere. I did follow these instructions and obtained the same result as described in my original post.

  • Thank you for the response and offer to help. I apologize for the delay in responding, I got "re-prioritized" and am just now getting back to this project.

    Can you bee more specific about what I should capture in a screen shot? I am still relatively new to CCS and am not sure what details you wish to see.