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.

can't launch example project debugging in ccsv5.5, pandaboard

Hi all,

Here is my setup: ccsv5.5, pandaboard (omap4430 es2.1), xds560v2. I created the project from the example hellowworld project. I used the default PandaBoard.ccxml. I removed the SD card from pandaboard, so nothing is running on the cortex A9. I can connect to the cotrexA9_0, but when I load the program, I met these errors:

CortexA9_0: Trouble Setting Breakpoint with the Action "Process CIO" at 0x40f4: (Error -1065 @ 0x3D5A) Unable to access device memory. Verify that the memory address is in valid memory. If error persists, confirm configuration, power-cycle board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 5.1.232.0)
CortexA9_0: Trouble Setting Breakpoint with the Action "Terminate Program Execution" at 0x43e0: (Error -1065 @ 0x3D5A) Unable to access device memory. Verify that the memory address is in valid memory. If error persists, confirm configuration, power-cycle board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 5.1.232.0)

I tried to google the solution but failed. It seems this problem happens when people are running Linux on the board. But in my case, nothing is running. 

Please help! Thank you!

  • Hi,

    I can't reproduce this; I am using the same hardware configuration as you and it works just fine.

    One detail: the address 0x40F4 reported by the error message belongs to the GPMC memory space (external memory), therefore the original program may have been created to use these addresses. My Pandaboard does not recognize this address as valid memory, therefore I imagine that either the GPMC is not properly configured or there is simply no memory device at this address.

    In this case, change your application to use either the internal L3_OCM_RAM (starting at 0x4030000) or external DDR (starting at 0x80000000). To use DDR, you must have a pre-configured GEL file that properly initializes this memory controller (the Pandaboard configuration supplied with CCSv5.5 already has one).

    Hope this helps,

    Rafael

     

  • Thank you Rafael! I guess I compiled the helloworld project wrongly. How can I "change your application to use either the internal L3_OCM_RAM (starting at 0x4030000) or external DDR (starting at 0x80000000)"? 

  • I think I missed the .cmd file for the linker. I thought it was not necessary as it's not included in the helloworld example...

    Anyway, I downloaded a .cmd file for OMAP4430 and it seems the problem has gone. An additional question is, if I want to change the application to use DDR, is it true that I only need to change all sections to use EMIF_CS0_SDRAM, such as ".text > EMIF_CS0_SDRAM"?

  • Hi,

    That depends on how your project was created. Locate the linker .cmd file in your project and see where in memory it allocates the program sections.

    If you are unsure of what I am talking about, example linker command files are provided with CCS (check the ccsv5/ccs_base/arm/include directory for a base OMAP4430.cmd). Also, section 2 of this page gives some hints on how to use and modify these files.

    Hope this helps,

    Rafael