HI Jochen Klier
I have trouble again,though I have found the cardlogicaddress,but I still can not send correct command to the board.For example I can not send correct data to the board to clear the power up status. I have such a little information about the packet.It says in ddk the clear power up status function packet consists commandID-258,valid resource type(s)-none and vector type(s)-immediate. So I try do like this :
----------------------------------------------------------
read the csr status;
if(the RTR in csr is set);
write 0x258 to the cardlogicaddress;
read the csr status;
if(the RTR in csr is set);
write 0xFF to the cardlogicaddress;
-------------------------------------------------------------
the csr status after writing 0x258 is 0x29 ,which indicates that the board is in power up status ,waiting for more words to finish the packet and being ready to receive data.However after I have written 0xFF to the board ,the csr status is 0x31,which indicates that the board is still in power up status ,being ready to receive data and there is a packet error.
I think the packet error is caused by two factors,one is 0xFF and the other is incomplement of the packet. Since the vector is immediate so 0xFF may be right. The resource type(s) is none ,does it correspond to a value??
Another possbility is that the menthod to send the command is incorrect,but I do not the correct way!
No example is provided in the ddk documentation or hardware user manual.
I hope you can give me some information!! Thank you!!!!
------------------------------------------------------------------------------------------------------------------------
AdditionIly I do not have the ddk software but only the ddk documentation,so I must know the details to send the command!!