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 25 Jul 2008 11:45 AM by  sam.siciliano@gmail.com
UART3 Registry Error in WinCE BSP Source V0.4.0
 3 Replies
Sort:
You are not authorized to post a reply.
Author Messages
sam.siciliano@gmail.com
New Member
New Member
Posts:


--
27 Jun 2008 05:11 PM
    After a little bit of debugging, I found out why UART3 fails to load when enabling it (by removing BSP_NOCOM3 environment variable) in my OS image. The base address specified in the registry is incorrect.

    Currently it is:
    [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Uart3]
    "MemBase"=multi_sz:"4806E000", "FFFED800"

    Per the UART section in the TI-OMAP user guide (http://focus.ti.com/docs/...rint/omap3530.html), it should actually be this:

    [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Uart3]
    "MemBase"=multi_sz:"49020000", "FFFED800"

    I think the original error came from the assumption there was a constant stride across each UART base address. But UART3 has a gap, probably because it is the only port that supports IRDA/SIR.

    Granted, I haven't tested it out by actually pushing data across serial. But at least it loads now <!-- s:) -->:)<!-- s:) -->
    bradb
    Basic Member
    Basic Member
    Posts:203


    --
    01 Jul 2008 07:31 AM
    Sam,

    I made the suggested change to my registry and yes I too am able to load the image. However, the test I preformed on COM3 failed. I will pass your findings to our developer as a starting point.

    Thanks,
    Brad
    bradb
    Basic Member
    Basic Member
    Posts:203


    --
    18 Jul 2008 01:05 PM
    Sam,
    Sam,

    In the latest BSP (0.5.1) I have made the following changes to the platform.reg file. The order does not matter but that was something I did to get the Enfora module driver to load. However, I was able to successfully test COM3 with the Membase changes as shown below for UART3/COM3 when interfacing to Expansion Board:J17.31 (uP_UARTB_RX) and Expansion Board:J17.30 (uP_UARTB_TX) using a RS232 Transceiver.

    [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Uart1]
    "Order"=dword:1

    [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Uart2]
    "Order"=dword:1

    [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Uart3]
    "Order"=dword:1
    "MemBase"=multi_sz:"49020000", "48056080"


    Brad
    sam.siciliano@gmail.com
    New Member
    New Member
    Posts:


    --
    25 Jul 2008 11:45 AM
    Thanks Brad,

    At some point I need to sit down and understand what the second string in "mem base" represents.

    -Sam
    You are not authorized to post a reply.