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.

How to boot the EVM6437 board with CCS?

Dear Sir,
 
I am trying a DDR2 example code in C:\dvsdk_1_01_00_15\psp_1_00_02_00\pspdrivers\soc\dm6437\examples\ddr2.
 
Following are the procedures to run the example:

 *     1. Disable the line setup_ddr2() in your gel file and then boot the
 *        board using CCS
 *     2. Open memory window, set address to 0x80000000, and try to write
 *        anything to DDR2. You will find that the correct value is not
 *        displayed in the memory window, which means DDR2 is not ready.
 *     3. Load and run the program.
 *     4. After the program finishes, write to the DDR2 memory window. You
 *        should find that the correct value is displayed in the window.
 
In procedure 1, it says "boot the board using CCS"
Can you tell me how to do this??
 
Best Regards,
 
 
Eric Fang
  • This means nothing more than to connect to the DSP inside CCS. Typically I would say that booting via CCS means to load the code, but because this step is discussed in step 3 that doesn't apply.

    To clarify on the instructions, comment out the setup_ddr2() line BEFORE connecting to CCS. The GEL script does not run until the target is connected, so if the line is not commented out before connecting it will program the DDR2 registers automatically.

  • Hi, Tim,

    I did what you said, but it still didn't work.

    Following are the procedures I did for this DDR2 exercise:

    --> Comment out setup_ddr2 both in .gel & sample code

    --> Boot the board & connect CCS

    --> open memory window, write arbitary value to 0x8000 0000

    --> I see exactly what I write to the address[:(]

    Can you tell me what's wrong? Thank you!

    Best Regards,

     

    Eric Fang

     

  • What exactly are you testing and what exactly is the problem? The DDR2 test is supposed to configure the DDR2 memory and test it. If you are able to write to the DDR2 and read it back then I would consider this a successful test.

    If you comment out setup_ddr2 in the GEL file and connect are you able to write to the DDR2? If you are able to write to DDR2 without the GEL file configuring it then you have some code somewhere configuring it instead. Make sure the boot is set up for Emulation boot to ensure that the device is not booting up with proper DDR2 configuration.

    *edited for clarification*