coolio986 / Marlin_2.0.x_Anycubic_Chiron

GNU General Public License v3.0
55 stars 24 forks source link

Flashed Firmware, closes usb connection almost immediately #18

Open NBBHub opened 3 years ago

NBBHub commented 3 years ago

Description

Hi everyone, first of all, thanks for your help!

I flashed the Firmware I built with VSCode according to your instructions via OctoPrint. Now my Annycubic almost immediately closes the usb connection with the following error: Error: KILL caused by KILL button/pin - Printer halted. kill() called!

There are more errors, that occur before the one above which closes the connection:

After that OctoPrint confirms successful connection to the printer.
It then reads two Temperature Messages:
T:21.50 /0.00 B:22.58 /0.00 @:0 B@:0
And after that it produces the Error: Kill caused by Kill, which closes the connection.

Steps to Reproduce

  1. Upgrade Anycubic Chiron with TMC2208s and new Fans (doubt they are a problem, but just for completeness)
  2. Download the Firmware from here, build with VSCode and PlattformIO
  3. Flash using OctoPrint and avrdude Remark: After Flashing I was not able to run M502 and M500 which are required in your guide. The error occurred before I could send them.
    Remark2: I have not altered any files before building and flashing the firmware.

Expected behavior: Octoprint correctly connects to Anycubic Chiron via USB like before the update.

Actual behavior: Connection is closed almost immediately with the errors listed above.

demetz commented 3 years ago

I used Visual Studio Code to compile, however I have the same problem.

--- Available filters and text transformations: colorize, debug, default, direct, hexlify, log2file, nocontrol, printable, send_on_enter, time
--- More details at http://bit.ly/pio-monitor-filters
--- Miniterm on COM4  250000,8,N,1 ---
--- Quit: Ctrl+C | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ---
start
echo:Marlin bugfix-2.0.x

Marlin-AI3M v1.4.8

echo: Last Updated: 2019-12-18 | Author: (coolio986)
echo:Compiled: Oct 15 2021
echo: Free Memory: 975  PlannerBufferBytes: 1568    
echo:SD card ok
echo:EEPROM version mismatch (EEPROM=? Marlin=V74)  
echo:Hardcoded Default Settings Loaded
echo:EEPROM version mismatch (EEPROM=? Marlin=V74)
echo:Hardcoded Default Settings Loaded
Testing X connection... Error: All LOW
Testing Y connection... Error: All LOW
Testing Z connection... Error: All LOW
Testing Z2 connection... Error: All LOW
Testing E connection... Error: All LOW
echo:SD card ok
echo:EEPROM version mismatch (EEPROM=? Marlin=V74)
echo:Hardcoded Default Settings Loaded
TFT Serial Debug: SD card inserted... J00
echo:EEPROM version mismatch (EEPROM=? Marlin=V74)
echo:Hardcoded Default Settings Loaded
Error:KILL caused by KILL button/pin
Error:Printer halted. kill() called!
TFT Serial Debug: Kill command... J11

were you able to solve the issue?