Forum Rule: Always post complete source code & details to reproduce any issue!
Page 15 of 17 FirstFirst ... 5 13 14 15 16 17 LastLast
Results 351 to 375 of 408

Thread: Teensy 4.0 Breakout Kit

  1. #351
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    10,575
    Quote Originally Posted by DerekR View Post
    It's here (in Mass)! I'm assembling as we speak...
    Hoping you have good results this time DerekR!

    Friday delivery here looks good : In Transit, Arriving On Time

  2. #352
    Senior Member
    Join Date
    May 2016
    Posts
    245
    All is good!! Pin 36 is functioning! I did a quick check on all the pins and all are blinking.
    Congratulations Dan - it was a long journey for you, but I believe you nailed it this time!
    Derek

  3. #353
    Senior Member+ mjs513's Avatar
    Join Date
    Jul 2014
    Location
    New York
    Posts
    4,588
    Dan
    Got my boards late this afternoon. Will solder them up first thing in the morning but based on what @DerekR said sounds like all is good.

  4. #354
    Senior Member
    Join Date
    May 2016
    Posts
    245
    Two fully functional boards now. Both worked right away. I'm a happy camper...

  5. #355
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    10,575
    Got A4 PCB's from mailbox - All looks good to get started … soon - still catching up from Christmas backlog.

    Great news @DerekR! Assume this general 12/11/19 plan was followed to work? Photos?
    Quote Originally Posted by DerekR View Post
    ...
    A few more comments on the build:
    >0): the 2x2 socket needs just 3 pins per silkscreen outline : "I also shaved down the 2x2 socket with an Xacto knife and the cable slipped into its socket right away."
    1) There was absolutely no issue with soldering around the battery holder. Just watch the direction of the iron as you solder.
    2) The SD socket was much easier to solder than beta 1, as was the flex-cable socket ...
    3) The flex-cable was MUCH easier to solder (with no damage as far as I can see).
    4) The socket kit is great. My only comment is that I have some low-profile female headers that allow the male pins to be inserted more deeply than the ones in the kit. (Not sure where I got them, either Adafruit or You-Do-It).
    5) My construction order was a) SMT devices on both sides of the board, b) switches, etc, c) flex-cable, USB & SDA sockets, d) battery socket. Then the headers....
    6) Look closely at how you will solder the pins on the sockets to the pcb, and which one you will solder first. Use the supplied solder pads to solder the metal enclosures of the sockets to the pcb (for strain relief).

    I'll post photos tomorrow after I've built up the new T4, and "blinked" all the pins.

    Derek
    Last edited by defragster; 12-28-2019 at 11:27 PM. Reason: add 2x2 socket note

  6. #356
    Senior Member
    Join Date
    May 2016
    Posts
    245
    @defragster:

    Some quickie photos. (I apologize for the quality, I'm the world's worst photographer, while my wife was a professional photographer.
    First the two completed boards:
    Click image for larger version. 

Name:	Two.png 
Views:	20 
Size:	535.4 KB 
ID:	18562

    Then front and back shots of the breakouts:
    Click image for larger version. 

Name:	Breakout_front.png 
Views:	16 
Size:	521.2 KB 
ID:	18559 Click image for larger version. 

Name:	Breakout_back.png 
Views:	21 
Size:	509.4 KB 
ID:	18563

    and a view showing the T4 lifted out of its socket, with the flex-cable attached
    Click image for larger version. 

Name:	flex_cable.png 
Views:	20 
Size:	497.5 KB 
ID:	18561

    You can see that I haven't yet soldered the male headers along the two sides, and I've left the two outer bus rails attached (with the little brass stand-offs). I do not use the breakouts with the buses attached, and will detach them in the next day or so. I also didn't install the pull-ups, because I don't need them...

    Re assembly: I changed the assembly order after the first board and I didn't write it down. The idea was to not block soldering access to components as they were placed. I'll try to recreate the order and post it after dinner.
    Derek

  7. #357
    Senior Member
    Join Date
    May 2016
    Posts
    245
    @defragster et al
    Here's what I think was my order of assembly of the SMD components:
    C5 -> C3 -> C2 -> U2 -> C4 -> U1 -> R1 -> tiny tactile SW -> flex-cable socket -> SDcard socket -> C1 .
    Then the other components are easy, I did: USB socket -> 2 slide switches -> battery holder.

    There is, of course, a lot of flexibility in the order. You should look at the board carefully and decide what is right for you. (I take no responsibility if this doesn't work for you )
    Remember: "Solder-Wick" is your friend when working with small SMD components. Have plenty of good quality wick on hand. If you bridge connections - it's not a disaster, you can (usually) fix it easily with solder wick.
    Last edited by DerekR; 12-28-2019 at 12:58 AM.

  8. #358
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    10,575
    Thanks Derek - somehow I got the first one to work as best it could - your notes - collected with images - will help with orientation getting back to it with fresh T4's … reminds me I need to test them and get the Hi/Lo test sketch on first.

    Indeed solder wick can be critical: I dab mine in flux paste - liquifies and does a good job of spreading heat and pulling off excess solder I found in re-working the first one to get it back to working after finding there was the PCB errata.

  9. #359
    Senior Member
    Join Date
    May 2016
    Posts
    245
    Dan asked us to stress USB_Host stuff in our testing, but I have a small confession: I have never dealt with USB_Host software, and don't really know anything about it. Nor have I dealt with CANbus Can anybody point me at a sketch, or some examples, that I could look at to help reduce my ignorance a smidge?

  10. #360
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    10,575
    Quote Originally Posted by DerekR View Post
    Dan asked us to stress USB_Host stuff in our testing, but I have a small confession: I have never dealt with USB_Host software, and don't really know anything about it. Nor have I dealt with CANbus Can anybody point me at a sketch, or some examples, that I could look at to help reduce my ignorance a smidge?
    Most of what I did with first breakout was USB Host.

    This thread does drive transfers: FLASH/SSD/HDD drives {also SDIO}:: pjrc.com/threads/55821-USBHost_t36-USB-Mass-Storage-Driver-Experiments

    This thread connects a linked $11 AMAZON USB/Wired ethernet :: pjrc.com/threads/57701-USB-Host-Ethernet-Driver

    There is another thread "T_3.6 USB Host" on Mice/Bluetooth/Keyboards/Game controllers that is about to be active again as KurtE and mjs513 just ordered a new controller - found the link :: pjrc.com/threads/49358-T3-6-USB-Host-Bluetooth

    As far as CANBUS - look up the most excellent thread by tonton81 for his FLEXCAN - found that too :: FlexCAN_T4 - FlexCAN for Teensy 4
    Last edited by defragster; 12-28-2019 at 02:17 AM. Reason: added usb/Ether link

  11. #361
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    10,575

    Revisiting High_Low test code from before to preload and test assembly

    Revisiting HiLowTest.ino from before to preload and test assembly. An oddity in how the TestForShorts as I put it in from KurtE - not sure if it was there or I did something funny - but it is there wire #11 to #14 and it shows short as #13 to #14? Added a note to output - 'Enter to Toggle' and that does test toggle and it will list pin #11 on first or second toggle - depending on PULL up/down state. It does as intended of course and identifies adjacent pin shorts.

    As before this code does 'static' tests like this - repeats on each 'Enter Toggle' for fun - then sits in 'active' mode looking for HIGH on PULLDOWN or LOW on PULLUP - so drag a wire as indicated {3.3V or GND} around SAFELY without doing any 5V touch or direct short of GND and 3.3V in the process.

    Also added show of F_CPU at start and for T4 the temp is shown because it felt oddly warm since it is a bare T4 not yet soldered to anything to pull off heat. It quickly goes 38 to 50-54 degrees C. Writing that I just added force of T_4 to 24 MHz to remove any reason to feel extra heat as this test doesn't need speed beyond enough to run USB and that dropped temp. In fact the one that first started at 37 drops to 35! So I'm preloading this sketch before assembly to test and use on power up, any feeling of warmth/heat much over 37C/98.6F body temp will be a bad sign. { I saw at least one corrupted USB line at 24 MHz - not unusual on occasion ? - but bumping speed up even to 32 MHz takes temp up to 39C }

    Same code on the First TallDog Beta board that was room temp starts at 29 from 600 MHZ start - then drops to 26 and rising to 27/28/29 as it heats the larger PCB etc.

    Code:
    #if defined(__IMXRT1062__)
    extern "C" uint32_t set_arm_clock(uint32_t frequency);
    #endif
    
    void setup() {
      Serial.begin(115200);
      while (!Serial && millis() < 4000 );
      Serial.println("Compile Time:: " __FILE__ " " __DATE__ " " __TIME__);
    #if defined(__IMXRT1062__)
      Serial.printf("\t\t F_CPU=%u", F_CPU_ACTUAL );
      Serial.printf( "\tdeg  C=%u\n" , (uint32_t)tempmonGetTemp() );
      set_arm_clock(24000000); // comment here to get full speed
      Serial.printf("\t\t F_CPU=%u", F_CPU_ACTUAL );
    #else
      Serial.printf("\t\t F_CPU=%u", F_CPU );
    #endif
      while ( Serial.available()) Serial.read();
      testForShorts();
      Serial.println("Adjacent pin short test complete"); // ... Send Serial to continue");
    }
    
    uint32_t cnt = 0;
    void loop() {
      cnt++;
      allPinTest( cnt );
    }
    
    uint32_t pinLast[NUM_DIGITAL_PINS];
    void allPinTest( uint32_t cnt ) {
      uint32_t ii, SET;
      Serial.print("PULLDOWN Start Vals:\n  ");
      SET = 0;
      Serial.print("PULLDOWN :: TEST to 3.3V\t");
      Serial.print(" << USB Send Enter to Toggle Up/Down Test \n");
      for ( ii = 0; ii < NUM_DIGITAL_PINS; ii++) {
        pinMode( ii, INPUT_PULLDOWN );
        delayMicroseconds( 5 );
        pinLast[ii] = digitalReadFast( ii );
        if (pinLast[ii]) {
          Serial.print("\nd#=");
          Serial.print( ii );
          Serial.print( " val=" );
        }
        Serial.print( pinLast[ii] );
        Serial.print(',');
      }
      Serial.println();
      Serial.println();
      while ( 1 ) {
        uint32_t jj, dd = 0, cc = 0, ee = 4;
        cc = 0;
        for ( ii = 0; ii < NUM_DIGITAL_PINS; ii++) {
          jj = digitalReadFast( ii );
          if ( jj != pinLast[ii] ) {
            dd = 1;
            cc++;
            pinLast[ii] = jj;
            Serial.print("d#=");
            Serial.print( ii );
            if ( pinLast[ii] ) Serial.print( "\t" );
            Serial.print( " val=" );
            Serial.print( pinLast[ii] );
            Serial.print(',');
          }
          if ( cc > 1 && ee ) {
            Serial.println(">>> MULTI CHANGE !!");
            ee--;
          }
          if ( Serial.available() ) {
            testForShorts();
    #if defined(__IMXRT1062__)
            Serial.printf( "\tdeg  C=%u\n" , (uint32_t)tempmonGetTemp() );
    #endif
            while ( Serial.available() ) Serial.read();
            if ( 0 == SET ) {
              SET = 1;
              Serial.print("PULLUP :: TEST TO GND\t");
            }
            else {
              SET = 0;
              Serial.print("PULLDOWN :: TEST to 3.3V\t");
            }
            Serial.print(" << USB Send Enter to Toggle Up/Down Test \n");
            for ( ii = 0; ii < NUM_DIGITAL_PINS; ii++) {
              if ( 0 == SET )
                pinMode( ii, INPUT_PULLDOWN );
              else
                pinMode( ii, INPUT_PULLUP );
              delayMicroseconds( 20 );
              pinLast[ii] = digitalReadFast( ii );
              if (SET != pinLast[ii]) {
                Serial.print("d#=");
                Serial.print( ii );
                Serial.print( " val=" );
                Serial.println( pinLast[ii] );
              }
            }
          }
        }
        if ( dd ) {
          dd = 0;
          Serial.println();
          delay( 50 );
        }
      }
    }
    
    void testForShorts() {
      uint32_t ii;
      for ( ii = 0; ii < NUM_DIGITAL_PINS; ii++) pinMode( ii, INPUT_PULLDOWN );
      Serial.print("\nShow pins HIGH when set PULLDOWN: --> ");
      delayMicroseconds( 5 );
      for ( ii = 0; ii < NUM_DIGITAL_PINS; ii++) {
        if (digitalRead(ii)) {
          Serial.printf("%d ", ii);
        }
      }
      Serial.printf(" <-- :pins shown report HIGH with internal PULLDOWN\n");
    
      Serial.print("\tTest for Shorts to adjacent PULLDOWN to see if the next one follows:\n\t");
      for ( ii = 0; ii < NUM_DIGITAL_PINS - 1; ii++) {
        pinMode( ii + 1, INPUT_PULLDOWN );
        pinMode( ii, OUTPUT);
        digitalWrite(ii, HIGH);
        delayMicroseconds( 5 );
        if (digitalRead(ii + 1)) {
          Serial.printf("%d:%d {other? Enter to Toggle}", ii, ii + 1);
        }
        pinMode( ii, INPUT_PULLDOWN );
      }
      Serial.print("\nShow pins LOW when set PULLUP: -->");
      for ( ii = 0; ii < NUM_DIGITAL_PINS; ii++) pinMode( ii, INPUT_PULLUP );
      delayMicroseconds( 5 );
      for ( ii = 0; ii < NUM_DIGITAL_PINS; ii++) {
        if (!digitalRead(ii)) {
          Serial.printf("%d ", ii);
        }
      }
      Serial.printf(" <-- :pins shown report LOW with internal PULLUP\n");
      Serial.println("\tTest for Shorts to adjacent PULLUP to see if setting low follow:\n\t");
      for ( ii = 0; ii < NUM_DIGITAL_PINS - 1; ii++) {
        pinMode( ii + 1, INPUT_PULLUP );
        pinMode( ii, OUTPUT);
        digitalWrite(ii, LOW);
        delayMicroseconds( 5 );
        if (!digitalRead(ii + 1)) {
          Serial.printf("%d:%d {other? Enter to Toggle}", ii, ii + 1);
        }
        pinMode( ii + 1, INPUT_PULLUP );
      }
      Serial.println();
    }

  12. #362
    Senior Member
    Join Date
    May 2016
    Posts
    245
    My first fail! I cannot get the SD card to work on either of the two breakouts! I've tried several different cards of different sizes, checked their formatting on my PC (all are FAT32), but none are recognized by the T4 breakout. AS the first test I'm using CardInfo.ino from the SD library examples. Since I don't know the CS pin assignment (or any of the SPI pins) I stripped CardInfo down to a bare minimum, where it just cycles through all 40 pins looking for a valid CS:
    Code:
    #include <SD.h>
    #include <SPI.h>
    
    Sd2Card card;
    SdVolume volume;
    SdFile root;
    void setup() {
      Serial.begin(9600);
      while (!Serial) {;}
      Serial.print("\nInitializing SD card...\n");
      for (int chipSelect = 0; chipSelect <40; chipSelect++){
        delay(100);
        if (!card.init(SPI_HALF_SPEED, chipSelect)) {
          Serial.print("No SD card detected at CS = "); Serial.println(chipSelect);
        } else {
          Serial.print("A card is present at CS = "); Serial.println(chipSelect);
          break;
        }
      }
    }
    //
    void loop() {}
    Nothing found!
    I've examined the boards under a high power magnifier and they look good.
    I don't recall ever seeing a schematic for the breakout so I don't know where to start probing for continuity/shorts.
    Any suggestions? Do I need to change the MOSI/MISO assignments?
    I am assuming that the SD library is compatible with the T4???
    Last edited by DerekR; 12-28-2019 at 03:25 PM.

  13. #363
    Senior Member+ MichaelMeissner's Avatar
    Join Date
    Nov 2012
    Location
    Ayer Massachussetts
    Posts
    3,482
    You want to use the special BUILTIN_SDCARD as the CS pin.

    You might need to use the SD_t3 library instead of SD.

    Note, this uses the SPI2 bus, rather than the standard SPI bus. So if you were using it as a SPI device, you need to change to use the SPI2 bus.

  14. #364
    Senior Member+ KurtE's Avatar
    Join Date
    Jan 2014
    Posts
    6,087
    What I have typically done in the past is to use an SD Card sniffer like https://www.sparkfun.com/products/9419
    And ring out all of the circuits. Example use our pin test program and try to see which pins connect to what...

  15. #365
    Senior Member+ mjs513's Avatar
    Join Date
    Jul 2014
    Location
    New York
    Posts
    4,588
    If you want a sniffer a little faster you probably can get it from amazon: https://www.amazon.com/gp/product/B0...?ie=UTF8&psc=1

    Also you could give SDfat library a drive but the SD library works with the T4. As @MichaelMeissner said use BUILTIN_SDCARD for the cs pin.

    Have to run to microcenter to get some solder wick, ran out, only had one roll

  16. #366
    Senior Member
    Join Date
    May 2016
    Posts
    245
    @mjs513 - You can never have enough solder braid With my old, tired, shaky hands I can't get along without it.

    I've just been invaded (again) by a horde of grandkids, so Teensy stuff will have to take a back seat for a couple of days. (I'll try to sneak a few minutes to try the SD card suggestions, and let you know how/if it is working.)

  17. #367
    Senior Member
    Join Date
    May 2016
    Posts
    245
    Well, that was easy!!! I just specified the CS as BUILTIN_SDCARD and everything started working on both breakouts. Thanks. So it's back to the grandkids...

  18. #368
    Senior Member+ mjs513's Avatar
    Join Date
    Jul 2014
    Location
    New York
    Posts
    4,588
    @DerekR
    Pickup what is called SuperWick from MGChemicals -fine braid. Works fantastic. Have to get some more.

    Just finished putting together my board and of course I messed 2 things up. Probably because I missed something in the thread:
    1. That 2x2 connector that comes with the header kit - after you remove the 1 pin also remove that shell that goes with it or at least most of it otherwise it interferes with sd connector.
    2. Don't know how I did this but I broke the lock on the flex cable connector but managed to get it back in after a while then it all was good.

    Was a lot easier soldering this time around. The flex cable is a real improvement over the first design.

    Ok - now to check the rest of the board

    BTW: did test the sd card with SDfat and SD libraries and it works fine. Output from the SDFat:
    Code:
    SdFat version: 2.0.0
    
    Assuming an SDIO interface.
    ype any character to start
    init time: 231 ms
    
    Card type: SDHC
    
    Manufacturer ID: 0X3
    OEM ID: SD
    Product: ACLCD
    Version: 8.0
    Serial number: 0XA33D2B88
    
    Manufacturing date: 7/2011
    cardSize: 31914.98 MB (MB = 1,000,000 bytes)
    flashEraseSize: 128 blocks
    eraseSingleBlock: true
    
    OCR: 0XC0FF8000
    SD Partition Table
    part,boot,bgnCHS[3],type,endCHS[3],start,length
    
    1,0X0,0X1,0X1,0X0,0XC,0XFE,0XFF,0XFF,8192,62325760
    2,0X0,0X0,0X0,0X0,0X0,0X0,0X0,0X0,0,0
    3,0X0,0X0,0X0,0X0,0X0,0X0,0X0,0X0,0,0
    4,0X0,0X0,0X0,0X0,0X0,0X0,0X0,0X0,0,0
    
    Scanning FAT, please wait.
    
    Volume is FAT32
    sectorsPerCluster: 64
    clusterCount:      973584
    freeClusterCount:  973566
    fatStartSector:    9362
    dataStartSector:   24576

  19. #369
    Senior Member+ mjs513's Avatar
    Join Date
    Jul 2014
    Location
    New York
    Posts
    4,588
    Just tested USB with @wwatson's MSC and @WMXZ's uSDFS libraries with a HDD drive with 2 partitions:
    Code:
    partition0 is a 98Gb exFat
    partition1 is a 14GB FAT32
    output of test_diskio sketch:
    Code:
    Test diskio
    
    uSDFS_VER:30_Jun_19_07_17
    
    Disk initialize Status: STA_OK
    
    Disk read Result: FR_OK
    
    33 c0 8e d0 bc 00 7c 8e c0 8e d8 be 00 7c bf 00
    06 b9 00 02 fc f3 a4 50 68 1c 06 cb fb b9 04 00
    bd be 07 80 7e 00 00 7c 0b 0f 85 0e 01 83 c5 10
    e2 f1 cd 18 88 56 00 55 c6 46 11 05 c6 46 10 00
    b4 41 bb aa 55 cd 13 5d 72 0f 81 fb 55 aa 75 09
    f7 c1 01 00 74 03 fe 46 10 66 60 80 7e 10 00 74
    26 66 68 00 00 00 00 66 ff 76 08 68 00 00 68 00
    7c 68 01 00 68 10 00 b4 42 8a 56 00 8b f4 cd 13
    9f 83 c4 10 9e eb 14 b8 01 02 bb 00 7c 8a 56 00
    8a 76 01 8a 4e 02 8a 6e 03 cd 13 66 61 73 1c fe
    4e 11 75 0c 80 7e 00 80 0f 84 8a 00 b2 80 eb 84
    55 32 e4 8a 56 00 cd 13 5d eb 9e 81 3e fe 7d 55
    aa 75 6e ff 76 00 e8 8d 00 75 17 fa b0 d1 e6 64
    e8 83 00 b0 df e6 60 e8 7c 00 b0 ff e6 64 e8 75
    00 fb b8 00 bb cd 1a 66 23 c0 75 3b 66 81 fb 54
    43 50 41 75 32 81 f9 02 01 72 2c 66 68 07 bb 00
    00 66 68 00 02 00 00 66 68 08 00 00 00 66 53 66
    53 66 55 66 68 00 00 00 00 66 68 00 7c 00 00 66
    61 68 00 00 07 cd 1a 5a 32 f6 ea 00 7c 00 00 cd
    18 a0 b7 07 eb 08 a0 b6 07 eb 03 a0 b5 07 32 e4
    05 00 07 8b f0 ac 3c 00 74 09 bb 07 00 b4 0e cd
    10 eb f2 f4 eb fd 2b c9 e4 64 eb 00 24 02 e0 f8
    24 02 c3 49 6e 76 61 6c 69 64 20 70 61 72 74 69
    74 69 6f 6e 20 74 61 62 6c 65 00 45 72 72 6f 72
    20 6c 6f 61 64 69 6e 67 20 6f 70 65 72 61 74 69
    6e 67 20 73 79 73 74 65 6d 00 4d 69 73 73 69 6e
    67 20 6f 70 65 72 61 74 69 6e 67 20 73 79 73 74
    65 6d 00 00 00 63 7b 9a 09 dc 4f 48 00 00 00 20
    21 00 07 fe ff ff 00 08 00 00 00 00 35 0c 00 fe
    ff ff 0c fe ff ff 00 08 35 0c 00 30 c4 01 00 00
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa
    
    Master Boot Record
    
      Partition: 0 first Sector: 2048 total Sectors: 204800000
    
      Partition: 1 first Sector: 204802048 total Sectors: 29634560
    
      Partition: 2 first Sector: 0 total Sectors: 0
    
      Partition: 3 first Sector: 0 total Sectors: 0
    
    
    First partition Sector
    
    Disk read Result: FR_OK
    
    eb 76 90 45 58 46 41 54 20 20 20 00 00 00 00 00
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    00 08 00 00 00 00 00 00 00 00 35 0c 00 00 00 00
    00 08 00 00 00 19 00 00 00 28 00 00 d8 34 0c 00
    04 00 00 00 e1 88 df 18 00 01 00 00 09 08 01 80
    21 00 00 00 00 00 00 00 33 c9 8e d1 8e c1 8e d9
    bc d0 7b bd 00 7c 88 16 6f 7c b4 41 bb aa 55 cd
    13 72 69 81 fb 55 aa 75 63 f6 c1 01 74 5e fe 06
    02 7c 66 50 b0 65 e8 a6 00 66 58 66 b8 01 00 00
    00 8a 0e 6d 7c 66 d3 e0 66 89 46 e8 66 b8 01 00
    00 00 8a 0e 6c 7c 66 d3 e0 66 89 46 d8 66 a1 40
    7c 66 40 bb 00 7e b9 01 00 66 50 e8 41 00 66 58
    66 40 bb 00 80 b9 01 00 e8 34 00 66 50 b0 78 e8
    5d 00 66 58 e9 09 01 a0 fc 7d eb 05 a0 fb 7d eb
    00 b4 7d 8b f0 ac 98 40 74 0c 48 74 0e b4 0e bb
    07 00 cd 10 eb ef a0 fd 7d eb e6 cd 16 cd 19 66
    60 66 6a 00 66 50 06 53 66 68 10 00 01 00 b4 42
    b2 80 8a 16 6f 7c 8b f4 cd 13 66 58 66 58 66 58
    66 58 66 61 72 b1 03 5e d8 66 40 49 75 d1 c3 66
    60 b4 0e bb 07 00 b9 01 00 cd 10 66 61 c3 42 00
    4f 00 4f 00 54 00 4d 00 47 00 52 00 0d 0a 52 65
    6d 6f 76 65 20 64 69 73 6b 73 20 6f 72 20 6f 74
    68 65 72 20 6d 65 64 69 61 2e ff 0d 0a 44 69 73
    6b 20 65 72 72 6f 72 ff 0d 0a 50 72 65 73 73 20
    61 6e 79 20 6b 65 79 20 74 6f 20 72 65 73 74 61
    72 74 0d 0a 00 00 00 00 00 00 00 00 00 00 ff ff
    ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
    ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
    ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
    ff ff ff ff ff ff ff ff ff ff ff 6c 8b 98 55 aa
    
    First partition Sector
    now to go find my other drives

  20. #370
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    10,575
    Quote Originally Posted by DerekR View Post
    Well, that was easy!!! I just specified the CS as BUILTIN_SDCARD and everything started working on both breakouts. Thanks. So it's back to the grandkids...
    That and the @mjs513 look like great results - easier building and full function!

    Hoping to get to mine in a couple of hours … Yes @mjs513 - there was a note about the 2x2 block needing 3 pins only and interfering with the connector.
    Some notes before but his in p#315 (will add to p#355 above):
    I also shaved down the 2x2 socket with an Xacto knife and the cable slipped into its socket right away.

  21. #371
    Senior Member
    Join Date
    Jan 2013
    Posts
    173
    This is great feedback so far! I'm glad everything seems to be working as it should be.

    Regarding the kits, I'm planning to have them come pre-assembled (soldered) with the following parts populated:

    • C1 - 100uF SD card bypass cap
    • C4 - 2.2uF TPS2055A input bypass cap
    • C5 - 100uF TPS2055A output bypass cap
    • H1 - SD card socket
    • H2 - FPC socket
    • S1 - Momentary ON/OFF button
    • U2 - TPS2055A chip

    There will be an option (for a few dollars more) to have the following parts also pre-populated (soldered):

    • R1 - 120 ohm CAN bus termination resistor
    • C2 - 0.1uF MCP2558FD input bypass cap
    • C3 - 0.1uF MCP2558FD output bypass cap
    • U1 - MCP2558FD chip

    All through-hole components (switches, USB jack, headers, etc.) will be included but will come unassembled (loose).

    The remaining SMD parts (battery holder, PULLUP resistors) will also be included as loose, unassembled parts.

    As usual, there will be the option to buy fully-assembled boards (including a Teensy 4.0) as well as a bare board (with flex cable) only.

    I think this all strikes a pretty decent balance between ease of assembly, cost, flexibility, and complexity, but I'm open to any feedback.

  22. #372
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    10,575
    Got the SMD parts on one board - and the through hole without major issue. Looks clean to my eye - but not tested. I followed Derek's assembly order and that was good properly accounting for blocking parts!

    Short on time/focus I didn't touch the T4 or the Pin/Header setup. I want tall pins above the Teensy to place a female bottom header Rev D Audio Board - so I need to make sure the spacer is properly set to match the center 2x5 and the sockets for full connect.

    Just seeing that will affect the pin selection for trimmed down 2x2 for VUSB/GND as well - and remembering : CUT THE VIN<>VUSB TRACE so the switch works.

  23. #373
    Senior Member
    Join Date
    May 2016
    Posts
    245
    @loglow - Dan, I think these are great decisions for the board assembly options. I'm sure a lot of people would be intiminated by the SMD assembly requirement.

    And talking of SMD soldering, there are many You Tube videos on the topic. I particularly like Dave Jones' EEVblog #i86 which is his third tutorial in his series on electronic soldering. (Dave is a real Aussie "character" and his EEVblog series now has 1200+ excellent/fun videos. Completely off-topic: I always get a laugh out of his early blog #29 "Audiophile Audiophoolery")

  24. #374
    Senior Member+ mjs513's Avatar
    Join Date
    Jul 2014
    Location
    New York
    Posts
    4,588
    Quote Originally Posted by DerekR View Post
    @defragster et al
    Here's what I think was my order of assembly of the SMD components:
    C5 -> C3 -> C2 -> U2 -> C4 -> U1 -> R1 -> tiny tactile SW -> flex-cable socket -> SDcard socket -> C1 .
    Then the other components are easy, I did: USB socket -> 2 slide switches -> battery holder.

    There is, of course, a lot of flexibility in the order. You should look at the board carefully and decide what is right for you. (I take no responsibility if this doesn't work for you )
    Remember: "Solder-Wick" is your friend when working with small SMD components. Have plenty of good quality wick on hand. If you bridge connections - it's not a disaster, you can (usually) fix it easily with solder wick.
    After Assembling the board for me there were a few things that are absolutes to remember when assembling:
    1. ->flex-cable socket -> SDcard socket -> C1
    2. Remember CUT THE VIN<>VUSB TRACE
    3. Shave down the 2x2 socket with an Xacto knife (the one with the missing pin) or cut off with an xacto saw
    4. Solder the smd connector before you solder the 5-pin header onto the teensy

  25. #375
    Senior Member
    Join Date
    Aug 2016
    Posts
    146
    okay, got the first one assembled except for the socket kit, now to do the teensy.

    loglow can you send me a second socket kit for the other set?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •