Custom Printer with Ender3 board and CTC motors December 29, 2023 03:49PM |
Registered: 9 years ago Posts: 5 |
Re: Custom Printer with Ender3 board and CTC motors December 29, 2023 04:30PM |
Admin Registered: 13 years ago Posts: 7,005 |
/** * CTC_A10S_A13 pinout * * ------ * GND |1 2| 5V * BEEPER_PIN |3 4| BTN_EN2 * BTN_EN1 5 6| LCD_PINS_D4 * LCD_PINS_RS |7 8| LCD_PINS_EN * SERVO0_PIN |9 10| BTN_ENC * ------ * LCD */ #define SERVO0_PIN EXP1_02_PIN #define BEEPER_PIN EXP1_08_PIN #define LCD_PINS_RS EXP1_04_PIN #define LCD_PINS_EN EXP1_03_PIN #define LCD_PINS_D4 EXP1_05_PIN #define BTN_EN1 EXP1_06_PIN #define BTN_EN2 EXP1_07_PIN #define BTN_ENC EXP1_01_PIN #define BOARD_ST7920_DELAY_1 250 #define BOARD_ST7920_DELAY_2 250 #define BOARD_ST7920_DELAY_3 250
Re: Custom Printer with Ender3 board and CTC motors December 29, 2023 06:27PM |
Registered: 9 years ago Posts: 5 |
Re: Custom Printer with Ender3 board and CTC motors December 29, 2023 07:00PM |
Admin Registered: 13 years ago Posts: 7,005 |
Re: Custom Printer with Ender3 board and CTC motors January 02, 2024 03:58PM |
Registered: 9 years ago Posts: 5 |
Re: Custom Printer with Ender3 board and CTC motors January 02, 2024 04:06PM |
Admin Registered: 13 years ago Posts: 7,005 |
Re: Custom Printer with Ender3 board and CTC motors January 02, 2024 06:43PM |
Admin Registered: 13 years ago Posts: 7,005 |
/home/dust/.arduino15/packages/arduino/tools/avrdude/6.3.0-arduino17/bin/avrdude -C/home/dust/.arduino15/packages/arduino/tools/avrdude/6.3.0-arduino17/etc/avrdude.conf -v -patmega1284p -cstk500 -P/dev/ttyACM0 -e -Ulock:w:0x3F:m -Uefuse:w:0xFD:m -Uhfuse:w:0xDE:m -Ulfuse:w:0xF7:m avrdude: Version 6.3-20190619 Copyright (c) 2000-2005 Brian Dean, [www.bdmicro.com] Copyright (c) 2007-2014 Joerg Wunsch System wide configuration file is "/home/dust/.arduino15/packages/arduino/tools/avrdude/6.3.0-arduino17/etc/avrdude.conf" User configuration file is "/home/dust/.avrduderc" User configuration file does not exist or is not a regular file, skipping Using Port : /dev/ttyACM0 Using Programmer : stk500 AVR Part : ATmega1284P Chip Erase delay : 55000 us PAGEL : PD7 BS2 : PA0 RESET disposition : dedicated RETRY pulse : SCK serial program mode : yes parallel program mode : yes Timeout : 200 StabDelay : 100 CmdexeDelay : 25 SyncLoops : 32 ByteDelay : 0 PollIndex : 3 PollValue : 0x53 Memory Detail : Block Poll Page Polled Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- --------- eeprom 65 10 128 0 no 4096 8 0 9000 9000 0xff 0xff flash 65 10 256 0 yes 131072 256 512 4500 4500 0xff 0xff lock 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00 lfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00 hfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00 efuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00 signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00 calibration 0 0 0 0 no 1 0 0 0 0 0x00 0x00 Programmer Type : STK500V2 Description : Atmel STK500 Programmer Model: STK500 Hardware Version: 15 Firmware Version Master : 2.10 Topcard : Unknown Vtarget : 4.9 V SCK period : 2.2 us Varef : 0.0 V Oscillator : 3.686 MHz avrdude: AVR device initialized and ready to accept instructions Reading | ################################################## | 100% 0.00s avrdude: Device signature = 0x1e9705 (probably m1284p) avrdude: erasing chip avrdude: reading input file "0x3F" avrdude: writing lock (1 bytes): /home//.arduino15/packages/arduino/tools/avrdude/6.3.0-arduino17/bin/avrdude -C/home/dust/.arduino15/packages/arduino/tools/avrdude/6.3.0-arduino17/etc/avrdude.conf -v -patmega1284p -cstk500 -P/dev/ttyACM0 -Uflash:w:/home/dust/.arduino15/packages/Sanguino/hardware/avr/1.0.3/bootloaders/optiboot/optiboot_atmega1284p.hex:i -Ulock:w:0x0F:m avrdude: Version 6.3-20190619 Copyright (c) 2000-2005 Brian Dean, [www.bdmicro.com] Copyright (c) 2007-2014 Joerg Wunsch System wide configuration file is "/home/dust/.arduino15/packages/arduino/tools/avrdude/6.3.0-arduino17/etc/avrdude.conf" User configuration file is "/home/dust/.avrduderc" User configuration file does not exist or is not a regular file, skipping Using Port : /dev/ttyACM0 Using Programmer : stk500 Writing | ################################################## | 100% 0.00s avrdude: 1 bytes of lock written avrdude: verifying lock memory against 0x3F: avrdude: load data lock data from input file 0x3F: avrdude: input file 0x3F contains 1 bytes avrdude: reading on-chip lock data: Reading | ################################################## | 100% 0.00s avrdude: verifying ... avrdude: 1 bytes of lock verified avrdude: reading input file "0xFD" avrdude: writing efuse (1 bytes): Writing | ################################################## | 100% 0.00s avrdude: 1 bytes of efuse written avrdude: verifying efuse memory against 0xFD: avrdude: load data efuse data from input file 0xFD: avrdude: input file 0xFD contains 1 bytes avrdude: reading on-chip efuse data: Reading | ################################################## | 100% 0.00s avrdude: verifying ... avrdude: 1 bytes of efuse verified avrdude: reading input file "0xDE" avrdude: writing hfuse (1 bytes): Writing | ################################################## | 100% 0.01s avrdude: 1 bytes of hfuse written avrdude: verifying hfuse memory against 0xDE: avrdude: load data hfuse data from input file 0xDE: avrdude: input file 0xDE contains 1 bytes avrdude: reading on-chip hfuse data: Reading | ################################################## | 100% 0.00s avrdude: verifying ... avrdude: 1 bytes of hfuse verified avrdude: reading input file "0xF7" avrdude: writing lfuse (1 bytes): Writing | ################################################## | 100% 0.01s avrdude: 1 bytes of lfuse written avrdude: verifying lfuse memory against 0xF7: avrdude: load data lfuse data from input file 0xF7: avrdude: input file 0xF7 contains 1 bytes avrdude: reading on-chip lfuse data: Reading | ################################################## | 100% 0.00s avrdude: verifying ... avrdude: 1 bytes of lfuse verified avrdude done. Thank you. AVR Part : ATmega1284P Chip Erase delay : 55000 us PAGEL : PD7 BS2 : PA0 RESET disposition : dedicated RETRY pulse : SCK serial program mode : yes parallel program mode : yes Timeout : 200 StabDelay : 100 CmdexeDelay : 25 SyncLoops : 32 ByteDelay : 0 PollIndex : 3 PollValue : 0x53 Memory Detail : Block Poll Page Polled Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- --------- eeprom 65 10 128 0 no 4096 8 0 9000 9000 0xff 0xff flash 65 10 256 0 yes 131072 256 512 4500 4500 0xff 0xff lock 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00 lfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00 hfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00 efuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00 signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00 calibration 0 0 0 0 no 1 0 0 0 0 0x00 0x00 Programmer Type : STK500V2 Description : Atmel STK500 Programmer Model: STK500 Hardware Version: 15 Firmware Version Master : 2.10 Topcard : Unknown Vtarget : 4.8 V SCK period : 2.2 us Varef : 0.0 V Oscillator : 3.686 MHz avrdude: AVR device initialized and ready to accept instructions Reading | ################################################## | 100% 0.00s avrdude: Device signature = 0x1e9705 (probably m1284p) avrdude: NOTE: "flash" memory has been specified, an erase cycle will be performed To disable this feature, specify the -D option. avrdude: erasing chip avrdude: reading input file "/home/dust/.arduino15/packages/Sanguino/hardware/avr/1.0.3/bootloaders/optiboot/optiboot_atmega1284p.hex" avrdude: writing flash (131072 bytes): Writing | ################################################## | 100% 0.00s avrdude: 131072 bytes of flash written avrdude: verifying flash memory against /home/dust/.arduino15/packages/Sanguino/hardware/avr/1.0.3/bootloaders/optiboot/optiboot_atmega1284p.hex: avrdude: load data flash data from input file /home/dust/.arduino15/packages/Sanguino/hardware/avr/1.0.3/bootloaders/optiboot/optiboot_atmega1284p.hex: avrdude: input file /home/dust/.arduino15/packages/Sanguino/hardware/avr/1.0.3/bootloaders/optiboot/optiboot_atmega1284p.hex contains 131072 bytes avrdude: reading on-chip flash data: Reading | ################################################## | 100% 0.00s avrdude: verifying ... avrdude: 131072 bytes of flash verified avrdude: reading input file "0x0F" avrdude: writing lock (1 bytes): Writing | ################################################## | 100% 0.01s avrdude: 1 bytes of lock written avrdude: verifying lock memory against 0x0F: avrdude: load data lock data from input file 0x0F: avrdude: input file 0x0F contains 1 bytes avrdude: reading on-chip lock data: Reading | ################################################## | 100% 0.00s avrdude: verifying ... avrdude: 1 bytes of lock verified avrdude done. Thank you.
Re: Custom Printer with Ender3 board and CTC motors January 02, 2024 06:54PM |
Admin Registered: 13 years ago Posts: 7,005 |
Re: Custom Printer with Ender3 board and CTC motors January 02, 2024 07:01PM |
Admin Registered: 13 years ago Posts: 7,005 |
Executing task: platformio run --target upload Processing melzi_optiboot_optimized (board: sanguino_atmega1284p; platform: atmelavr@~4.0.1; framework: arduino) ----------------------------------------------------------------------------------------------------------------------------------------------------- Verbose mode can be enabled via `-v, --verbose` option CONFIGURATION: [docs.platformio.org] PLATFORM: Atmel AVR (4.0.1) > Sanguino ATmega1284p (16MHz) HARDWARE: ATMEGA1284P 16MHz, 16KB RAM, 127KB Flash DEBUG: Current (simavr) External (simavr) PACKAGES: - framework-arduino-avr @ 5.1.0 - tool-avrdude @ 1.60300.200527 (6.3.0) - toolchain-atmelavr @ 1.70300.191015 (7.3.0) Converting Marlin.ino LDF: Library Dependency Finder -> [bit.ly] LDF Modes: Finder ~ chain, Compatibility ~ soft Found 5 compatible libraries Scanning dependencies... Dependency Graph |-- Wire @ 1.0 |-- SPI @ 1.0 Building in release mode Compiling .pio/build/melzi_optiboot_optimized/src/src/inc/Warnings.cpp.o Marlin/src/inc/Warnings.cpp:77:4: warning: #warning "Your Configuration provides no method to acquire user feedback!" [-Wcpp] #warning "Your Configuration provides no method to acquire user feedback!" ^~~~~~~ Linking .pio/build/melzi_optiboot_optimized/firmware.elf Checking size .pio/build/melzi_optiboot_optimized/firmware.elf Advanced Memory Usage is available via "PlatformIO Home > Project Inspect" RAM: [== ] 15.3% (used 2507 bytes from 16384 bytes) Flash: [==== ] 44.2% (used 57540 bytes from 130048 bytes) Configuring upload protocol... AVAILABLE: arduino CURRENT: upload_protocol = arduino Looking for upload port... Auto-detected: /dev/ttyUSB0 Uploading .pio/build/melzi_optiboot_optimized/firmware.hex avrdude: AVR device initialized and ready to accept instructions Reading | ################################################## | 100% 0.00s avrdude: Device signature = 0x1e9705 (probably m1284p) avrdude: reading input file ".pio/build/melzi_optiboot_optimized/firmware.hex" avrdude: writing flash (57540 bytes): Writing | ################################################## | 100% 7.29s avrdude: 57540 bytes of flash written avrdude: verifying flash memory against .pio/build/melzi_optiboot_optimized/firmware.hex: avrdude: load data flash data from input file .pio/build/melzi_optiboot_optimized/firmware.hex: avrdude: input file .pio/build/melzi_optiboot_optimized/firmware.hex contains 57540 bytes avrdude: reading on-chip flash data: Reading | ################################################## | 100% 6.17s avrdude: verifying ... avrdude: 57540 bytes of flash verified avrdude: safemode: Fuses OK (E:00, H:00, L:00) avrdude done. Thank you. =========================================================== [SUCCESS] Took 17.99 seconds =========================================================== Environment Status Duration ------------------------ -------- ------------ melzi_optiboot_optimized SUCCESS 00:00:17.986 ============================================================ 1 succeeded in 00:00:17.986 ============================================================