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 30 Jun 2004 11:20 AM by  mikee@logicpd.com
Hardware access ceddk.lib type 'THUMB' conflicts with target
 2 Replies
Sort:
You are not authorized to post a reply.
Author Messages
dctoronto@hotmail.com
New Member
New Member
Posts:


--
21 Jun 2004 03:58 PM
    I am trying to write to the keyboard control register in the A400 chip.

    #include <ceddk.h>

    static volatile unsigned short *col_drv_reg = NULL;
    PHYSICAL_ADDRESS phy_addr;

    tmp = 0x80000e28;
    phy_addr.LowPart = tmp;
    phy_addr.HighPart = 0;

    col_drv_reg = (volatile unsigned short *)MmMapIoSpace(phy_addr, sizeof(*col_drv_reg), FALSE);

    *col_drv_reg = 0x1;

    This is an application in EVC++. I have manually added a link to the ceddk.lib as C:\WINCE420\PLATFORM\LoCE_A400_rel_101\lib\ARMV4I\retail\ceddk.lib in the project settings.

    Building results in the following error:

    ceddk.lib(CEDDK.dll) : fatal error LNK1112: module machine type 'THUMB' conflicts with target machine type 'ARM'

    I would like a suggestion on how to accomplish this hardware access. Is there anything to be done in platform builder to make sure the ceddk.lib is useful to the application?

    Thank-you.
    Andreas
    New Member
    New Member
    Posts:


    --
    21 Jun 2004 07:03 PM
    I came across this too, you'll find the information you need in the thread titled 'Debugger Swap Error'

    in short, you need to build your application as ARMV4 instead of ARMV4I and you need a custom version of ceddk.lib. I got the modified library emailed to me from Logic PD but I saw something on their download pages that might be what you are looking for.

    HTH

    Andreas
    mikee@logicpd.com
    New Member
    New Member
    Posts:


    --
    30 Jun 2004 11:20 AM
    Andreas,

    Thanks so much for adding your comments. We really appreciate developer support.

    Best regards,

    --mikee
    You are not authorized to post a reply.