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.
Hi,
I have a question about CCSv5.
I'm having a problem with Memory Browser.
After launching Debugger and connect to the target,
when I enter address(0x80000000) to Memory Browser the following message appears:
********************************************************************************
CortxA8: Trouble Reading Memory Block at 0x80000000 on Page 0 of Length 0x228:
(Error -2030 @ 0xF) Internal error: Access to unknown or invalid register was requested.
Restart the application. If error persists, please report the error. (Emulation package 5.0.857.0)
********************************************************************************
I thought it was DDR2 configuration problem but it also occurs
when entering other area address to Memory Browser, for example 0x402F0400(Internal Shared Memory).
So, it's not DDR2 configuration problem.
What is the cause of this error?
And are there any workaround for this error?
By the way, I'm using CCSv5.2.1 and conneting AM3358EVM.
best regards,
g.f.
Hi g.f.,
The vast majority of those types are errors are because of incomplete target initialization (assuming the memory regions are vaild - which they are, on AM335x). Check to make sure that the target is properly initialized. Normally such initialization is done in the GEL startup file.
You can also try upgrading to CCSv5.4.0 and see if that helps
Thanks
ki
Hi Ki,
Thank you for the reply.
I initialized the EVM by appropriate AM3358EVM GEL file,
but the error occurs.
And I also tried using CCSv5.4 but the result was the same.
Is there any GEL file that complete the target(AM335x) initialization?
By the way, when we changed the JTAG emulator from XDS560v2STM to XDS510,
the error won't occure. By using following emulator, the error occurs:
* XDS560v2STM
* XDS200
* XDS100
Is it JTAG emulator problem?
best regards,
g.f.
The XDS510 that works... which emulator vendor is that from? And you are using the same exact GEL file each time?
Hi Ki,
Thank you for the reply.
I used following Spectrum Digital XDS510 Plus emulator:
http://www.spectrumdigital.com/product_info.php?cPath=22&products_id=205&osCsid=b462c58437badc13ba160e1f1fd4dd24
Yes, I used exact same GEL file.
best regards,
g.f.
Sorry for the delay in the reply. I was away from the office for a mix of business travel and vacation.
Is the GEL file you are using: AM335x_15x15_EVM.gel ?
Have you tried using the on-board XDS100v2 on the EVM? I used the on-board and was able to connect just file with my AM3358EVM using the above GEL file for the A8.
Hi Ki,
Thank you for the reply.
Your board looks like AM335xEVM Starter Kit.
But our board is AM3358EVM, not Starter Kit.
So, I think there are no emulation on AM3358EVM.
By the way,
what is the difference between on-board emulation(XDS100v2) and JTAG Emulator?
Is the error message depend to emulator?
best regards,
g.f.
Ah ok. I do believe I have the starter kit.
g.f. said:By the way,
what is the difference between on-board emulation(XDS100v2) and JTAG Emulator?
The XDS100v2 is a JTAG emulator. Just a low performing one. You XDS510USB is better.
g.f. said:Is the error message depend to emulator?
It can. But it is not obvious. The debugger is having issues reading those memory locations. As I mentioned, it is almost always related to some target initialization step missing to initialize external memory and also any clocks. Normally the GEL file handles it. Is there some way where you can confirm if your device has been properly initalized? Can you access other memory regions?
Hi Ki,
As I mentioned at first post,
when entering internal Shared Memory address to the Memory Browser,
the same error occured.
Here are another information.
When using XDS560v2 STM(Spectrum Digital), I can't see a register value
from View -> Register. For example, DMTIMER/LCD Controller/etc...
In Register view, it displays "Error: unable to read" when opening the some peripheral tree.
And also I can't see the value from Memory Browser.
By the way, these peripheral's address space are mapped in the GEL file.
We need workaround for this problem to debug.
I tried upating emulation package, but it didn't solve the problem.
best regard,
g.f.
I could not find a AM3358EVM here but I did get an AM3359EVM (should be close) and used an XDS560v2 with it. No issues at all.
Could you post the GEL output you get when your connect to the A8? It should look like this:
---
CortxA8: Output: **** AM335x 15x15 EVM Initialization is in progress ..........
CortxA8: Output: **** AM335x ALL PLL Config for OPP == OPP100 is in progress .........
CortxA8: Output: Input Clock Read from SYSBOOT[15:14]: 24MHz
CortxA8: Output: **** Going to Bypass...
CortxA8: Output: **** Bypassed, changing values...
CortxA8: Output: **** Locking ARM PLL
CortxA8: Output: **** Core Bypassed
CortxA8: Output: **** Now locking Core...
CortxA8: Output: **** Core locked
CortxA8: Output: **** DDR DPLL Bypassed
CortxA8: Output: **** DDR DPLL Locked
CortxA8: Output: **** PER DPLL Bypassed
CortxA8: Output: **** PER DPLL Locked
CortxA8: Output: **** DISP PLL Config is in progress ..........
CortxA8: Output: **** DISP PLL Config is DONE ..........
CortxA8: Output: **** AM335x ALL ADPLL Config for OPP == OPP100 is Done .........
CortxA8: Output: **** AM335x DDR2 EMIF and PHY configuration is in progress.........
CortxA8: Output: EMIF PRCM is in progress .......
CortxA8: Output: EMIF PRCM Done
CortxA8: Output: DDR PHY Configuration in progress
CortxA8: Output: Waiting for VTP Ready .......
CortxA8: Output: VTP is Ready!
CortxA8: Output: DDR PHY CMD0 Register configuration is in progress .......
CortxA8: Output: DDR PHY CMD1 Register configuration is in progress .......
CortxA8: Output: DDR PHY CMD2 Register configuration is in progress .......
CortxA8: Output: DDR PHY DATA0 Register configuration is in progress .......
CortxA8: Output: DDR PHY DATA1 Register configuration is in progress .......
CortxA8: Output: EMIF Timing register configuration is in progress .......
CortxA8: Output: EMIF Timing register configuration is done .......
CortxA8: Output: DDR PHY Configuration done
CortxA8: Output: **** AM335x DDR2 EMIF and PHY configuration is done ****
CortxA8: Output: **** AM335x 15x15 EVM Initialization is Done ******************
Hi Ki,
Thank you for the reply.
The following is output of our GEL:
CortxA8: Output: **** AM335x 15x15 EVM Initialization is in progress ..........
CortxA8: Output: **** AM335x ALL PLL Config for OPP == OPP100 is in progress .........
CortxA8: Output: Input Clock Read from SYSBOOT[15:14]: 24MHz
CortxA8: Output: **** Going to Bypass...
CortxA8: Output: **** Bypassed, changing values...
CortxA8: Output: **** Locking ARM PLL
CortxA8: Output: **** Core Bypassed
CortxA8: Output: **** Now locking Core...
CortxA8: Output: **** Core locked
CortxA8: Output: **** DDR DPLL Bypassed
CortxA8: Output: **** DDR DPLL Locked
CortxA8: Output: **** PER DPLL Bypassed
CortxA8: Output: **** PER DPLL Locked
CortxA8: Output: **** DISP PLL Config is in progress ..........
CortxA8: Output: **** DISP PLL Config is DONE ..........
CortxA8: Output: **** AM335x ALL ADPLL Config for OPP == OPP100 is Done .........
CortxA8: Output: **** AM335x DDR2 EMIF and PHY configuration is in progress.........
CortxA8: Output: EMIF PRCM is in progress .......
CortxA8: Output: EMIF PRCM Done
CortxA8: Output: DDR PHY Configuration in progress
CortxA8: Output: Waiting for VTP Ready .......
CortxA8: Output: VTP is Ready!
CortxA8: Output: DDR PHY CMD0 Register configuration is in progress .......
CortxA8: Output: DDR PHY CMD1 Register configuration is in progress .......
CortxA8: Output: DDR PHY CMD2 Register configuration is in progress .......
CortxA8: Output: DDR PHY DATA0 Register configuration is in progress .......
CortxA8: Output: DDR PHY DATA1 Register configuration is in progress .......
CortxA8: Output: EMIF Timing register configuration is in progress .......
CortxA8: Output: EMIF Timing register configuration is done .......
CortxA8: Output: PHY is READY!!
CortxA8: Output: DDR PHY Configuration done
CortxA8: Output: **** AM335x DDR2 EMIF and PHY configuration is done ****
CortxA8: Output: **** AM335x 15x15 EVM Initialization is Done ******************
best regards,
g.f.
Looks like initialization succeeded. Not sure what the issue is.
Please generate a Debug Server Log and then zip and attach it to this thread:
http://processors.wiki.ti.com/index.php/Troubleshooting_CCSv5#Debug_Server_Logging