• 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 » Question on booting OMAP3530 with WinCE on custom board
Share
WinCE
  • Forum
Options
  • Subscribe via RSS

Forums

Question on booting OMAP3530 with WinCE on custom board

This question is answered
Luan Le
Posted by Luan Le
on Jul 15 2010 14:02 PM
Expert2270 points

I have a single board computer designed after the OMAPEVM, using the OMAP3530 and similar Flash as well as SDRAM. Copying the files MLO, ebootsd.nb0, and nk.bin from the EVM project onto a SD card, I am able to boot our custom board. However, after eboot copies the OS image to SDRAM and jumps to the image launch address, the code crashes somewhere and I no longer see debug messages coming out on the COM3 debug terminal. Using the same SD card on the EVM, it can go all the way to show the window screen.

I added some printfs before the jump to the OS to dump out the first 1024 long words, starting at the launch address. The dumped data are the same between the EVM and our custom board. I also added code in the Eboot to test the SDRAM for the entire space except the Eboot portion. The test passes.

As far as I know, Eboot is running in SDRAM, so SDRAM configurations should be OK. I don't know why the OS does not run?

Does anyone have any suggestions for me on how to debug this kind of problem?

Thanks,

Luan

EBOOT WinCE OMAP35x TPS659xx
Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Madhvi
    Posted by Madhvi
    on Jul 15 2010 15:54 PM
    Verified Answer
    Verified by Luan Le
    Expert5080 points

    Have you tried enabling KITL + KERNEL debugger to debug using Platform builder? However this will only help if your kernel is crashing after OAL and KITL have been initialized. Give it a try if you havent done already.

     


    Please click Verify Answer button if this response answers your question. For updated information on TI WINCE BSP, please check out the WinCE Handbook.

     

    OMAP35x wince BSP
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Luan Le
    Posted by Luan Le
    on Jul 15 2010 20:52 PM
    Expert2270 points

    My board does not have Ethernet and that was why I tried to boot from SD.  I am learning how to use RNDIS USB on the EVM so that I can implement your suggestion but at this time, I have some problem doing that.  After power on, I got the following output on the UART3 terminal:

    Hit space to enter configuration menu 5...
    Hit space to enter configuration menu 4...
    Hit space to enter configuration menu 3...
    Hit space to enter configuration menu 2...
    Hit space to enter configuration menu 1...
    HostMiniInit:: !!
    Rndis:: initialization: with addr=480AB000
    Rndis:: Address static map to addr=480AB000
    Rndis:: initialization!
    +USBFN::Device ID = 0x4b7ae02f
    +USBFN::Device ID = 0x4b7ae02f
    Rndis:: PDDInit Success!
    Rndis:: Get MAC address 200,902F,B5D
    Rndis:: initialization: Fail!
    ERROR: Boot device driver Init call failed

    I also got a window poped up asking to install a USB driver "Microsoft RNDIS KITL for OMAP2430.  I do not know where to get this driver.  Would you please help from you on this?

    Thanks,

    Luan

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Frank Walzer
    Posted by Frank Walzer
    on Jul 16 2010 01:56 AM
    Genius13535 points

    Luan,

    it seems you are missing the RNDIS driver on the PC side. I vaguely remember I had the same issues when I first used KITL via USB. Now I forgot where I got the driver from (as this is nearly 2 years ago...). However I think you can google this or contact Microsoft for support as this is a generic platform builder issue. I don't think there is a special OMAP RNDIS driver.

    Regards.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Madhvi
    Posted by Madhvi
    on Jul 16 2010 08:25 AM
    Expert5080 points

    Here are the steps to use USB RNDIS as KITL device.

     

    Here are the steps you need to follow in order to make USB RNDIS work:

     

    Setup Device:

    1.      On the debug terminal, press SPACE when prompted. Using the bootloader menu, set the boot device to USBFn RNDIS.

    2.      Set the debug device to USBFn RNDIS

    3.      In ‘Network Settings’:

    a.      Disable DHCP

    b.      Assign Static IP Address

    c.      Assign IP Mask

    4.      In the bootloader main menu, select “Exit and Continue” to download image.

     

    Setup Host PC:

    5.      Host PC will display ‘Found New Hardware Wizard’

    6.      Select ‘No, not this time’ and press next.

    7.      Select ‘Install from a list or specific location then press ‘next’ button

    8.      Ensure that ‘Search for the best driver in these locations’ is selected. Also ensure that ‘Include this location in the search’ is selected and click ‘Browse” button.

    9.      In the ‘Browse for Folder’ window navigate to: ‘C:\WINCE600\PUBLIC\COMMON\OAK\DRIVERS\ETHDBG\RNDISMINI\HOST’

    10.   Press ‘Next’ button. RNDIS Connection is made.

    11.   In network connections, make sure to set an IP and subnet mask similar to that set on the device.

    Example: Set IP as 192.168.1.24 and subnet mask as 255.255.255.0.

    12.   From Platform Builder, select Target | Connectivity Options. Set:

    a.      Download to Ethernet

    b.      Transport to Ethernet

    c.      Click on the Settings button and select the device (on the debug console, you should see that the device is sending BOOTME packets).

    d.      Apply these settings.

    13.   Attach the device

     


    Please click Verify Answer button if this response answers your question. For updated information on TI WINCE BSP, please check out the WinCE Handbook.

     

    OMAP35x wince BSP
    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