引用 2 楼 xunjingzhpu 的回复:
发送的dma中断超时了,也就是说你dma相关设置不对
嗯,我把DMA中断禁用,然后出现异常。慢慢调试先。
=== GSPI8686_8015 Driver ===HOST_INT_STATUS_REG: 111111111111, timeout
GSPI8385-Using CPU mode
pxa_gspi_init!
USE_DEVIRQ == 1
SysIntr: 24!
MyIst-Priority : 50
irqreturn: 0!
into EnableEINT.....
OUT ssp_init_hw.....
9999999 Reg(0x02)= 0xff
Reg(0x02)=ffffh, exp: 0x0006
11111111111111pxa_gspi_register_isr
2222222222pxa_gspi_register_isr
spi_ReadRegister: read data is 333333333
lizhenjiang sbi_disable_host_init
lizhenjiang......spi_FirmwareDownload\n
Download 2132 bytes of helper firmware
Download Helper Img success!
Fatal Stack Error, Terminating thread 98c2a7b4, pexi = 0602db24
Exception 'Data Abort' Thread=98c2a7b4 AKY=00000005 PC=01996d9c BVA=0603d000
R0=0000fffe R1=000000f7 R2=0000f485 R3=000000f7
R4=000005bd R5=0000ffff R6=019bd72c R7=0000f484
R8=0001ad28 R9=019a19b0 R10=0000fffe R11=00000000
R12=58c2a9f7 SP=0602db74 Lr=0603d000 Psr=2000001f
Data Abort: Thread=98c2a7b4 Proc=82936340 '銧dll+0x000025e8) RA=f007a802(???+0xf007a802) BVA=f007a81a FSR=000000f3