• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Microcontrollers » Hercules™ Safety Microcontrollers » Hercules™ Safety Microcontrollers Forum » RVI TMS570 target platform
Share
Hercules™ Safety Microcontrollers
  • Forum
  • E2E Wiki
Options
  • Subscribe via RSS

Forums

RVI TMS570 target platform

This question is answered
edna salazar
Posted by edna salazar
on Apr 23 2012 07:39 AM
Prodigy130 points

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

ARM compiler TMS570 RVI
Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Diwakar Bansal
    Posted by Diwakar Bansal
    on Apr 23 2012 17:24 PM
    Intellectual1280 points

    Hello Edna,

    We are reviewing this and will get back to you.

    Regards,

    Diwakar

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • KGreb
    Posted by KGreb
    on Apr 24 2012 07:06 AM
    Expert5865 points

    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

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • edna salazar
    Posted by edna salazar
    on Apr 30 2012 03:19 AM
    Prodigy130 points

    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

    ARM compiler TMS570 RVI
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • KGreb
    Posted by KGreb
    on Apr 30 2012 09:59 AM
    Expert5865 points

    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

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • edna salazar
    Posted by edna salazar
    on May 15 2012 12:58 PM
    Verified Answer
    Verified by edna salazar
    Prodigy130 points

    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

     

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
TI E2E™ Community
  • Support Forums
  • Blogs
  • Videos
  • Groups
  • Site Support & Feedback
  • Settings
TI E2E™ Community Groups
  • TI University Program
  • Make the Switch
  • Microcontroller Projects
  • Motor Drive & Control
Other Communities
  • Deyisupport
  • Designsomething.org
  • beagleboard.org
  • TI on Element 14
  • TI on TechXchangeSM
Other Technical & Support Resources
  • WEBENCH® Design Center
  • Product Information Centers
  • Technical Documents
  • TI Design Network
  • TI Technical Articles
  • TI Training

All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
embedded processors, along with software, tools and the industry’s largest sales/support staff.

© Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy Policy | Terms of Use