• 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) » OMAP™ Processors » OMAP-L13x, AM1x and C674x Processors Forum » Troubles in connecting to and loading program to OMAPL138
Share
OMAP™ Processors
  • Forums
  • Announcements
Options
  • Subscribe via RSS
Resources
  • OMAP-L1x DSP+ARM9™-based Processors Product Folder
  • OMAP3525/30 DSP+ARM Cortex™-A8-based SOCs Product Folder

  • Top OMAPL Wiki Links
  • OMAPL3x Schematic Review Checklist
  • OMAPL13x Boot resources

  • OMAPL Document Resources
  • OMAPL137 Technical reference manual
  • OMAPL138 Technical reference manual
  • OMAPL Boot loader App Notes
  • Troubles in connecting to and loading program to OMAPL138

    Troubles in connecting to and loading program to OMAPL138

    This question is answered
    Cicy
    Posted by Cicy
    on Aug 01 2012 23:41 PM
    Prodigy170 points

    When it connect to OMAPL138’s  ARM9_0 through SEED-XDS560PLUS Emulator in CCSv4.1.2.00027,the following error would occur :

    And the main GEL codes are:

    OnTargetConnect( )

    {

        Clear_Memory_Map();

        Setup_Memory_Map();

     

        PSC_All_On_Experimenter();

           DEVICE_kickUnlock();

     

    Core_300MHz_DDRPLL_150MHz();

        EMIFA_NAND_PINMUX();

        Wake_DSP();

    }

    And I used “Core_300MHz_mDDR_132MHz();”, “Core_200MHz_mDDR_126MHz();” or “Core_100MHz_mDDR_102MHz();” instead of  “Core_300MHz_DDRPLL_150MHz();”.It could only be configured successfully with “Core_100MHz_mDDR_102MHz();”.

    So I’m confused.I don’t know why such a strange phenomenon happens.And what should I do to solve this problem?

     

    Besides,after connect to OMAPL138’s  ARM9_0,I tried to load program “nand-writer_ccs33.out” into the processor for writing “ubl-nand.bin” and “u-boot.bin” into NANDFLASH ,like this:

    However,once I clicked “OK”,the processor would be running immediately and never stop!Please look at following picture:

    And if I halted it, I figured out that it’s running 2 codes at 0xFFFD397C and 0xFFED3980 in an infinite loop ,like following:

    Could anyone help me to solve these problems?

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    All Replies
    • Cicy
      Posted by Cicy
      on Aug 09 2012 08:34 AM
      Suggested Answer
      Prodigy170 points

      I've solved my own problems now.

      1、I tried CCSv3.3 instead of CCSv4,and the first problem didn't appear under it;

      2、I loaded "nand-write_ccs33.out" as a program instead of as a symbol only,then it writed "ubl.bin" and "uboot.bin" into NAND Flash successfully.

      Thank all the friends who care about this post.And hope my answear could help you,too.O(∩_∩)O~

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Cicy
      Posted by Cicy
      on Aug 09 2012 23:36 PM
      Verified Answer
      Verified by Cicy
      Prodigy170 points

      I figured out the essential reason for my problem today.I checked my target configuration in CCSv4,and found out that it set JTAG TCLK Frequency as 35MHz by default.However,it would better be 10MHz.So I changed it like following picture:

      Finally,the troubles I posted never show again.

      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