Anet A8, cannot install Firmware

Hi,
i have a Anet A8 Printer and i would like to install the Repetier-Firmware because i plan to update the Printer with AutoLeveling.
I use the ARDUINO 1.8.1, my Mainboard ist this when i upload the Firmware i become this Massage:
 
 Arduino: 1.8.1 (Linux), Board: "Arduino/Genuino Uno"
.
.
.                                                                                                                             ^
sketch/fastio.h:17:30: note: in definition of macro 'MASK'
  #define  MASK(PIN)    (1 << PIN)
                              ^
sketch/fastio.h:48:25: note: in expansion of macro '_WRITE'
 #define  WRITE(IO, v)   _WRITE(IO, v)
                         ^
sketch/Printer.h:1004:9: note: in expansion of macro 'WRITE'
         WRITE(Y_STEP_PIN,!START_STEP_WITH_HIGH);
         ^
exit status 1
'DIO31_DDR' was not declared in this scope



What do i make wrong??

Thank You

Comments

  • you have the wrong board selected in arduino ide.
    goto tools/board and select the correct board.
    i don´t know which one is compatible to the anet but ithink it might be arduino/genuino mega
  • RAyWB said:
    you have the wrong board selected in arduino ide.
    goto tools/board and select the correct board.
    i don´t know which one is compatible to the anet but ithink it might be arduino/genuino mega
    Thanks, i tried several boards but every time i become Errors
    With the  arduino/genuino mega the Message is:

    Arduino: 1.8.1 (Linux), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"
    .
    .
    .
    Globale Variablen verwenden 4114 Bytes (50%) des dynamischen Speichers, 4078 Bytes für lokale Variablen verbleiben. Das Maximum sind 8192 Bytes.
    avrdude: stk500v2_ReceiveMessage(): timeout
    avrdude: stk500v2_ReceiveMessage(): timeout
    avrdude: stk500v2_ReceiveMessage(): timeout
    avrdude: stk500v2_ReceiveMessage(): timeout
    avrdude: stk500v2_ReceiveMessage(): timeout
    avrdude: stk500v2_ReceiveMessage(): timeout
    avrdude: stk500v2_getsync(): timeout communicating with programmer
    Beim Hochladen des Sketches ist ein Fehler aufgetreten

    with the Sangunio (i found that tip here)

    Arduino: 1.8.1 (Linux), Board: "Sanguino, ATmega1284 or ATmega1284P (16 MHz)"
    .
    .
    .
    Globale Variablen verwenden 4114 Bytes (25%) des dynamischen Speichers, 12270 Bytes für lokale Variablen verbleiben. Das Maximum sind 16384 Bytes.
    avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x73
    avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x74
    avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x61
    avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x72
    avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x74
    avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x0d
    avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x0a
    avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x49
    avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x6e
    avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x66
    Beim Hochladen des Sketches ist ein Fehler aufgetreten

    The connection to the Printer should be OK, the Terminal show me this information:

    start
    Info:External Reset
    Info: 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
    Free RAM:12337
    SD init fail
    wait
    wait
    wait
    wait
  • ok that´s problem of syncronisation , as i´m not familiar with this board so take a look at it which controller is on that board and also which usb-controller
  • edited February 2017
    I am not sure if i have the right Infos:

    lsusb show me:
    Bus 002 Device 002: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter

    dmesg show me:
    [ 5338.496315] usb 2-1: New USB device found, idVendor=1a86, idProduct=7523
    [ 5338.496323] usb 2-1: New USB device strings: Mfr=0, Product=2, SerialNumber=0
    [ 5338.496327] usb 2-1: Product: USB2.0-Serial
    [ 5339.042080] usbcore: registered new interface driver usbserial
    [ 5339.042468] usbcore: registered new interface driver usbserial_generic
    [ 5339.042601] usbserial: USB Serial support registered for generic
    [ 5339.044077] usbcore: registered new interface driver ch341
    [ 5339.044095] usbserial: USB Serial support registered for ch341-uart
    [ 5339.044114] ch341 2-1:1.0: ch341-uart converter detected
    [ 5339.056351] usb 2-1: ch341-uart converter now attached to ttyUSB0

    at the board are 3 microchips, the big one in the middle of the Board is:
    ATME GA1284P
    AU 1636

    and two near the USB Connector:
    CH340G
    202686677

    and:

    74HC4050D
    CKW14101
    TnD1619B


    Thank you
  • edited February 2017
    ok, so then it´s the 1284p but i´m not shure if that is compatible to the sanguino.
    as far as i know it´s not supported "out of the box" by arduino ide and there are a couple of arduino
    "add-ons"  out in the net so i ´m sorry i cannot help.

    so may be the guys from here can help :

    http://anet3d-forum.de/



  • In arduino tools menu select 
    board type  Arduino/Genuino Mega or Mega 2560
    processor type  ATMEGA1284
  • edited February 2017
    MartinH said:
    In arduino tools menu select 
    board type  Arduino/Genuino Mega or Mega 2560
    processor type  ATMEGA1284
    Arduino Mega is equipped with ATMEGA2560  or ATMEGA1280  

    not 1284
  • OK, thanks for your help, i will try it in the anet3d Forum, i give you a response if i have a solution
Sign In or Register to comment.