This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Please help me install WinCE demo images on AM3517 eval board

Other Parts Discussed in Thread: AM3517, OMAP3530

Hello,

We have purchased the AM3517 Zoom Experimenters kit and I am trying to get basic WindowsCE demos to work.

Using the TI_SDCard_boot_utility I formatted a USB memory stick with EBOOTSD.nb0, MLO and NK_demo.bin.

I have not been able to figure out how boot from the USB memory stick. I press a key during X-Loader initialization to stop the boot from flash (which loads Arago Linux) and when I type USBBoot I get the message "No boot device". The USB Memory stick is plugged into the USB Host port on the eXperimenter BaseBoard.

Also if anyone has any help with Windows CE 7.0 that would be great. I downloaded CE 7.0 and built a 3530 OS image (thinking that it might run on the 3517, but I have no way of loading the NK.bin file to try it)

thank you,

-Reinyn

  • Hi Reinyn

    The TI sd card utility is to be used on SD card and not USB stick since USB stick is not a supported boot device in WINCE BSP. Follow instructions in Quick start guide (http://processors.wiki.ti.com/index.php/WinCE-BSP_ARM-A8_Quick_Start_Guide#Standalone_Boot) on how to boot from SD card.

    Regarding Wince 7.0, the OMAP3530 BSP that comes with WinCE 7.0 installation will not work on AM3517 board. You will need a OMAP3530 EVM to try this image.

    -Madhvi

  • Also you will need to rename NK_demo.bin to NK.bin on your SD card.

  • Did you check the bottom of the board to see if there is SD card slot?

     

    Thanks,

    Yan

  • Ha, yes I checked just now. It is amazing how much clearer things are in the morning

  • Ok, I am still having problems getting either the Demo WindowsCE Image or EBoot working.

    With the SD Card I have used the TI utility to format the card and I added the EBOOTSD.nb0, and XLDRUART.nb0 files as well at the NK_demo.bin (renamed to NK.bin)

    The boot switches are in the correct position (SW7, 1 and 4 are on)

    When I power up the board to boot the Terminal only displays

    40X

    and the system appears to be hung up.

    So then I thought that maybe I could flash EBoot to the NAND directly (the board currently comes up with U-Boot then Linux)

    I downloaded omap35x_bsp_6.15_serial_flash.zip and followed the directions in omap35x-am35x-wince-serial-flashing.doc.

    using pserial.exe -p COM1 -f XLDRUART.nb0 I was able to download the XLDRUART.nb0

    However I never saw the "?" in the terminal and I was not able to send the AM35X-nand.raw file to the board.

     

    So I am still stuck trying to get eBoot to work.

  • For the SD boot, please try with MLO instead of XLDRUART.nb0.

    For the NAND boot, could you confirm the switch positions were as per the user guide (S7 with 1 and 4 on)? You should see the "$" sign instead of the "?" sign on the terminal. Also, I hope you are using hyperterminal.

    regards,

    Aparna

  • For the SD boot I tried it again with  MLO and I left XLDRUART.nb0 off the card. I still did not have any success.

    For the NAND boot I am using hyperterminal and I did not see anything come up on the terminal.

    Here is the pSerial command which seemed to have worked.

    C:\TI>pserial -p COM1 -f XLDRUART.nb0
    Waiting For Device ASIC ID: Press Ctrl+C to stop
    ASIC ID Detected.
    Sending 2ndFile:
    Downloading file: 100.000% completed(36864/36864 bytes)
    File download completed.

    After this command completed I started Hyperterminal and it did not appear to be connected. I did not see anything come up.

    I can verify that Switch 1 & 4 are in the on position.

    Thank you,

    -Reinyn 

  • Reinyn,

    Regarding SD boot, are you able to see the three files - MLO, ebootsd.nb0 and nk.bin on the SD card when you plug it into your desktop? If so, could you make sure the SD card is inserted properly into the slot on the device - you would be using the SD card slot on the main board. I have had to sometimes ensure that the card is in the slot because a second press releases it from the slot.

    Regarding NAND boot, the pserial output looks correct. Now, when you open hyperterminal, have you configured the COM port settings according to user guide: 115200:8:none:1:none and then connect to the port?

    thanks,

    Aparna

  • Reinyn Bedlington said:

    For the SD boot I tried it again with  MLO and I left XLDRUART.nb0 off the card. I still did not have any success.

     

    Just to be sure, did you use TI SD card utility "again" to do this step? Also, please check if you are using the images for AM35x only - i.e is the MLO, EBOOTSD.nb0 and NK_demo.bin taken from Demo_images\AM35XX folder. Another tip: the SD card needs to be inserted upside down in the AM35x experimenter boards sdcard slot.

     

    -Madhvi

  • Hello Madhvi

    I am using the TI_SDCard_boot_utility_v1.0.exe (installed with the TI WinCE demo instalation)

    Here is the format settings (1.86GB, FAT32, 4096 bytes) Quick Format

    Here is the debug output

    ----------------------------------------------

    MLO file selected.

    MLO path = C:\TI\BSP_WINCE_ARM_A8_01_00_00\Demo_images\AM35XX\MLO.

    SD Card drive not present or no SD Card inserted!

    Formatting "E:" drive...

    Copying files to SD...

    E:\MLO

    E:\EBOOTSD.nb0

    E:\NK_demo.bin

    Copying files done

    -------------------------------------------------------------------------------

    Then I insert the SDCard (upside down) into the dev board and apply power (with boot switch 1 & 4 in the on position)

    At this point I only see "40X" come up in TeraTerm. Using "Hyperteriminal" I do not see anything.

    I have tried two different SD Cards and two different ZOOM AM3517 eXperimenters kits.

  • Make sure the processor card is properly connected to the main board.

     

    thanks,

    Yan

  • Hello yaliu_2000

    I re-seated the processor module with no change. I believe it is installed correctly because I get good output when it boots Linux off the NAND (all boot switches at 0) It uses U-Boot and attempts to load off the SDCard (looking for boot.scr). Anyway still no luck with WinCE.

    Texas Instruments X-Loader 1.44 (Dec  8 2009 - 22:58:46)
    Starting OS Bootloader...


    U-Boot 2009.08 (Dec 08 2009 - 23:00:10)

    AM35xx-GP ES2.0, L3-165MHz
    am3517evm board + LPDDR/NAND
    I2C:   ready
    DRAM:  256 MB
    NAND:  512 MiB
    *** Warning - bad CRC or NAND, using default environment

    In:    serial
    Out:   serial
    Err:   serial
    I2C read: I/O error
    HECC U20: port before = 000000FF
    I2C read: I/O error
    I2C read: I/O error
    HECC U20: programmed CAN_STB low
    I2C read: I/O error
    HECC U20: port after = 000000FF
    Die ID #15a6000100000000015a7e470a017007
    Net:   davinci_emac_initialize
    Ethernet PHY: GENERIC @ 0x00
    DaVinci EMAC
    Hit any key to stop autoboot:  0
    mmc1 is available
    reading boot.scr

    ** Unable to read "boot.scr" from mmc 0:1 **
    reading uImage

    ** Unable to read "uImage" from mmc 0:1 **
    Booting from nand ...

  • Progress!!!

    I ran the SDCard Utility on my Windows XP laptop instead of my Windows 7 x64 dev machine and it made a bootable SD Card!

    I still have not been able to load the nk_demo.bin file. Here is my error message. Then the main menu comes up again.

    Main Menu
    --------------------------------------------------------------------------------
     [1] Show Current Settings
     [2] Select Boot Device
     [3] Select KITL (Debug) Device
     [4] Network Settings
     [5] SDCard Settings
     [6] Set Device ID
     [7] Save Settings
     [8] Flash Management
     [9] Enable/Disable OAL Retail Messages
     [a] Select Display Resolution
     [0] Exit and Continue

     Selection: 0
    Init HW: controller RST
    SDHC: command response timeout CTO!
    MMC::MMCCommandResponse: MMCSendCommand error, command = 55
    MMC::MMCCommandResponse: Command Response Error
    SDHC: command response timeout CTO!
    MMC::MMCCommandResponse: MMCSendCommand error, command = 1
    MMC::MMCCommandResponse: Command Response Error
    MMCIssueIdentify: busy bit never deactivated -- probably no card, ocr = 0x0
    SDCardInit: No media found!
    BLSDCardReadLogo:  fileio init failed
    Turning on the LCD
    Turning on the LCD
    Init HW: controller RST
    SDHC: command response timeout CTO!
    MMC::MMCCommandResponse: MMCSendCommand error, command = 55
    MMC::MMCCommandResponse: Command Response Error
    SDHC: command response timeout CTO!
    MMC::MMCCommandResponse: MMCSendCommand error, command = 1
    MMC::MMCCommandResponse: Command Response Error
    MMCIssueIdentify: busy bit never deactivated -- probably no card, ocr = 0x0
    SDCardInit: No media found!
    BLSDCardDownload:  fileio init failed

  • Ok, now I am seeing a error about the OALIoCtlHalInitRTC():RTC need a reinit because either RTC had been powered off aor the RTC has dropped below the allowed level (status 1).

    --------------------------------------------------------------------------------
     Main Menu
    --------------------------------------------------------------------------------
     [1] Show Current Settings
     [2] Select Boot Device
     [3] Select KITL (Debug) Device
     [4] Network Settings
     [5] SDCard Settings
     [6] Set Device ID
     [7] Save Settings
     [8] Flash Management
     [9] Enable/Disable OAL Retail Messages
     [a] Select Display Resolution
     [0] Exit and Continue

     Selection: 40X
    Texas Instruments Windows CE SD X-Loader for AM35x
    Built Nov 23 2010 at 16:38:58
    Version BSP_WINCE_ARM_A8 1.00.00.16
    open ebootsd.nb0 file
    Init HW: controller RST
    SDCARD: reqested speed 1000000, actual speed 1000000
    SDCARD: reqested speed 25000000, actual speed 19200000
    read ebootsd.nb0 file
    jumping to ebootsd image

    Microsoft Windows CE Bootloader Common Library Version 1.4 Built Nov 23 2010 16:29:51

    Texas Instruments Windows CE EBOOT for AM35x, Built Nov 23 2010 at 16:38:31
    EBOOT Version 1.2, BSP 1.00.00.16

    TI AM3517 Version 0x1 (Hawkeye 0xb868 / manufacturer ID  0x17)
    System ready!
    Preparing for download...
    INFO: Predownload....
    WARN: Boot config wasn't found, using defaults
    647bd4 38f7e -> 64 7b d4 3 8f 7e
    INFO: SW4 boot setting: 0x2d

    >>> Forcing cold boot (non-persistent registry and other data will be wiped) <<<
    Hit space to enter configuration menu 5...
    Hit space to enter configuration menu 4...
    Hit space to enter configuration menu 3...

    --------------------------------------------------------------------------------
     Main Menu
    --------------------------------------------------------------------------------
     [1] Show Current Settings
     [2] Select Boot Device
     [3] Select KITL (Debug) Device
     [4] Network Settings
     [5] SDCard Settings
     [6] Set Device ID
     [7] Save Settings
     [8] Flash Management
     [9] Enable/Disable OAL Retail Messages
     [a] Select Display Resolution
     [0] Exit and Continue

     Selection: a

    --------------------------------------------------------------------------------
     Select Display Resolution
    --------------------------------------------------------------------------------
     [1] LCD  480x272 60Hz
     [2] DVI  640x480 60Hz
     [3] DVI  640x480 72Hz
     [4] DVI  800x480 60Hz
     [5] DVI  800x600 60Hz
     [6] DVI  800x600 56Hz
     [7] DVI 1024x768 60Hz
     [8] DVI 1280x720 60Hz
     [0] Exit and Continue

     Selection (actual LCD  480x272 60Hz): 8

    --------------------------------------------------------------------------------
     Main Menu
    --------------------------------------------------------------------------------
     [1] Show Current Settings
     [2] Select Boot Device
     [3] Select KITL (Debug) Device
     [4] Network Settings
     [5] SDCard Settings
     [6] Set Device ID
     [7] Save Settings
     [8] Flash Management
     [9] Enable/Disable OAL Retail Messages
     [a] Select Display Resolution
     [0] Exit and Continue

     Selection: 5

    --------------------------------------------------------------------------------
     SDCard Settings
    --------------------------------------------------------------------------------
     [1] Show Current Settings
     [2] Enter Filename
     [0] Exit and Continue

     Selection: 1

     SDCard:
      Filename:      "nk.bin"

    --------------------------------------------------------------------------------
     SDCard Settings
    --------------------------------------------------------------------------------
     [1] Show Current Settings
     [2] Enter Filename
     [0] Exit and Continue

     Selection: 0

    --------------------------------------------------------------------------------
     Main Menu
    --------------------------------------------------------------------------------
     [1] Show Current Settings
     [2] Select Boot Device
     [3] Select KITL (Debug) Device
     [4] Network Settings
     [5] SDCard Settings
     [6] Set Device ID
     [7] Save Settings
     [8] Flash Management
     [9] Enable/Disable OAL Retail Messages
     [a] Select Display Resolution
     [0] Exit and Continue

     Selection: 0
    Init HW: controller RST
    SDCARD: reqested speed 1000000, actual speed 1000000
    SDCARD: reqested speed 25000000, actual speed 19200000
    BLSDCardReadLogo:  cannot open Logo.bmp

    BL_IMAGE_TYPE_BIN

    Download file information:
    -----------------------------------------------------------
    [0]: Address=0x80002000  Length=0x024ce6c8  Save=0x80002000
    -----------------------------------------------------------
    Download file type: 1
    .........................................................................................................................................................................................................................................rom_offset=0x0.
    ..ImageStart = 0x80002000, ImageLength = 0x24CE6C8, LaunchAddr = 0x80011440

    Completed file(s):
    -------------------------------------------------------------------------------
    [0]: Address=0x80002000  Length=0x24CE6C8  Name="" Target=RAM
    ROMHDR at Address 80002044h
    Launch Windows CE image by jumping to 0x80011440...

    Windows CE Kernel for ARM (Thumb Enabled) Built on Aug  4 2010 at 14:23:58
    ****Profiler Build****
    ---High Performance Frequency is 12999949 hz---
    OALIoCtlHalInitRTC():RTC need a reinit because either RTC had been powered off aor the RTC has dropped below the allowed level (status 1).

  • I have the CE Demo up and running! Does anyone know how to enable a USB mouse?

    thanks,

    -Reinyn

  • Reinyn,

    Not sure if you already figured this out since I see a "verify answer" but if not, you would need to use a USB hub to connect your mouse. The demo images should have mouse enabled.

    regards,

    Aparna

  • Hello Aparna,

    I have a USB hub plugged into the USB host port on the AM3517 eXperimenter board and I have not had any luck with the mouse and keyboard yet. Is there anything on the board (a jumper or switch) that enables the USB? I am using the AM35xx NK_demon.bin image.

    thank you,

    -Reinyn

  • Hi Reinyn,

    I am using an image which would be similar to the demo image. I have a 2.0 usb hub connected to the EHCI port (J27) to which I connect my mouse and keyboard.

    Could you connect  a memory stick to the hub and see if it is mounted as "Hard Disk"? That might help indicate if this is only related to mouse/keyboard (HID).

    Thanks,

    Aparna

  • In other threads it was indicated you MUST have a hub as USB port on experimenter kit doesn't support lower USB speeds like a mouse uses.

    I plugged a powered hub into the port on kit and then my keyboard and mouse into hub and it worked with last release of BSP.

    Powered hub was specified and I'm not into experimenting (despite the name of the board) so just went with the powered hub.