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.

Gel file Error

Other Parts Discussed in Thread: AM3358

Hi,

I am using startware kit. 

In that while connecting to the target through CCS, i am getting the following error.

CortxA8: Trouble Writing Memory Block at 0x4c0000e4 on Page 0 of Length 0x4: (Error -1065 @ 0x4C0000E4)                          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)
CortxA8: GEL: Error while executing OnTargetConnect(): Target failed to write 0x4C0000E4 at *((unsigned int *)                        (0x4C000000+0x0E4))=(unsigned int) 0x06 [AM3358_StarterKit.gel:282] at DDR3_EMIF_Config()                                [AM3358_StarterKit.gel:371] at AM3358_SK_Initialization() [AM3358_StarterKit.gel:356] at                                            OnTargetConnect() .
CortxA8: Trouble Reading Register CP15_Registers_CP15_CONTROL_REGISTER: (Error -2131 @ 0x20013F00)                   Unable to access device register. Reset the device, and retry the operation. If error persists, confirm                              configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation                  package 5.1.232.0)

It is telling that it can't write to a particular address. what could be the problem? How to resolve it? Anyone guide me.

Thanks&Regards,

J Sudha

  • Do you get this error always or only fro mtime to time?

    I found (at least for my BBB) after stopping a program the probe and the board have to be unplugged completely, connected/powered again and then things work.

  • Hello Sudha,

    This is not a Gel file error. I believe the Starterkit has booted and loaded a application from SD which has enabled the MMU. Try connecting to the JTAG after removing the SD card. 

    Another workaround to overcome this error please follow the following steps:

    - First, in the Gel file comment the AM3358_SK_Initialization() called from the OnTargetConnect() 

    - Second, Launch the CCS debug session and Connect to the JTAG

    - Uncheck the MMU, Instruction and Data cache Enabled if it is checked using the CCS>Tools->ARM Advanced Features option

    - Run the AM3358_SK_Initialization manually using the CCS->Scripts

    Hope this helps.

    Thanks,

    Benjamin

  • Hi, 

    Thanks for your reply. I do check it.

    Regards,

    J Sudha

  • Hi Hans,

    I am getting this every time.

    Regards,

    J Seeli Powlin