Welcome! Log In Create A New Profile

Advanced

SMART RAMPS w. Mega 2560 and AZSMZ_12864 - no SD card

Posted by NovaHuta 
SMART RAMPS w. Mega 2560 and AZSMZ_12864 - no SD card
February 02, 2021 01:01AM
So have this combo of parts working largely with SMART RAMPS board (v. 1.4.6), TMC2209 drivers in UART mode, and AZSMZ 12864 LCD display.

All is good but having issue with freezing on insert of SDCARD. LCD becomes unresponsive but firmware is still responsive over the serial port.

Any clues? Seen tickets from 2018 but they are all closed now so ... must be me? smiling smiley

Here is the pinout dump :

Thoughts, there are a bunch of defined pins that aren't used, do they need to be undefined in some way?

I see this message on compiling, could this simply be my problem?

Sketch uses 196030 bytes (77%) of program storage space. Maximum is 253952 bytes.
Global variables use 6322 bytes (77%) of dynamic memory, leaving 1870 bytes for local variables. Maximum is 8192 bytes.
Low memory available, stability problems may occur.


SENDING:M43 I
PIN: 0 Port: E0 RXD0 Input = 1
PIN: 1 Port: E1 TXD0 Input = 0
PIN: 2 Port: E4 X_MAX_PIN Input = 1 TIMER3B PWM: 0 WGM: 1 COM3B: 1 CS: 3 TCCR3A: 1 TCCR3B: 3 TIMSK3: 0
PIN: 3 Port: E5 X_MIN_PIN Input = 0 TIMER3C PWM: 0 WGM: 1 COM3C: 0 CS: 3 TCCR3A: 1 TCCR3B: 3 TIMSK3: 0
. X_STOP_PIN Input = 0 TIMER3C PWM: 0 WGM: 1 COM3C: 0 CS: 3 TCCR3A: 1 TCCR3B: 3 TIMSK3: 0
PIN: 4 Port: G5 SERVO3_PIN Input = 0 TIMER0B PWM: 128 WGM: 3 COM0B: 3 CS: 3 TCCR0A: 3 TCCR0B: 3 TIMSK0: 5 compare interrupt enabled overflow interrupt enabled
PIN: 5 Port: E3 SERVO2_PIN Input = 0 TIMER3A PWM: 0 WGM: 1 COM3A: 1 CS: 3 TCCR3A: 1 TCCR3B: 3 TIMSK3: 0
PIN: 6 Port: H3 SERVO1_PIN Input = 0 TIMER4A PWM: 0 WGM: 1 COM4A: 1 CS: 3 TCCR4A: 1 TCCR4B: 3 TIMSK4: 0
PIN: 7 Port: H4 Input = 0 TIMER4B PWM: 0 WGM: 1 COM4B: 1 CS: 3 TCCR4A: 1 TCCR4B: 3 TIMSK4: 0
PIN: 8 Port: H5 E0_AUTO_FAN_PIN Output = 0 TIMER4C PWM: 0 WGM: 1 COM4C: 0 CS: 3 TCCR4A: 1 TCCR4B: 3 TIMSK4: 0
. FAN1_PIN Output = 0 TIMER4C PWM: 0 WGM: 1 COM4C: 0 CS: 3 TCCR4A: 1 TCCR4B: 3 TIMSK4: 0
. RAMPS_D8_PIN Output = 0
PIN: 9 Port: H6 FAN_PIN Output = 0 TIMER2B PWM: 0 WGM: 1 COM2B: 1 CS: 4 TCCR2A: 1 TCCR2B: 4 TIMSK2: 0
. RAMPS_D9_PIN Output = 0 TIMER2B PWM: 0 WGM: 1 COM2B: 1 CS: 4 TCCR2A: 1 TCCR2B: 4 TIMSK2: 0
PIN: 10 Port: B4 HEATER_0_PIN Output = 0 TIMER2A PWM: 0 WGM: 1 COM2A: 1 CS: 4 TCCR2A: 1 TCCR2B: 4 TIMSK2: 0
. RAMPS_D10_PIN Output = 0 TIMER2A PWM: 0 WGM: 1 COM2A: 1 CS: 4 TCCR2A: 1 TCCR2B: 4 TIMSK2: 0
PIN: 11 Port: B5 SERVO0_PIN Input = 0 TIMER1A PWM: 2000 WGM: 4 COM1A: 0 CS: 2 TCCR1A: 0 TCCR1B: 10 TIMSK1: 2 non-standard PWM mode compare interrupt enabled
PIN: 12 Port: B6 Input = 0 TIMER1B PWM: 0 WGM: 4 COM1B: 0 CS: 2 TCCR1A: 0 TCCR1B: 10 TIMSK1: 2 non-standard PWM mode
PIN: 13 Port: B7 LED_PIN Output = 0 TIMER0A PWM: 0 WGM: 3 COM0A: 3 CS: 3 TCCR0A: 3 TCCR0B: 3 TIMSK0: 5 overflow interrupt enabled
. TIMER1C is also tied to this pin TIMER1C PWM: 0 WGM: 4 COM1C: 0 CS: 2 TCCR1A: 0 TCCR1B: 10 TIMSK1: 2 non-standard PWM mode
PIN: 14 Port: J1 Y_MIN_PIN Input = 0
. Y_STOP_PIN Input = 0
PIN: 15 Port: J0 Y_MAX_PIN Input = 1
PIN: 16 Port: H1 LCD_PINS_RS Input = 1
PIN: 17 Port: H0 LCD_PINS_ENABLE Input = 1
PIN: 18 Port: D3 TXD1 Input = 1
. Z_MIN_PIN Input = 1
. Z_STOP_PIN Input = 1
PIN: 19 Port: D2 RXD1 Input = 1
. Z_MAX_PIN Input = 1
PIN: 20 Port: D1 Input = 1
PIN: 21 Port: D0 Input = 1
PIN: 22 Port: A0 Input = 0
PIN: 23 Port: A1 LCD_PINS_D4 Input = 0
PIN: 24 Port: A2 E0_ENABLE_PIN Output = 1
PIN: 25 Port: A3 LCD_PINS_D5 Input = 0
PIN: 26 Port: A4 E0_STEP_PIN Output = 0
PIN: 27 Port: A5 LCD_PINS_D6 Input = 0
PIN: 28 Port: A6 E0_DIR_PIN Output = 1
PIN: 29 Port: A7 LCD_PINS_D7 Input = 1
PIN: 30 Port: C7 E1_ENABLE_PIN Output = 0
. Z2_ENABLE_PIN Output = 0
PIN: 31 Port: C6 Input = 0
PIN: 32 Port: C5 Input = 0
PIN: 33 Port: C4 Input = 0
PIN: 34 Port: C3 E1_DIR_PIN Output = 1
. Z2_DIR_PIN Output = 1
PIN: 35 Port: C2 Input = 0
PIN: 36 Port: C1 E1_STEP_PIN Output = 0
. Z2_STEP_PIN Output = 0
PIN: 37 Port: C0 Input = 0
PIN: 38 Port: D7 X_ENABLE_PIN Output = 0
PIN: 39 Port: G2 Input = 0
PIN: 40 Port: G1 BTN_EN2 Input = 1
. E_MUX0_PIN Input = 1
. X_SERIAL_TX_PIN Input = 1

PIN: 41 Port: G0 Input = 0
PIN: 42 Port: L7 E_MUX1_PIN Input = 1
. KILL_PIN Input = 1
. Z_SERIAL_TX_PIN Input = 1

PIN: 43 Port: L6 Input = 0
PIN: 44 Port: L5 DOGLCD_CS Output = 1 TIMER5C PWM: 0 WGM: 1 COM5C: 0 CS: 3 TCCR5A: 1 TCCR5B: 3 TIMSK5: 0
. E_MUX2_PIN Output = 1 TIMER5C PWM: 0 WGM: 1 COM5C: 0 CS: 3 TCCR5A: 1 TCCR5B: 3 TIMSK5: 0
. E1_CS_PIN Output = 1
. E0_SERIAL_TX_PIN Output = 1

PIN: 45 Port: L4 Input = 0 TIMER5B PWM: 0 WGM: 1 COM5B: 1 CS: 3 TCCR5A: 1 TCCR5B: 3 TIMSK5: 0
PIN: 46 Port: L3 Z_STEP_PIN Output = 0 TIMER5A PWM: 0 WGM: 1 COM5A: 1 CS: 3 TCCR5A: 1 TCCR5B: 3 TIMSK5: 0
PIN: 47 Port: L2 Input = 1
PIN: 48 Port: L1 Z_DIR_PIN Output = 1
PIN: 49 Port: L0 SD_DETECT_PIN Input = 1
PIN: 50 Port: B3 AVR_MISO_PIN Input = 0
. MISO_PIN Input = 0

PIN: 51 Port: B2 AVR_MOSI_PIN Output = 0
. DOGLCD_MOSI Output = 0
. MOSI_PIN Output = 0

PIN: 52 Port: B1 AVR_SCK_PIN Output = 0
. DOGLCD_SCK Output = 0
. SCK_PIN Output = 0

PIN: 53 Port: B0 AVR_SS_PIN Input = 0
. SDSS Input = 0
. SS_PIN Input = 0

PIN: 54 Port: F0 (A 0) X_STEP_PIN Output = 0
PIN: 55 Port: F1 (A 1) X_DIR_PIN Output = 1
PIN: 56 Port: F2 (A 2) Y_ENABLE_PIN Output = 0
PIN: 57 Port: F3 (A 3) Analog in = 578 Input = 1
PIN: 58 Port: F4 (A 4) BTN_EN1 Input = 1
PIN: 59 Port: F5 (A 5) FILWIDTH_PIN Analog in = 1021
. DOGLCD_A0 Output = 1
. Y_SERIAL_TX_PIN Output = 1

PIN: 60 Port: F6 (A 6) Y_STEP_PIN Output = 0
PIN: 61 Port: F7 (A 7) Y_DIR_PIN Output = 1
PIN: 62 Port: K0 (A 8) Z_ENABLE_PIN Output = 0
PIN: 63 Port: K1 (A 9) TEMP_0_PIN Analog in = 987
. X_SERIAL_RX_PIN Input = 0
PIN: 64 Port: K2 (A10) TEMP_1_PIN Analog in = 1023
. Y_SERIAL_RX_PIN Input = 1
PIN: 65 Port: K3 (A11) TEMP_BED_PIN Analog in = 1023
. Z_SERIAL_RX_PIN Input = 1
PIN: 66 Port: K4 (A12) BEEPER_PIN Output = 0
. E0_SERIAL_RX_PIN Output = 0

PIN: 67 Port: K5 (A13) BTN_ENC Input = 1
. MAX6675_SS_PIN Input = 1

PIN: 68 Port: K6 (A14) Analog in = 548 Input = 1
PIN: 69 Port: K7 (A15) Analog in = 643 Input = 1
Sorry, only registered users may post in this forum.

Click here to login