Shop OBEX P1 Docs P2 Docs Learn Events
New P2 module - Page 15 — Parallax Forums

New P2 module

191011121315»

Comments

  • evanhevanh Posts: 16,673
    edited 2025-08-29 09:57

    @Wuerfel_21 said:

    @evanh said:
    The only way to use a SD card, and not be constantly removing it, and also develop new code via serial booting is to have a loader in the EEPROM. Thereby entirely bypassing the ROM's SD boot solution.

    I usually just set the pullup for the long serial window. Forget which one that was. That will never auto-boot anything, but that's usually desireable.

    P59 pull-up forces serial only booting. P59 pull-down forces no serial booting.

    Yeah, I suppose that is an option: Boot from serial as a loader until happy with finished product, then put the loader on the SD card and make it bootable.

  • RaymanRayman Posts: 15,550
    edited 2025-08-29 12:35

    @evanh Looks like that was it...

    FatFS works from boot with this change to line 550 in sdmm.cc:

            //spm_rx |= P_SYNC_RX | P_OE | P_INVERT_OUTPUT | P_HIGH_15K | P_LOW_15K;  // rx smartpin mode, with 15 k pull-up
            spm_rx |= P_SYNC_RX | P_OE | P_INVERT_OUTPUT | P_HIGH_1MA | P_LOW_FLOAT;  //  pull-up
    
  • evanhevanh Posts: 16,673

    You do know that's a work-around, right? You're overpowering the incorrectly wired pull-down that should be a pull-up. I expect you to correct the schematic and fix the already made modules in the medium term.

Sign In or Register to comment.