Hi Alan, I had a suspician you might have been using Tony's code. I have not tried the state machine code yet, but I'm sure it works ok (on single sectors). I used it as the basis of my 6800 driver ie. finding out what commands to issue it, so I'm reasonably familiar with how it worked. I'm not 100% clear on what you are doing to interface the compact flash ... Do you have Tony's Compact Flash board wired up to the XESS board or are you using the XESS board to interface to one of Tony's boards running the Compact Flash code ? I've been helping a friend port some simple micrprocessor code to an XSA-100 board. From what I understand of the XSA-100 (if thats what you are using) is that it has a 6 bit DRAM chip and a 8 bit x 512K byte static RAM on the mother board (If you have that). I assume you are using the 16 Bit DRAM, in which case you must be using the DRAM controller logic as well. Check out www.retromicro.com . I think Doug had some problems with the DRAM Controller Code at one stage. There is updated DRAM code on the XESS web site I beleive. What might also be of some interest is that I noticed on the open cores web site a week or so ago, someone posted a MSDOS File reader. I think it was for compact flash. I think it was based around a microprocessor core though. It had the code for it under CVS. In any case, send the code over, and I'll have a look at it. I'll try intergrate it into my memory examine and change code which works on 16 bit SRAM, to see what it's doing. My email address should be on the top of this email. John. yeloohwnala wrote: >Hi, > my code is actually based around Tony's board/sample code also.I >kept it in 16bit mode.The compact flash is interfaced toan XESS FPGA >board which issues all instructions to it.I contacted Tony yesterday >evening and he is working on new CompactFlash examples so he'll send >them onto me when finished.If you wouldnt mind I could send you on my >CF controller if you could just have a quick look at it.Its basically >a large state machine stepping through my control signals....very >repeditive. Maybe you would notice a control I am missing.No problem >if you cant. > Alan > > -- http://members.optushome.com.au/jekent |