• 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 » beaglebone prints CCC on the serial connection when powered on.
Share
StarterWare
  • Forum
Options
  • Subscribe via RSS

beaglebone prints CCC on the serial connection when powered on.

beaglebone prints CCC on the serial connection when powered on.

This question is answered
sang gang
Posted by sang gang
on Aug 29 2012 00:53 AM
Intellectual300 points

Hi,

I'm trying to make gpioLEDblink.c work in SD card. I'm using MLO image in the binary/.../bootloader which is dated as Aug/6/2012. I compiled gpioLEDblink, then renamed it to 'app'. All these were done in Ubuntu guest in VirtualBox, then I copied both of them to the Windows host machine to use "TI_SDCard_boot_utility_v1_0.exe". It formats my SD card whenever I click the "Proceed" button. But, anyway, it seems to make the SD card partition bootable and copied MLO and app to the card.

Then I inserted the microSD to beaglebone, then connected USB cable to power on (I don't use adapter). I opend Putty to see messages from the serial connection. But it only prints "CCCCCCCCCC", which, I read somewhere, means UART booting sequence, waiting for boot image from the host.

I also tested my own boot_ti.bin image built in CCSv5 in ubuntu. I used Debug_MMCSD configuration for compilation. Then, I copied boot_ti.bin to Windows, renamed it to MLO then used the "TI_SDCard....." to load it with app to microSD card. No luck. I saw the same 'CCCCCCCCCCCCCCCCC' over and over again.

Could you give me some clue?

Thank you.

Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Ruediger Wesche
    Posted by Ruediger Wesche
    on Aug 29 2012 02:07 AM
    Prodigy110 points

    Hello sang gang,

    the CCC clearly indicates that the AM335x is trying to boot via UART0 (see TRM chapter 26.1.8.5). In order to let the AM335x boot via SD-card, you have to change the boot configuration of the SYSBOOT[4:0] signals on your BeagleBone (see page 6 of the schematic). The large table 26-7 in the TRM outlines the choices. Perhaps 10111b (MMC0 first, then SPI0, then UART0 and USB0 as the last) is the required boot configuration for you.

    HTH, Rudi

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • sang gang
    Posted by sang gang
    on Aug 29 2012 08:14 AM
    Intellectual300 points

    Hi Ruediger,

    Thanks for reply. But I don't understand what you mean. I read in the Starterware user guide that the TI evaluation board is configurable for boot mode using dip switch, but BeagleBone is hardwired for SD boot only. That's why I was very confused by the symptom. Or maybe I'm wrong. But, I couldn't find any information related to it. BTW, where can I get TRM? I have BeagleBone System Reference Manual, but I couldn't find TRM.

    Thanks again.

    Update: Well I found the information. BeagleBone is configurable for boot mode using some headers. But that's strange. The default boot mode is SD card, then why does it show CCCCCC? And, if I use those header lines, I cannot use the board as I want. Anyway, I'll try testing.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Steve Kipisz
    Posted by Steve Kipisz
    on Aug 29 2012 08:22 AM
    Verified Answer
    Verified by sang gang
    Expert3815 points

    The beaglebone has a hard wired boot order of mmc0 -> spi0 -> uart0 -> usb0. That means it tries mmc first. If no bootable image is found it tries spi. If no bootable image is found it tries uart (which is when you see the CCC) and finally usb. For some reason when you are trying to boot from mmc the boot rom doesn't think your image is bootable.

    To get the TRM, you can go to www.ti.com and search for am335x. One of the links found will be to the TRM.

    Steve K.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Ruediger Wesche
    Posted by Ruediger Wesche
    on Aug 29 2012 08:33 AM
    Prodigy110 points

    Hi Steve,

    thank you for the clarification. If nobody has altered the boot configuration on sang gang's BeagleBone, does this mean his SD-card is not formatted correctly?

    @sang gang: here is the TRM: http://www.ti.com/litv/pdf/spruh73f

    Rudi

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Steve Kipisz
    Posted by Steve Kipisz
    on Aug 29 2012 10:25 AM
    Expert3815 points

    It sounds like the card is not formatted correctly. I have not used that Windows utility to format a card so I'm not familiar with it.

    Steve K.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • sang gang
    Posted by sang gang
    on Aug 29 2012 10:55 AM
    Verified Answer
    Verified by sang gang
    Intellectual300 points

    Hi Steve, Ruediger,

    Based on your input, I guessed that the TI_SDCard..... utility is not great on making the partition active boot. And that turned out to be the reason. I made it active boot partition, and it worked. I used fdisk in ubuntu.

    Thanks a lot for your interest and concern,

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Jon Peterson
    Posted by Jon Peterson
    on Oct 03 2012 11:47 AM
    Expert1730 points

    Also see this thread

    http://e2e.ti.com/support/embedded/starterware/f/790/p/151409/765778.aspx#765778

    for useful information on this topic.

    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