On Mon, Apr 19, 2004 at 03:37:03AM -0500, Sean Wasko wrote: > I'm trying to write to a sandisk compact flash through an IDE cable using a > pic 16f877. Does anyone have code in basic or assembly that I might be able > to look at or use? Thanks for the help in advance. I'll leave the code to others. I have a suggestion that will help you in the long run: lose the cable while testing. Depending on the length there may be transmission effects that may affect the performance of your code to the point where the code is right, but it still doesn't work. Test with the CF connected directly to the PIC. Once you get reading and writing worked out, then see what happens when you add the cable inbetween. BAJ -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu