Internet back online hurray

Right I have repeated the tests using the current code I posted and the updated ARM CAL file. Out of my 6 cards that work with the PIC I have 4 that work straight off and this includes the two SDHC type cards

Interestingly the 2GB SDHC card worked before I updated the FAT component so it looks like it is not a true SDHC i.e. with the sector address running 0,1,2... instead of 0,512,1024... on the standard cards.
Now onto the two cards that are not working, they both initialise but on one the file is found but the contents is missing and the other the file is not found. Checking the signals with my USBee E-block I can see that some times the cards do not seem ready when they say they are, they give valid data but the data signal uC -> card is really noisy which means that the card has the possibility of receiving incorrect data. I got the same thing on the PIC but I think it was slightly more reliable as there was generally more processing time and slower SPI rates.
On the left hand side is the first command to the card the data here should be 0x40, 0x00, 0x00, 0x00, 0x00, 0x95 so you can see the USBee picking up the corruption. On the right is the second command which is suddenly much cleaner. The noise seems to happen more on certain commands then others which is odd, its generally always the first command that causes it but then some commands near the end of the init function also exhibit the same problem. The problem is also very card dependent, I wonder if I have some cheap branded replicas in my collection as I know the over priced shop bought cards I have seem to be ok. I know this is a big issue when trying to get the Sony Magic Gate compatible type cards. If anyone has any suggestions here then I am all ears

To make matters worse on one card I have another issue where if I don't wait long enough after the init then the card returns invalid MBR data. This means that by the time the data is ready the MBR address is incorrect and the init will fail. The card says it is ready so not really sure what to do here, maybe a permanent long delay here will fix everything (thats what I have done so far to get all 6 cards working for PIC).
Looking into the file write process now to see if this has similar problems i.e. if it works straight off on my 4 out of 6 cards then we can assume it is linked to the same issue.
Why is nothing never easy
