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 22 Sep 2004 10:48 AM by  Kenneth Lerman
Cannot enable IntEnable and disable I flag of CPSR
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages
shihctseng
New Member
New Member
Posts:


--
22 Sep 2004 09:26 AM
    My application does not need Linux. I wrote my own assember software from scratch. I use a software tool to convert elf file to srec file. I used the following commands to run my program:

    load srec
    from File Menu: <File> <Send file> filename <Open>
    jump 0x8000

    The program run very well but the problem is I could not set "1" to any bit of IntEnable and also I cound not set "1" to the I flag of CPSR. The program is running in supervisor mode.

    It looks like the interruption is protected by a protection mechanism. If it is then how to disable or overide the protection.

    The another problem is:
    It is working fine if I use jump 0x8000 to go to the entry point. But it does not work if I use exec 0x8000 command. What's the problem?


    Shih
    Kenneth Lerman
    New Member
    New Member
    Posts:


    --
    22 Sep 2004 10:48 AM
    Shih,

    I noticed in another post, that those registers are implemented as 16 bit registers. Make sure that you are doing 16 bit outputs to them.

    By the way -- what size screen are you using and do you have a touch panel working reliably?

    Ken
    You are not authorized to post a reply.