[Skyeye-developer] A bug Report
王强
rurality at 126.com
Sat Jul 21 10:14:04 CST 2007
Skyeye Developers
I am a user of skyeye,can it helps me a lots.
It seems that i found a bug of skyeye.But i can not confirm it.I will show the error below
first, skyeye.conf
#skyeye config file
cpu: arm7tdmi
mach: lpc2210
#ZLG EasyARM2000
# SRAM Outside Chip begin: 2G ,size: 512KB
mem_bank: map=M, type=RW, addr=0x80000000, size=0x00080000
# LOG #
log: logon=2, logfile=./sk1.log, start=0, end=200000
second,i use timer0 to generate irq exception.
and use the vic ,set timer0_handler to handle the timer0 excption
800006f0 <timer0_handler>:
800006f0: e92d500f stmdb sp!, {r0, r1, r2, r3, ip, lr}
800006f4: e14fc000 mrs ip, SPSR
800006f8: e92d1000 stmdb sp!, {ip}
800006fc: e321f09f msr CPSR_c, #159 ; 0x9f
80000700: e51f0028 ldr r0, [pc, #-40] ; 800006e0 <_irqcount>
80000704: e5901000 ldr r1, [r0]
80000708: e2811001 add r1, r1, #1 ; 0x1
8000070c: e5801000 str r1, [r0]
the sk1.log belog show the execute result.
the cpsr_usr before irq is Ca0000010, it is to say the spsr_irq should bea0000010,
but as you can see the log below ,spsr became to60000010,when execute the800006f4: e14fc000 mrs ip, SPSR
this will be wrong at some circumstance.
N 3d5b :p 8000131c,i eafffffc,R 10,e000c000,10,10,0,0,0,0,0,0,0,0,8000a88c,8005fffc,80000814,80001324,C a0000010,S 0,0,0,a0000010,0,0,0,M 10,B 0,E 0,I 0,P 0,T 0,L 0,D 0,
N 3d5c :p 80001314,i e59f0004,R 10,e000c000,10,10,0,0,0,0,0,0,0,0,8000a88c,8005fffc,80000814,8000131c,Ca0000010,S 0,0,0,a0000010,0,0,0,M 10,B 0,E 0,I 0,P 0,T 0,L 0,D 0,
N 3d5c :p 18,i e51ffff0,R 10,e000c000,10,10,0,0,0,0,0,0,0,0,8000a88c,40002000,80001318,20,C 60000092,S 0,0,60000010,a0000010,0,0,0,M 12,B 2,E 0,I 0,P 80001314,T 0,L eafffffc,D ebfffd25,
N 3d5d :p 800006f0,i e92d500f,R 10,e000c000,10,10,0,0,0,0,0,0,0,0,8000a88c,40002000,80001318,800006f8,C 60000092,S 0,0,60000010,a0000010,0,0,0,M 12,B 2,E 0,I 0,P 80001314,T 0,L eafffffc,D ebfffd25,
N 3d5e :p 800006f4,i e14fc000,R 10,e000c000,10,10,0,0,0,0,0,0,0,0,8000a88c,40001fe8,80001318,800006fc,C 60000092,S 0,0,60000010,a0000010,0,0,0,M 12,B 2,E 0,I 0,P 80001314,T 0,L eafffffc,D ebfffd25,
N 3d5f :p 800006f8,i e92d1000,R 10,e000c000,10,10,0,0,0,0,0,0,0,0,60000010,40001fe8,80001318,80000700,C 60000092,S 0,0,60000010,a0000010,0,0,0,M 12,B 2,E 0,I 0,P 80001314,T 0,L eafffffc,D ebfffd25,
N 3d60 :p 800006fc,i e321f09f,R 10,e000c000,10,10,0,0,0,0,0,0,0,0,60000010,40001fe4,80001318,80000704,C 60000092,S 0,0,60000010,a0000010,0,0,0,M 12,B 2,E 0,I 0,P 80001314,T 0,L eafffffc,D ebfffd25,
N 3d61 :p 80000700,i e51f0028,R 10,e000c000,10,10,0,0,0,0,0,0,0,0,60000010,8005fffc,80000814,80000708,C 6000009f,S 0,0,60000010,a0000010,0,0,0,M 1f,B 0,E 0,I 0,P 80001314,T 0,L eafffffc,D ebfffd25,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.gro.clinux.org/pipermail/skyeye-developer/attachments/20070721/1297de1a/attachment.htm
More information about the Skyeye-developer
mailing list