Dr Jefyll wrote:
Here's a more detailed explanation of what I'm thinking. AIUI, the computer is always OK except when the CF card is plugged in, and then it's never OK.
Exactly.
Quote:
The card's /Chip-Select has been measured, and seems to be high. (I'm not sure what instrument you used for the measurement, but some instruments are inappropriate, and all can suffer from human factors and even outright flukes.
I used multimeter to measure voltage on CS line. It was 5V (well, 4.98V to be precise...) so in high state.
Quote:
Myself, I would simply tie /CS high and thus remove any doubt.
Ok, I admit that I didn't check it yet. I simply assumed that CS line is not a cause of that problem, after measuring voltage. I will check it, just to be sure.
Quote:
Trouble in a new project often is the result of a wiring error. The CF card itself probably has several pins which serve as Ground, and all these pins are connected together... inside the CF card itself. So, suppose on the CPU side there's a data line (or other) which, due to error, connects to a socket pin which in turn is bused together with the other Grounds inside the CF. That means the data line (or whatever) gets shorted to Gnd whenever the card is plugged in. But the short disappears if the card is physically removed from the socket.
This theory makes sense, but I checked connections on my schematic multiple times. It looks identical to the one from
this site. So if if there is no error there, the only explanation will be that some neighboring pins are bridged somewhere. But I also examined connections under magnifying glass and everything looks fine.
Well... There is one difference. In my circuit pin 45 (LED ACTIVITY) is not connected. I assumed it is just an output and left in unused. Is it possible that this is the cause of my problem?
Quote:
And/or do some single-stepping right from reset
Unfortunately my design doesn't include single stepping possibility.