• 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 » Embedded Software » StarterWare » StarterWare forum » SPI boot problem for 2nd OMAPL138
Share
StarterWare
  • Forum
Options
  • Subscribe via RSS

Forums

SPI boot problem for 2nd OMAPL138

This question is not answered
Duy-Ky Nguyen88210
Posted by Duy-Ky Nguyen88210
on Feb 11 2012 22:02 PM
Expert1350 points

Hello,

I have 2 OMAPL138 on our prototype.

I'm able to load flash and boot only one of them.

For the other one, I have

1) Able to do flashing both boot and app images similar to the 1st chip

2) Able to run BOOT code under debugger and it loads and runs APP out of Flash

3) But NOT able to boot by itself, even with correct setting boot pins [7:0] 0000-0110 as the 1st chip

After power up, I see chip select activated in the 1st SPI flash, but not the 2nd one. Needless to say that the 2nd SPI flash chip select is activated if I use Debugger to run BOOT code to load and run APP code from 2nd SPI flash

You have any idea for me to look at ?

Thanks,

~Duy-Ky

Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Madhvapathi Sriram
    Posted by Madhvapathi Sriram
    on Feb 12 2012 22:10 PM
    Intellectual465 points

    You say, that you have a prototype... So, is it that you have your custom board and not the one TI provides?

    Are you using the same instances of SPI controller one each of the OMAPL138? If yes, then can you check if the hardware is correct - no forced pin pull up/down on SPI pins (CLK, CS and DATA lines).

    If you are using different instances of the SPI controllers on each of the OMAPL138 (for example SPI0 on one and SPI1 on the other), have you made sure that the PINMUX, PSC, BASE addresses etc are correctly set according to the instance? Given that with the debugger things are working fine and not standalone bootstrap, means that you have GEL file updated correctly and not the boot code

    Note that boot code is tightly copuled with he instance of SPI being used. You may have to take care of modifying it if you are changing the controller instances or any thing that is different from the EVM on your custom board

    Hope this helps..

    Regards,

    Madhvapathi Sriram

    Thanks and regards,

    Madhvapathi Sriram

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Duy-Ky Nguyen88210
    Posted by Duy-Ky Nguyen88210
    on Feb 12 2012 23:06 PM
    Expert1350 points

    Hello,

    Our prototype is based on PD Logic Eva board and I believe it's the only Eva brd for OMAPL138

    Our prototype  has 2 duplicate circuitry of OMAPL138 on board

    The boot code runs on Eva brd, and only one OMAP, even the second one has the same circuitry as the first.

    The same binary runs only on the Eva brd and the 1st OMAP, but not the second one running after booted up in stand-alone mode

    However, all three Eva brd, and 2 OMAP are going well under debugger mode with exactly the same boot code and app code

    Even the same boot mode setting 0000-1100 for both OMAP, but the second OMAP has no SPI_CS activated after power-on, while the first OMAP has its own SPI_CS activated

    Per datasheet, all I can do is to set the right setting for boot mode and I expect SPI_CS acitvated after power up, but it's NOT

    Any idea ?

    Thanks,

    ~Duy-Ky

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Baskaran Chidambaram
    Posted by Baskaran Chidambaram
    on May 09 2012 04:47 AM
    Expert4385 points

    is your problem solved.

    regards

    Baskaran

    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