• 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 » Digital Signal Processors (DSP) » C6000 Single Core DSP » C67x Single Core DSP Forum » C6748 boot fails when code placed in DDR
Share
C6000 Single Core DSP
  • Forums
  • Announcements
Options
  • Subscribe via RSS

Forums

C6748 boot fails when code placed in DDR

This question is answered
Admar Schoonen
Posted by Admar Schoonen
on Jun 22 2011 08:09 AM
Intellectual480 points

Well, it seems there is still an error (likely again between keyboard and chair, but this time I can't seem to find it).

I did succeed in booting the C6748 SOM on the EVM and running the keystone example from IRAM. I even succeed in configuring PLL0, PLL1 and DDR in AISgen and booting and running the example from IRAM. However, as soon as I place the code section (.text) in DDR, the program won't run anymore. If I connect the debugger, the CPU is stuck at 0x11804408 (BNOP.S1):

            SYS_EXITFXN, UTL_halt:
0x11804400:   01BC54F7            STW.D2T2      B3,*SP--[2]
0x11804404:   1FFF7812 ||         CALLP.S2      _HWI_disable (PC-1088 = 0x11803fc0),B3
            C$L1:
0x11804408:   0002A120            BNOP.S1       C$L1 (PC+8 = 0x11804408),5
0x1180440C:   00000000            NOP
0x11804410:   00000000            NOP
0x11804414:   00000000            NOP
0x11804418:   00000000            NOP
0x1180441C:   00000000            NOP
            CLK_TIMEFXN, CLK_F_gethtime, _CLK_gethtime:

My AISgen config file is: , my tcf file is: , and the generated bin file is: . (Remove .jpg extensions from files.)

Any help is appreciated!

Admar

boot C6748
Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Brad Griffis
    Posted by Brad Griffis
    on Apr 19 2012 09:10 AM
    Guru57425 points

    At a minimum you need to tell me which power domain is being transitioned that gets stuck.  If your code does anything to interfere with the DDR that will almost certainly break things.  For example, you should NOT be doing any manipulations of the PLLs or DDR configuration.

    ---------------------------------------------------------------------------------------------------------

    Please click the Verify Answer button on this post if it answers your question.
    --------------------------------------------------------------------------------------------------------- 

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • George Paravas
    Posted by George Paravas
    on Apr 19 2012 09:23 AM
    Intellectual280 points

    the condition we use is the following, that initialises uart2, and we boot from uart:

    EVMC6748_lpscTransition(PSC1, DOMAIN0, LPSC_UART2, PSC_ENABLE);

    Should we have observed the same behaviour when the code is loaded in the IRAM? and if so why is that?

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Brad Griffis
    Posted by Brad Griffis
    on Apr 19 2012 11:07 AM
    Guru57425 points

    I don't see any obvious reason why that function would behave different when executing from DDR vs IRAM.  I expect the issue is somewhere else.  What else is different between the two cases?

    ---------------------------------------------------------------------------------------------------------

    Please click the Verify Answer button on this post if it answers your question.
    --------------------------------------------------------------------------------------------------------- 

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • George Paravas
    Posted by George Paravas
    on Apr 19 2012 14:32 PM
    Intellectual280 points

    Dear Brad,

    There are no other differences between the two cases. we modifiy the load memory of the executble (.text section) code in the command linker file.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Brad Griffis
    Posted by Brad Griffis
    on Apr 19 2012 14:42 PM
    Guru57425 points

    George,

    You need to poke around and figure out what's going on.  For example:

    • Does it consistently fail at that exact same place?
    • Are you enabling other power domains?  If so, do any of those actually transition correctly?
    • Have you tried enabling that domain through the bootloader using the AISgen utility?
    • Can you simplify the program further to get something that works consistently from DDR?
    • If you inspect the PSC registers just before that function call what do you see?  Anything "strange"?  Anything values that differ between the DDR case and the IRAM case?

    Brad

    ---------------------------------------------------------------------------------------------------------

    Please click the Verify Answer button on this post if it answers your question.
    --------------------------------------------------------------------------------------------------------- 

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
12
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