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.
I'm trying CCv5 with Beaglebone A.6a and got stuck in this error:
8<-----------
CortxA8: Output: **** AM335x Beaglebone Initialization is in progress ..........
CortxA8: Output: **** AM335x ALL PLL Config for OPP == OPP100 is in progress .........
CortxA8: GEL: Error while executing OnTargetConnect(): Target failed to read memory at 0x44E10040 at (*((unsigned int *) (0x44E10000+0x40))>>22) [beaglebone.gel:360] at GetInputClockFrequency() [beaglebone.gel:431] at ARM_OPP100_Config() [beaglebone.gel:351] at AM335x_Beaglebone_Initialization() [beaglebone.gel:337] at OnTargetConnect() .
8<-----------
Host: CentOS 6.4 64b
To build the Target configuration file I'm just following the instructions provided in:
http://processors.wiki.ti.com/index.php/AM335X_StarterWare_Environment_Setup#Debugging_on_BeagleBone_board_using_CCSv5
Therefore: XDS100v2 USB Emulator, Board: Beaglebone (it appears as is), target configuration: ModenaSS>CortxA8 (this provides "initialization script: ../../emulation/boards/beaglebone/gel/beaglebone.gel"; Address: 0x80001000)
If I test the connection, the log indicates that the JTAG DR/IR Integrity scan-tests have succeeded.
If I try to load a simple test program I get the following error:
8<---
CortxA8: File Loader: Data verification failed at address 0x40300800 Please verify target memory and memory map.
8<---
I'd be grateful if someone can help me out on this, thank you in advance
Hello Jose,
That is odd. You are using the right GEL file and your setup looks fine. I am using the same setup (except on Windows) and the connection succeeds. The debugger seems unable to read the control status register at 0x44E10040. Have you ever been able to connect successfully? Did you program the device before?
Thanks
ki
Hello Ki,
thank you for answering my question
I've never been able to connect from within CCv5. I thought there could be a problem by the fact that Beaglebone was running the Linux standard distro, and therefore I tried by connecting the Beaglebone without booting the distro (connecting it with the uSD card removed), but the same problem showed up.
Regards
JL
Jose Luis Briz said:and therefore I tried by connecting the Beaglebone without booting the distro (connecting it with the uSD card removed), but the same problem showed up.
Yes that is a good idea to try without the card. That is my environment - beaglebone A6 using the same GEL file with CCSv5.4.0. Is that the version of CCS you are using also?
Solved!
It just was that the SD must be removed before connecting the board. I mean, what I had been doing before was to connect the BB, check the connection (sshT tty), then shutdown the Linux distro, and then launch the config file from CCv5.
To sum it up, in case anyone else runs into this prob: remove the SD card before pluging the board, and then start CCv5 and proceed as indicated by TI
Thanks Ki for your kid attention
--
JL
Thanks for the update and passing in the information to others on the forum!