if you look at the pinout card, pin 39 at the red end actually connects to 34
I used a 'scope probe and actually tested under power. and saw the signals I did and recorded on that post. those signals are in the wrong spots for the sd card
its okay, its good to have my conclusions double checked@firehopper - @defragster - @KurtE
@firehopper - my sincerest apologies - but believe you are absolutely correct, pins connections are reverse on the SD Card Connector! Good catch! My mistake is that I forgot to flip the cable connections when you flip the board over.
@mjs513...
That was what I wondered back in the posting: https://forum.pjrc.com/threads/57122-Teensy-4-0-Breakout-Kit?p=216075&viewfull=1#post216075
@mjs513 @firehopper ...
Yep -
As I mentioned in that previous posting, when I assembled the first board that I did for the T4, nothing was working, and so I plugged in the sparkfun adapter and did the blink the pins
test. and found that what I expected in DAT1 ended up on DAT2 (opposite end)... Actually I also then double checked on the IO pins I had put on my board and it also went to the wrong pins. My mistake was I forgot to reverse things, when laying out the board, is the direction on the board the connector is pointing, which in using the ribbon cable, the ribbon sort of folded in half and the cable went into the front of the connector and not like a logical straight through shot...
Sort of a similar mistake...
This is current code for xx=0,1,2,3 testing::
[ATTACH]17660._xfImport[/ATTACH]
@ALL - interesting if this works as expected on the breakout, and if it shows any anomalies.
That is just the SETUP for those xx=3 modes - it will catch pins that are unstable or PULLed opposite of the test expectation:
>> Once in that mode it is a dynamic touch test with USB output with desired pin and the indicated line GND or 3.3V.
When in "PULLDOWN :: TEST to 3.3V" put a Jumper wire to 3.3V and touch any single pin in turn and it should show that pin rise to 1 and drop to 0 on removal, with no other pins following.
… hit SerMon ENTER ...
When in "PULLUP :: TEST TO GND" put a Jumper wire to GND and touch any single pin in turn and it should show that pin drop to 0 and rise to 1 on removal, with no other pins following.
The multi PIN change ">>>" indication was an after thought and might need refinement or UI cleanup, but if on a single pass a single pin touch shows more than one pin change it indicates those pins are not independent or properly functional to the MCU.
d#=34 val=0,d#=39 val=0,>>>
Yep - Back in T3.6 beta days, I made my own, that looked sort of like:
View attachment 17656
I also made a one row one back then with the T3.6 signal names..
Maybe should make a new one with T4 pin numbers on it. And maybe signal names on back... Although so far the boards that I do that I adapt for SD also have pins...
PULLDOWN Start Vals:
PULLDOWN :: TEST to 3.3V
d#=0 val=1,0,0,0,0,0,0,0,0,0,
d#=10 val=1,0,0,0,0,0,
d#=16 val=1,
d#=17 val=1,
d#=18 val=1,
d#=19 val=1,0,0,0,0,
d#=24 val=1,
d#=25 val=1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
PULLUP :: TEST TO GND
PULLDOWN :: TEST to 3.3V
d#=0 val=1
d#=10 val=1
d#=16 val=1
d#=17 val=1
d#=18 val=1
d#=19 val=1
d#=24 val=1
d#=25 val=1
d#=34 val=1
d#=36 val=1
d#=34 val=0,d#=36 val=0,>>>
>>>
>>>
>>>
PULLDOWN Start Vals:
PULLDOWN :: TEST to 3.3V
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
PULLUP :: TEST TO GND
PULLDOWN :: TEST to 3.3V
PULLUP :: TEST TO GND
PULLDOWN :: TEST to 3.3V
PULLDOWN Start Vals:
PULLDOWN :: TEST to 3.3V
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
d#=30 val=1,
d#=31 val=1,0,0,0,0,0,0,0,0,
PULLUP :: TEST TO GND
PULLDOWN :: TEST to 3.3V
d#=30 val=1
d#=31 val=1
@defragster decided to give you XXX=3 pin test a shot, got these results for reference on my board with the SD card socket still attached:
...
d#=34 val=1
d#=36 val=1
d#=34 val=0,d#=36 val=0,>>>
anyone heard from @loglow lately?
I have not. IIRC Last note said he was due back home Monday. Hopefully all well and feedback here useful for making useful updates, changes.
Mike got replacement FLEX cable that must have shipped before his travel.
- 5.0% of the order total for UPS Next Day (to United States)