• 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 » WinCE » WinCE forum » AM335x EVM fails to execute ebootsd.nb0
Share
WinCE
  • Forum
Options
  • Subscribe via RSS

Forums

AM335x EVM fails to execute ebootsd.nb0

This question is answered
MGun
Posted by MGun
on Mar 12 2012 10:09 AM
Intellectual790 points

Hi community

I have received today a brand new AM335x EVM from Texas Instruments.

Build the BSP:

  • Downloaded & installed the WINCE ARM-A8 02.30.00
  • Open C:\WINCE700\OSDesigns\AM335X_OS\AM335X_OS\AM335X_OS.pbxml
  • Switch Configuration to AM33X_BSP_ARMV7_Release
  • AM335X_OS -> Advanced Build Commands -> Sysgen
Default setup of switches for the AM335x EVM to boot from SD Card:
  • SW3/SW4 DIP switches: 1111 1101 / 0111 1111
  • SW6 DIP: All DIP off (0000)
Connection:
  • Connect Serial Cable to UART0 (next to the power switch)
Then I have formatted the SD Card that it can be read by the processor. Copied MLO, Ebootsd.nb0 & nk.bin to SD Card.
However, MLO is executed but fails to execute ebootsd.nb0.
The serial ouput looks like this:
Texas Instruments Windows CE SD X-Loader v0.0.0 for SubArctic 33X
Built Mar 8 2012 at 07:32:41
Version BSP_WINCE_ARM_A8 02.30.00.03
open ebootsd.nb0 file
Init HW: controller RST
SDCARD: requested speed 1000000, actual speed 1000000
SDCARD: requested speed 25000000, actual speed 19200000
read ebootsd.nb0 file

jumping to ebootsd image
Can you tell me what I am doing wrong?
Do I have to erase / prepare the flash in order to boot from SD Card?
I have attached my generated MLO & Ebootsd.nb0, could someone please verify that they are correct?
4718.EBOOT_MLO_ARM-A8_02.30.00.zip
Thanks in advance!
Michael 
jumping to ebootsd image AM335x EVM
Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Aparna Balasubramanian
    Posted by Aparna Balasubramanian
    on Mar 12 2012 14:06 PM
    Intellectual2525 points

    Michael,

    The switch settings seem to be correct and there are no errors from the messages seen also. Although you should have seen further messages such as below. Did you create the SD card using the TI SD Utility? If not, that would be worth a try. Also, could you try loading the images which are part of the demo package in the BSP? If you still see issues, please enable the retail debug messages from eboot submenu and see if that provides some clue. Have you tried waiting for a couple of minutes just in case flash was being formatted (this should happen automatically when eboot comes up - please see messages further below) and these logs show up even if retail debug messages are not enabled? Since you dont see these messages, your scenario might be different.

    Regards,

    Aparna

    Version BSP_WINCE_ARM_A8 02.30.00.03
    open ebootsd.nb0 file
    Init HW: controller RST
    SDCARD: requested speed 1000000, actual speed 1000000
    SDHC: command response timeout CTO!
    MMC::MMCCommandResponse: MMCSendCommand error, command = 8
    MMC::MMCCommandResponse: Command Response Error
    SDHC: command response timeout CTO!
    MMC::MMCCommandResponse: MMCSendCommand error, command = 55
    MMC::MMCCommandResponse: Command Response Error
    SDCARD: requested speed 20000000, actual speed 19200000
    read ebootsd.nb0 file

    jumping to ebootsd image

    Microsoft Windows CE Bootloader Common Library Version 1.4 Built Jan 31 2012 21:
    25:31
    IT IS A GP BOARD
            Board Name: A33515BB
            Board Ver : 1.1A
           ...

    ...

    ...

    Texas Instruments Windows CE EBOOT for AM33x, Built Jan 31 2012 at 21:31:36
    EBOOT Version 0.0.1, BSP BSP_WINCE_ARM_A8 02.30.00.03

    TI AM33X

    ecc type:3
    System ready!
    Preparing for download...
    INFO: Predownload....
    Checking bootloader blocks are marked as reserved (Num = 18)

    BOOT_CFG_SIGNATURE is different, read -1, expect 1111705159
    WARN: Boot config wasn't found, using defaults
    INFO: SW3 boot setting: 0x01
    IsValidMBR: MBR sector = 0x480 (valid MBR)
    OpenPartition: Partition Exists=0x0 for part 0x20.
    OS partition does not exist!!
    Formatting flash...
    Enter LowLevelFormat [0x0, 0x7ff].
    Erasing flash block(s) [0x0, 0x7ff] (please wait): EraseBlocks: preserving reser
    ved block (0x0)
    EraseBlocks: preserving reserved block (0x1)
    EraseBlocks: preserving reserved block (0x2)
    EraseBlocks: preserving reserved block (0x3)

    Please click Verify Answer button if this response answers your question.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • MGun
    Posted by MGun
    on Mar 13 2012 01:16 AM
    Intellectual790 points

    Yes I have used the TI SD Utility. I have used many OMAP boards in the past (EVM3530, Beagleboard, Beagleboard-xM).

    "Also, could you try loading the images which are part of the demo package in the BSP?"

    Since TI releases the Images together with Adeneo, I was not able to find any demo package images for the AM335x EVM.
    There are only the source BSP images published:
    http://adeneo-embedded.com/en/Products/Board-Support-Packages/Texas-Instruments

    To be clear: I am using the TMDXEVM3358 (also known as AM335x EVM):
    http://www.ti.com/tool/tmdxevm3358 

    The fact that the MLO is able to boot from the SD-Card gives me the feeling that the EBOOT crashes at the early beginning.
    EBOOT isn't even able to print it's version on the console.
    The first lines of EBOOT which should print the EBOOT version can be found in OEMPlatformInit():

    C:\WINCE700\platform\AM33X_BSP\SRC\BOOTLOADER\EBOOT\main.c 

    I have even tried flashing the AM33X-nand.raw with the MLO.uart (as described in the User Guide under "Flashing the board (AM335x) over UART"). Flashing worked, but executing EBOOT failed. 

    @Adeneo Embedded support team: Please respond, since that's something you claim to be working on the AM335x EVM:
    http://processors.wiki.ti.com/index.php/WinCE-BSP_ARM-A8_User_Guide 

    If you could provide me with a working ebootsd.nb0 that would be fine as well.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • MGun
    Posted by MGun
    on Mar 13 2012 01:42 AM
    Intellectual790 points

    FYI: I have a Blackhawk USB560 JTAG debugger lying around from the OMAP3530.
    http://www.blackhawk-dsp.com/products/USB560.aspx

    If possible I would like to prevent such a time consuming task to debug the EBOOT by myself. My goal is not to debug the EBOOT, I just would like to evaluate the WEC7 on the AM335x.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Adeneo Embedded support team
    Posted by Adeneo Embedded support team
    on Mar 14 2012 02:30 AM
    Genius5265 points

    Hello,

    I gave a try with your binaries and it worked just fine. EBOOT displayed

    Texas Instruments Windows CE EBOOT for AM33x, Built Mar 12 2012 at 16:25:12
    EBOOT Version 0.0.1, BSP BSP_WINCE_ARM_A8 02.30.00.03

    and then it was possible to enter the menu.

    Can't you see anything on the serial port (J12 connector)?

    Don't you see anything on the screen (4 coloured squares)?

    Just in case, could you try with a different SDCARD?

     

    Let us know

     

    Adeneo Embedded Support team
    Contact us at sales@adeneo-embedded.com

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • MGun
    Posted by MGun
    on Mar 14 2012 03:10 AM
    Intellectual790 points

    Hi

    Good to know that my generated binary SHOULD work.

    • I have attach a serial null modem cable to J12 and can see the X-Loader output, but nothing from the eboot. 
    • I don't see anything on the screen with the EBOOTSD.nb0 (it's black)
       

    I have tested the following things:

    • Boot with the enclosed Android SD Card v.2.1.1A -> success
       
    • Boot with the enclosed Linux SDK v5.03.3 -> success
       
    • Prepared two SD Cards with Ubuntu:
      http://code.google.com/p/beagleboard/wiki/LinuxBootDiskFormat 
    • Different SD cards: Transcend 2GB, Transcend 4GB SDHC
      -> jumping to ebootsd image, then nothing 
        
    • I have even overwritten the 8GB Android SD card which was delivered with the EVM with my MLO & EBOOTSD.nb0
      -> jumping to ebootsd image, then nothing
    Here are some detailed pictures of the DIL switches:
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • MGun
    Posted by MGun
    on Mar 14 2012 03:37 AM
    Intellectual790 points

    To be sure that it's not a SD Card problem, I have programmed the EBOOT into the NAND flash.
    http://processors.wiki.ti.com/index.php/WinCE-BSP_ARM-A8_User_Guide#Flashing_the_board_.28AM335x.29_over_UART

    After the download was complete, I have changed the SW3 & SW4 switches to boot from NAND and removed the SD Card.

    -> Teraterm Output looked like this: 
     

    Could you please verify that my generated AM33X-nand.raw can be executed?

    AM33X-nand.raw as a zip file: 5722.AM33X-nand.zip

    Programming AM33x-nand.raw (with MLO.uart)

    Texas Instruments Windows CE SD/UART X-Loader for SubArctic 335X
    Built Mar 12 2012 at 16:25:20
    Version BSP_WINCE_ARM_A8 02.30.00.03

    This XLDR
    o dnld image file to RAM
    o saves the image file to NAND flash

    BEFORE

    FMD_Init succeeded

    FMD_GetInfo succeeded

    DNLD Image to RAM @ 0x8FE00000

    Downloaded size = 0x000C0000

    Write Image to NAND

    Wrote to block 0x00

    Wrote to block 0x01

    Wrote to block 0x02

    Wrote to block 0x03

    Wrote to block 0x04

    Wrote to block 0x05

    Receive return code 0x01
    blocks written 0x06
    bytes rx 0x000C0000
    pkts rx 0x00001800
    acks sent 0x00001801
    naks sent 0x00000004
    can sent 0x00000000
    others sent 0x00000000
    chksum errs 0x00000000
    dup pkts 0x00000000
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • MGun
    Posted by MGun
    on Mar 14 2012 04:31 AM
    Intellectual790 points

    FYI, my Revision is 1.1A

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Igmar Hernandez
    Posted by Igmar Hernandez
    on Mar 14 2012 15:27 PM
    Prodigy60 points

    Hi Michael

    I work with Adeneo and I have verified all the information that is part of your post. This is what I have so far:

    - About the binaries that you uploaded: I saw that there was a post saying that they're working fine. I have done that myself and I can confirm that they're working without problem. So far, it seems that there's no problem with your binaries or the way your building.

    - Switches configuration: I have verified that the configuration that you posted is correct. I have the same configuration on my board.

    - TI SD Utility: I have one doubt about this, are you using the tool that comes with the BSP package that you downloaded? Or, are you using an old version of that tool (from another BSP or from somewhere else)? I'm asking this just to discard things that could be causing the problem that you're seeing.

    - TMDXEVM3358: I have the same EVM (AM335X) that you mentioned. The revision is exactly the same (REV 1.1A).

    - As you also mentioned, you don't have any demo images, that's why I'm sending you the following zip file containing one of the demos that were created by TI 3348.Demo_Image.zip. You can try those binaries to see if the problem still appears after using those binaries. Those binaries are working for me.

    - I also checked that you already tried different SD Cards (Trascend 2GB and 4GB). I imagine that you have used TI SD Utility to fomat both of them. What I can suggest is to use some other tool to format your SD cards. I usually use the following tool: HP USB Disk Storage Format Tool. You can look for it on internet and use it. I usually format the SD card with that tool, when it finishes I first copy MLO to the SD Card manually, and then EBOOTSD.nb0 and NK.bin. Try this new procedure and see if this helps with the problem you're having.

    Regards

    Igmar

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • MGun
    Posted by MGun
    on Mar 15 2012 05:08 AM
    Intellectual790 points

    Hi Igmar

    First, I would like to thank you for your support. It really looks like there is something wrong with my Evalboard?
    Steps I have done:

    1. Downloaded HP USB Disk Storage Format Tool 2.0.6
      http://elinux.org/BeagleBoard
      See HP USB Disk Storage Format Tool 2.0.6 description on boot the BeagleBoard with MMC/SD page.
      You can download this tool from here. Make sure the version is 2.0.6; newer versions may not work.
    2. Format 2GB Sandisk SD-Card with the HP USB Disk Storage Format Tool
       

    3. Copy MLO from your Demo Images to SD-Card
    4. Copy EBOOTSD.nb0 & nk.bin from your Demo to SD-Card
    5. Start the EVM -> same result
       

    The fact that programming the AM33X-nand.raw into the NAND flash works, but does not start gives me the impression that something is wrong with my Evalboard.
    But why does Android & Linux work on this evalboard?

    Question:
    Does my AM33X-nand.raw work on your AM335x evalboard?
    AM33X-nand.raw as a zip file: 5722.AM33X-nand.zip 

    How should I proceed?
    Should I request a new Evalboard (they are quite out of stock at the distributors)? 
    Send you the Evalboard to Adeneo Embedded?
    If I have a JTAG, am I able to debug the MLO & Eboot with CodeComposer Studio?

    Best regards
    Michael 

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • MGun
    Posted by MGun
    on Mar 15 2012 05:35 AM
    Intellectual790 points

    FYI, my EVM3530 works perfectly fine with all the available SD Cards (2GB Sandisk, 2GB Transcend, 4GB Transcend).

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Tao Zhang
    Posted by Tao Zhang
    on Mar 15 2012 10:11 AM
    Expert4065 points

    MGun,

    What is the profile setting on your AM335x EVM board. FYI, WinCE BSP only supports profile 0.

    Thanks,

    Tao

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Adeneo Embedded support team
    Posted by Adeneo Embedded support team
    on Mar 15 2012 14:09 PM
    Genius5265 points

    Hi Michael,

    I tried your AM33X-nand.raw file but I'm having troubles to flash my device. Probably is because I need your MLO.uart file. What I did was to check the procedure that you post but with the MLO.uart and AM33X-nand.raw files created by TI. I was able to flash my device with those files and I can see that the eboot menu appears. I'm attaching the files so you can give them a try: 4064.NAND Bin.zip.
    Before giving an answer about how to proceed, please try these new files and see if you can boot with them.

    Regards

    Adeneo Embedded Support team
    Contact us at sales@adeneo-embedded.com

    Adeneo Embedded Support team
    Contact us at sales@adeneo-embedded.com

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Adeneo Embedded support team
    Posted by Adeneo Embedded support team
    on Mar 15 2012 14:15 PM
    Genius5265 points

    Hi Michael

    The zip file that was attached in the previous post is empty. Please take the new zip file that I'm attaching in here:

    Regards

    Adeneo Embedded Support team
    Contact us at sales@adeneo-embedded.com

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • MGun
    Posted by MGun
    on Mar 16 2012 01:25 AM
    Intellectual790 points

    Adeneo Embedded:
    I'm sorry, but the first Zip-File is empty (as you mentioned), and the second post does not contain a link to a zip file.
    I have attached my MLO.uart and the AM33X-nand.raw toghether in a zip-file:

    3005.AM33X-nand_MLO_uart.zip

    Thao:
    Do you mean the SW6 DIP configuration?
    As far as I know, this is configured to Setting 0 (all OFF).
    http://processors.wiki.ti.com/index.php/AM335x_General_Purpose_EVM_HW_User_Guide#Configuration.2FSetup

    Here is a picture of the SW6 configuration:

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Tao Zhang
    Posted by Tao Zhang
    on Mar 16 2012 09:18 AM
    Expert4065 points

    MGun,

    Yes, it is SW6. Your configuration is fine.

    Thanks,

    Tao

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