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.

Incompatible GEL file for the BeagleBoard xM

Other Parts Discussed in Thread: DM3730, DM3725

Hello,

I want to create a first and simple project for the BeagleBoard xM, but unfortunately I get always a problem to connect to the processor core "CortexA8".

My installation:
•    Windows 7 Professional, Service Pack 1, 64-bit system
•    Code Composer Studio version 5.5.0.00077
•    Spectrum Digital XDS560V2 STM USB Emulator
•    Evaluation board BeagleBoard xM, Rev C

First, I created a new CCS project with the following settings:
•    Device Variant: BeagleBoard_xM
•    Project template: SYS/BIOS > TI Target Examples > Typical

In the project configuration file "BeagleBoard_xM.ccxml", tab "Basic", I've set the connection and selected again the device "BeagleBoard_xM". The "Test Connection" was successful, and so was also the project build.

To prepare the debugging I configured the initialization in the configuration file "BeagleBoard_xM.ccxml", tab "Advanced", and selected the GEL file "am_dm37x_cortexA.gel" for the core "CortexA8". This seems to be the appropriate one, since the mentioned board has a DM3730 processor. I downloaded the related GEL files from the following site:
http://processors.wiki.ti.com/index.php/OMAP_and_Sitara_CCS_support#DM3730_and_DM3725

Now I can start a debug session, which works fine so far, but when I want to connect to the core "CortexA8" I get the following error message:

Cortex_A8_0: Trouble Writing Memory Block at 0x48004c10 on Page 0 of Length 0x4: (Error -1065 @ 0x48004C10) 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)
Cortex_A8_0: GEL: Error while executing OnTargetConnect(): Target failed to write 0x48004C10     at *((int *) 0x48004C10)=0x20 [am_dm37x_cortexA.gel:427]     at Watchdog_disable() [am_dm37x_cortexA.gel:218]     at OnTargetConnect() .
Cortex_A8_0: 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)

Do I need another GEL file? Or does the core connect require any preceding, manual script calls?

Regards, Stéphane

  • Sorry for any inconvenience! It was my fault...

    I found the problem: Linux was already running on the processor while I tried to connect to the main core CortexA8. I removed the flash memory card (to avoid Linux to start up) and reset the board - then it works fine...

    Regards