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.

evmk2h debug of template fails

Other Parts Discussed in Thread: TCI6636K2H

I did New project -> sysbios-gnu examples->typical

i build, clicked debug, using first core

Then i get

console reports:

arm_A15_0: Trouble Reading Memory Block at 0x80000000 on Page 0 of Length 0x4: (Error -1205 @ 0x80000000) Device memory bus has an error and may be hung. 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.600.0)
arm_A15_0: File Loader: Data verification failed at address 0x80000000 Please verify target memory and memory map.
arm_A15_0: Unable to terminate memory download: NULL buffer pointer at 0x3aa4
arm_A15_0: GEL: File: D:\ti_workspace\test1\Debug\test1.out: a data verification error occurred, file load failed.

I use win7 64 bitz, CCs 6.0.1

Booted rev40 in dip 0001 setting

what to do?

  • Hi,

    Are you using a GEL file?

    Have you verified that your DDR memory is working fine.

    Thanks,

  • Hi,

    i copied the screenshot once more.

    I do nothing special, so if there is a gel-file by default the answer is just. I just follow the ccs windows.

    how can i test the memory?

    regards

  • Hi Lars,

    If I understand correctly, are you trying to load and run some sample program on K2H using CCS?

    If yes, you can follow the below steps.

    1. Download and install the mcsdk_bios_3_00_03_15 package.

    2. open CCS import the hello world project located at "..\ti\mcsdk_bios_3_00_03_15\examples\ndk\helloWorld\evmk2h" and build

    3. Connect the K2H board, open the *.ccxml file, select the approprate emulator (XDS2xx USB ) and board as TCI6636K2H , save and test connection.

    4. open the debug session and run the hello world program on target.

     

    Regards,

    Shankari

    -------------------------------------------------------------------------------------------------------

    Please click the Verify Answer button on this post if it answers your question.
    --------------------------------------------------------------------------------------------------------

  • I am having a very similar issue. I can't get access to the 0x80000000 without the board/jtag crashing!

    C66xx_0: GEL Output: DDR3 PLL (PLL2) Setup ...
    C66xx_0: GEL Output: DDR3 PLL Setup complete, DDR3B clock now running at 400MHz.
    C66xx_0: GEL Output: DDR3B initialization complete
    C66xx_0: GEL Output: Memory Test Write Core: 0, Mem Start: 0x0x60000000, Mem Size: 0x0x00000100, value: 0x0xAAAAAAAA ...
    C66xx_0: GEL Output: Memory Test Read Core: 0, Mem Start: 0x0x60000000, Mem Size: 0x0x00000100 ...
    C66xx_0: GEL Output: Memory Test Done, no errors found.
    C66xx_0: GEL Output: Memory Test Write Core: 0, Mem Start: 0x0x60000000, Mem Size: 0x0x00000100, value: 0x0x55555555 ...
    C66xx_0: GEL Output: Memory Test Read Core: 0, Mem Start: 0x0x60000000, Mem Size: 0x0x00000100 ...
    C66xx_0: GEL Output: Memory Test Done, no errors found.
    C66xx_0: GEL Output: Memory Test Write Core: 0, Mem Start: 0x0x60000000, Mem Size: 0x0x00000100, value: 0x0xFFFFFFFF ...
    C66xx_0: GEL Output: Memory Test Read Core: 0, Mem Start: 0x0x60000000, Mem Size: 0x0x00000100 ...
    C66xx_0: GEL Output: Memory Test Done, no errors found.
    C66xx_0: GEL Output: Memory Test Write Core: 0, Mem Start: 0x0x60000000, Mem Size: 0x0x00000100, value: 0x0x00000000 ...
    C66xx_0: GEL Output: Memory Test Read Core: 0, Mem Start: 0x0x60000000, Mem Size: 0x0x00000100 ...
    C66xx_0: GEL Output: Memory Test Done, no errors found.
    C66xx_0: GEL Output: All Memory Test Completed on core: 0 with 0 errors.
    C66xx_0: GEL Output: DDR3 PLL Setup ...
    C66xx_0: GEL Output: DDR3 PLL Setup complete, DDR3A clock now running at 400MHz.
    C66xx_0: GEL Output: DDR3A initialization complete
    C66xx_0: GEL Output: Memory Test Write Core: 0, Mem Start: 0x0x80000000, Mem Size: 0x0x00000100, value: 0x0xAAAAAAAA ...
    C66xx_0: GEL Output: Memory Test Read Core: 0, Mem Start: 0x0x80000000, Mem Size: 0x0x00000100 ...
    C66xx_0: Trouble Reading Memory Block at 0x80000000 on Page 0 of Length 0x4: (Error -1202 @ 0x80000000) Device core is hung. The debugger will attempt to force the device to a ready state to recover debug control. Your application's state will be corrupt. You should have limited access to memory and registers, but you may need to reset the device to debug further. (Emulation package 6.0.14.5)
    ddr3A_write_read_test() cannot be evaluated.
    Target failed to read 0x80000000
    at read_data=*((unsigned int *) mem_location) [xtcievmk2x.gel:4371]
    at ddr3A_write_read_test()C66xx_0: 1 other operation(s) were automatically canceled as a result

    Also mtest in uboot fails for those memory regions...

  • Hi Karsten,
    Can you please create a new post for your problem since older posts may get lesser attention.