Search

Technical Discussion Group Forum

This forum is provided for user discussion. While Beacon EmbeddedWorks support staff and engineers participate, Beacon EmbeddedWorks does not guarantee the accuracy of all information within in the Technical Discussion Group (TDG).

The "Articles" forums provide brief Articles written by Beacon EmbeddedWorks engineers that address the most frequently asked technical questions.

To receive email notifications when updates are posted for a Beacon EmbeddedWorks product download, please subscribe to the TDG Forum of interest.

TDG Forum

PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 04 May 2006 07:52 AM by  mikea@logicpd.com
Problem booting sample CE image
 9 Replies
Sort:
You are not authorized to post a reply.
Author Messages
jalderson@thermotron.com
New Member
New Member
Posts:


--
02 May 2006 06:22 AM
    We recently bought the Zoom SDK board with the LH7A404 on it, and I'm having trouble booting the CE image (from the zip file called LH7A404_DEV_IMAGE_For_All_Other_PNs.zip). I can load the image into RAM ok, but when I start CE using the exec command I get the debug info on the terminal, then it just hangs and my display never comes up.

    I found in the FAQ that one cause of this could be no CF card, and I do have one (it's what I load the image into RAM from) but I discovered that it seems to be read only, so my suspicion is that the HIVE registry is unable to be written to it. It is a 32MB Kingston, formatted with FAT16. Does my analysis seem correct, and if so, how do I get the thing to be read/write? It is obviously writeable when plugged into my card reader on XP.

    Thanks for your help.
    Anonymous
    Posts:


    --
    02 May 2006 10:11 AM
    Hi johna,

    How have you determined that it's read only? Do you have any other CF cards in your office that you can try using?

    Thanks,
    jalderson@thermotron.com
    New Member
    New Member
    Posts:


    --
    02 May 2006 10:40 AM
    I tried deleting and copying files on the CF card (from the losh prompt) and I can't modify anything. The LogicLoader version is 2.0.6. Is the CF card supposed to be mounted read write by LoLo?

    I don't have any other cards I can try at the moment, but I may go pick one up.
    Anonymous
    Posts:


    --
    02 May 2006 10:54 AM
    Hello,

    Writing to the CF card will not work in LogicLoader because CF is enabled as read only. If you're able to mount your CF card in LoLo I'm thinking that it might not be the CF card that's the problem. Can you please provide your LogicLoader output from the time you power on your kit to launching your Windows CE image?

    Thanks,
    jalderson@thermotron.com
    New Member
    New Member
    Posts:


    --
    02 May 2006 11:09 AM
    Posted By aaronlpd on 31 Dec 1969 6:0 PM
    Hello,

    Writing to the CF card will not work in LogicLoader because CF is enabled as read only.




    Ah, that's good to know. Thanks for the help, by the way.

    Posted By aaronlpd on 31 Dec 1969 6:0 PM

    If you''re able to mount your CF card in LoLo I''m thinking that it might not be the CF card that''s the problem.




    The card is already mounted when the board boots. Is that normal? All of the instructions I found mentioned mounting the CF, but I can't because it's already there. I didn't think it was a big deal, and it probably isn't.

    Posted By aaronlpd on 31 Dec 1969 6:0 PM

    Can you please provide your LogicLoader output from the time you power on your kit to launching your Windows CE image?




    It is pasted below. I have tried many variations on the "disp_num" parameter with identical results. My display doesn't so much as flicker. I am able to display bitmaps with the video-open and bitmap commands. (I created a new video mode called "wsharp" which is exactly what I need, can I put that in my disp_num parameter or does that have to be a number?)


    *****************************************************************

    LogicLoader

    (c) Copyright 2002-2005, Logic Product Development, Inc.
    All Rights Reserved.
    Version 2.0.6-LLH7a404_11 0001
    *****************************************************************

    losh> cd /cf
    losh> load bin NK.BIN
    loading from NK.BIN:
    R
    ................................................................................
    ................................................................................
    ................................................................................
    ................................................................................
    ................................................................................
    ................................................................................
    ................................................................................
    ................................................................................
    ................................................................................
    ................................................................................
    ................................................................................
    ................................................................................
    ................................................................................
    ................................................................................
    ................................................................................
    ................................................................................
    ................................................................................
    ................................................................................
    ................................................................................
    ................................................................................
    ................................................................................
    ................................................................................
    ................................................................................
    ................................................................................
    ................................................................................
    ................................................................................
    ................................................................................
    ................................................................................
    ................................................................................
    .
    image launch addr: 0xc0201000

    Verifying checksums: >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    Checksums good.
    file loaded
    losh> exec rtc:rtc_a404_int:dbg_serial:A404_UART:disp_num:2
    kernel cmdline: 'rtc:rtc_a404_int:dbg_serial:A404_UART:disp_num:2' at c005456c
    Debug serial initialized. Using driver A404_UART
    Windows CE Kernel for ARM (Thumb Enabled) Built on Jun 24 2004 at 18:25:00
    ProcessorType=0922 Revision=0
    sp_abt=ffff5000 sp_irq=ffff2800 sp_undef=ffffc800 OEMAddressTable = 802011e0


    ==============================================================

    WinCE firmware init (LoCE).
    Kernel Arguments: rtc:rtc_a404_int:dbg_serial:A404_UART:disp_num:2.

    image_size: 0x12A0000
    ram_size: 0xE00000
    link_for_flash: 0
    relocate_from_flash: 0
    rom_offset: 0x40000000

    ==============================================================

    Cold-boot: erasing object store.
    Initializing interrupts.
    Interrupt initialization complete.
    Initializing system-tick.
    System-tick initialized.
    RTC initialized. Using driver rtc_a404_int
    Multiple XIP regions not defined or fixup failed.
    Initializing KITL.
    Remote host not present. Debug support not available.
    Firmware initialization complete.

    driver globals at 0x80000000.
    "link_for_flash" variable says we are in SDRAM.
    Detected extension DRAM at 0x84000000, size is 0x02000000
    Total RAM installed is 64 MB.
    Sp=ffffc7cc


    Again, thanks for your help.
    Anonymous
    Posts:


    --
    02 May 2006 11:19 AM
    Hello,

    What display kit are you using ( or not using it would seem )? Is this a custom display? Are you able to use the 'draw-test' command in LogicLoader ?

    Also if you have it I'd connect a USB function cable to connect over Activesync to verify that the display is indeed the issue.

    Thanks,
    jalderson@thermotron.com
    New Member
    New Member
    Posts:


    --
    02 May 2006 12:27 PM
    We're using a 7" widescreen display from Sharp. I can use both the draw-test and bitmap commands successfully. However, I did that by setting up a custom video profile (called "wsharp") that is 800x480 and has the correct timing values. Display "#2" was used as the basis for this mode (the 12.1" SVGA setting) and if I use that mode without tweaks the display is mostly readable but flickers. Our vendor figured out what timings to write out (using the w command) to make it work.

    I have to admit I'm brand new to dealing with CE in any way, so there is probably a lot I don't know (and possibly something very dumb that I'm doing), but from the documentation it seemed it would be straightforward to get the sample CE image up and running.

    I just tried plugging in a USB cable and while Windows reecognized an unknown USB device, ActiveSync didn't recognize it.
    jalderson@thermotron.com
    New Member
    New Member
    Posts:


    --
    02 May 2006 12:29 PM
    One other thing: our touch interface is not connected (the wires are just hanging from the display)... could that cause CE to hang?
    jalderson@thermotron.com
    New Member
    New Member
    Posts:


    --
    03 May 2006 09:27 AM
    Good news, I got it (mostly) working. I reformatted my CF card on a Windows 2000 machine, and can now boot up. Thanks for all of your help. I may be posting again if I can't get my display working 100%. (I'm close, but have some things to try).
    mikea@logicpd.com
    New Member
    New Member
    Posts:


    --
    04 May 2006 07:52 AM
    The issue was likely this:

    Windows CE was booting correctly, but these images rely on using a 'Hive' registry on the CF card. Because the card was not formatted in a way that CE could read from it, CE was failing when trying to use the hive registry on the card, which is one of the first things that it will be doing.
    You are not authorized to post a reply.