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.

RVI TMS570 target platform

Other Parts Discussed in Thread: TMS570LS20216

I am using RVI debugger to initialize TMS570  processor , I must create the target platform by using debugger hardware program in DS-5 tools

Therefore , I tried to auto configure my develop platform  but it doesn’t find the device ,in effect it displays an ID  0X1B…. that is not the same ID of  TMS570 (0X80206D05)

To overcome that problem I use a default platform called TMS570PSF762,

When I use it ,without changing  the target configuration,  I have the following error:

Disconnected from stopped target Cortex-R4

ERROR(CMD9-TAD11-NAL20):

! Failed to connect to the device

! Failed to write 10,812 bytes to address 0x00000000

! Verify error on memory operation.

 

Then , due to the fact that there is a parameters set to specify the base addressee and index AP of each module in the coresigth . I tried to configure the register

 

According to the application note SPNS141F, it  shows the memory map in the debugger register, so I set the basse address according to the frame start address (table 2-4) in the TMS570PSF762 platform

AP index= default index

Basse addresse (cortex R4)= FFA01000

 

However I have the following error:

ERROR(DTS77-DTS77-NAL48):

! Unable to connect to TCP:164.129.123.158

! Unable to connect to TCP:164.129.123.158

! Failed to communicate with debug hardware using 'TCP:164.129.123.158'- please check it is available.

Although I modified  the ID in RDC file , I have the same error.. So I don’t know if my configuration target is not right or  if I didn’t do some configuration

  • Hello Edna,

    We are reviewing this and will get back to you.

    Regards,

    Diwakar

  • Hello,

    Can you please clarify which device part number and which version of the ARM debug tools are in use?  I have not used the ARM debug tools in several years but hope I can still be of some assistance.

    I suspect what is happening is that the ARM tool has not set up the ICEPICK or AJSM modules to configure access to the Coresight debug domain scan chain.  The ARM tools have historically had issues in managing this interface.  This could be exacerbated due to use of the TMS570PSF762 configuration - this product is an older multi-core design with a Cortex R4 and a Cortex M3.  The '762 has a slightly different debug configuration as necessary to support both CPUs (multiple CoreSight domains, one for R4 and one for M3 as ARM did not make M3 fully CoreSight compliant).  Note that '762 has ICEPICK but not AJSM.

    The error message of failing to write at 0x0 is to be expected unless you define this memory range as non-volatile in the debugger.  Most debuggers expect all memory to be volatile, read/write capable, but these products map flash at 0x0 which is read only.

    Best Regards,

    Karl

  • Thanks you for the reply , I'm working whit ARM develelopment Studio DS-5 (5.9 ) which contains RVI software , then I am using Real View Ice , this is an old version whose frimware was updated by  RVI update (current version 4.3).

    First, I will contacte ARM support about ICEPICK / AJSM modules and RVI Ice compatibility

    Second, according to memory range used by the debugger on TMS570LS20216 The Core Sigth is acceded throught  APB bus (Peripherals)  For this reason I changed the default configuration :

    Basse addresse (cortex R4 core)= FFA01000

    So, I agree with you about  non-volatile memory definition however I dont  think that the memory which will be accedded is the same data  memory defined in  0x08000..addresse

  • Hi Edna,

    It may have caused a problem when you remapped the address of the CoreSight debug peripheral frame.  The debug tools typically access this frame via the APB-AP interface in the DAP module.  The APB-AP does not have the same memory mapping as the CPU.  The APB-AP sees the debug peripheral frame starting with a base address of 0x0000_0000.  Because bit #31 is used to indicate APB-AP bus master access, this might also be represented in the ARM tool as 0x8000_0000.  I apologize that I am not familiar enough with ARM's current tool offerings to be of more assistance here.

    The debugger will typically be accessing the coresight peripherals via this path:  JTAG --> ICEPICK --> DAP JTAG-AP --> DAP APB-AP --> APB MUX --> CoreSight Frame.

    The CPU can only access the coresight peripherals via this path:  CPU --> PCR --> APB MUX --> CoreSight Frame.  The PCR will strip the upper address bits off the transaction when passing it to the APB MUX such that the addressing is consistent for the CoreSight frame.

    Once the base address of the frame is established, the CoreSight compliant debug modules should be accessible every 4kB.

    Best Regards,

    Karl

  • HI karl,

    Thanks for your replay, I found the solution therefore I want to post the information :

    -          MDK for microcontrollers support  ARM7/9, Cortex M, TMS570 Is the only one based on R4. MDK only works on windows

    -        DS-5 support Cortex A Cortex R coretile  linux/windows

    So I stoped using RVI and Streammer (Debuger DS-5) currently I am working with J-Link tools

    Thanks