Go to previous topic
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
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


    ---