Problem flashing board

New Home Forum Troubleshooting Problem flashing board

This topic contains 9 replies, has 3 voices, and was last updated by Profile photo of sempul sempul 1 month ago.

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #20429
    Profile photo of sempul
    sempul
    Participant

    So i tried to change the setting in my board that was perfect from you to allow me to use a heated bed. And it now does nothing. So I am ordering anew boaard now for a back up. however when i try to follow the instructing on the page for how to flash it myself i get this error and cant go any furhter or uplaod. any suggestions?

    Arduino: 1.6.12 (Windows 7), Board: “Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)”

    In file included from sketch\ConfigurationStore.cpp:65:0:

    sketch\language.h:65:0: warning: “MACHINE_NAME” redefined

    #define MACHINE_NAME CUSTOM_MENDEL_NAME

    ^

    sketch\language.h:61:0: note: this is the location of the previous definition

    #define MACHINE_NAME “Mendel”

    ^

    In file included from sketch\Marlin_main.cpp:47:0:

    sketch\language.h:65:0: warning: “MACHINE_NAME” redefined

    #define MACHINE_NAME CUSTOM_MENDEL_NAME

    ^

    sketch\language.h:61:0: note: this is the location of the previous definition

    #define MACHINE_NAME “Mendel”

    ^

    sketch\Marlin_main.cpp:2715:36: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]

    LCD_MESSAGEPGM(MACHINE_NAME” “MSG_OFF”.”);

    ^

    In file included from sketch\SdFile.h:27:0,

    from sketch\cardreader.h:8,

    from sketch\Marlin_main.cpp:44:

    SdBaseFile.h:38: error: using typedef-name ‘fpos_t’ after ‘struct’

    struct fpos_t {

    ^

    In file included from sketch\Marlin.h:10:0,

    from sketch\Marlin_main.cpp:30:

    c:\program files (x86)\arduino\hardware\tools\avr\avr\include\stdio.h:950:33: note: ‘fpos_t’ has a previous declaration here

    __extension__ typedef long long fpos_t;

    ^

    exit status 1
    using typedef-name ‘fpos_t’ after ‘struct’

    This report would have more information with
    “Show verbose output during compilation”
    option enabled in File -> Preferences.

    #20431
    Profile photo of sempul
    sempul
    Participant

    OK so i was able to get the board back up and running by going back to Arduino 1.0.6 just to get it to compile. However it is a very different LCD screen and i hate it lol. I saw where Walter had said the problem was his firmware was old and he needed the RC7 build. So i guess how do i update the firmware?

    #20434
    Profile photo of sempul
    sempul
    Participant

    and now trying to upload that i get this error:

    Arduino: 1.6.11 (Windows 7), Board: “Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)”

    Sketch uses 106,304 bytes (41%) of program storage space. Maximum is 253,952 bytes.
    Global variables use 4,859 bytes (59%) of dynamic memory, leaving 3,333 bytes for local variables. Maximum is 8,192 bytes.
    avrdude: ser_open(): can’t open device “\\.\COM3”: Access is denied.

    avrdude: ser_drain(): read error: The handle is invalid.

    avrdude: ser_send(): write error: sorry no info avail
    avrdude: stk500_send(): failed to send command to serial port
    avrdude: ser_recv(): read error: The handle is invalid.

    avrdude: stk500v2_ReceiveMessage(): timeout
    avrdude: ser_send(): write error: sorry no info avail
    avrdude: stk500_send(): failed to send command to serial port
    avrdude: ser_recv(): read error: The handle is invalid.

    avrdude: stk500v2_ReceiveMessage(): timeout
    avrdude: ser_send(): write error: sorry no info avail
    avrdude: stk500_send(): failed to send command to serial port
    avrdude: ser_recv(): read error: The handle is invalid.

    avrdude: stk500v2_ReceiveMessage(): timeout
    avrdude: ser_send(): write error: sorry no info avail
    avrdude: stk500_send(): failed to send command to serial port
    avrdude: ser_recv(): read error: The handle is invalid.

    avrdude: stk500v2_ReceiveMessage(): timeout
    avrdude: ser_send(): write error: sorry no info avail
    avrdude: stk500_send(): failed to send command to serial port
    avrdude: ser_recv(): read error: The handle is invalid.

    avrdude: stk500v2_ReceiveMessage(): timeout
    avrdude: ser_send(): write error: sorry no info avail
    avrdude: stk500_send(): failed to send command to serial port
    avrdude: ser_recv(): read error: The handle is invalid.

    avrdude: stk500v2_ReceiveMessage(): timeout
    avrdude: stk500v2_getsync(): timeout communicating with programmer
    the selected serial port avrdude: stk500v2_getsync(): timeout communicating with programmer
    does not exist or your board is not connected

    This report would have more information with
    “Show verbose output during compilation”
    option enabled in File -> Preferences.

    #20435
    Profile photo of sempul
    sempul
    Participant

    ok i fixed that. and it was such a stupid error i dont want to comment on it…….

    #20436
    Profile photo of sempul
    sempul
    Participant

    So back to the new firmware that i know and love but also back to :

    Arduino: 1.6.11 (Windows 7), Board: “Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)”

    In file included from sketch\ConfigurationStore.cpp:65:0:

    sketch\language.h:65:0: warning: “MACHINE_NAME” redefined

    #define MACHINE_NAME CUSTOM_MENDEL_NAME

    ^

    sketch\language.h:61:0: note: this is the location of the previous definition

    #define MACHINE_NAME “Mendel”

    ^

    In file included from sketch\Marlin_main.cpp:47:0:

    sketch\language.h:65:0: warning: “MACHINE_NAME” redefined

    #define MACHINE_NAME CUSTOM_MENDEL_NAME

    ^

    sketch\language.h:61:0: note: this is the location of the previous definition

    #define MACHINE_NAME “Mendel”

    ^

    sketch\Marlin_main.cpp:2715:36: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]

    LCD_MESSAGEPGM(MACHINE_NAME” “MSG_OFF”.”);

    ^

    In file included from sketch\SdFile.h:27:0,

    from sketch\cardreader.h:8,

    from sketch\Marlin_main.cpp:44:

    SdBaseFile.h:38: error: using typedef-name ‘fpos_t’ after ‘struct’

    struct fpos_t {

    ^

    In file included from sketch\Marlin.h:10:0,

    from sketch\Marlin_main.cpp:30:

    c:\users\user\appdata\local\arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.3-arduino2\avr\include\stdio.h:950:33: note: ‘fpos_t’ has a previous declaration here

    __extension__ typedef long long fpos_t;

    ^

    exit status 1
    using typedef-name ‘fpos_t’ after ‘struct’

    This report would have more information with
    “Show verbose output during compilation”
    option enabled in File -> Preferences.

    Its so damn frustrating.

    #20439
    Profile photo of Bill
    Bill
    Participant

    Yeah that shouldn’t work as written, you likely have a mix of code releases. In language.h, line 61 it should be CUSTOM_MENDEL_NAME instead of MACHINE_NAME. It sets both both to be the static string “Mendel”. I’m guessing though that you’re much better off grabbing a new set of sources instead of trying to fix those.

    #20443
    Profile photo of sempul
    sempul
    Participant

    yep i can load the RC7_MPCNC_LCD_9916 file to get the nice LCD screen i like but if i try to load B16_32_fullG-112515 afterwards i get that error. Crazy thing is that it still prints quite well. Its just that the heated bed just runs away with the temp. there is no control from the board at all. i had to lower the pre heated bed to 5 degrees just so it will run lol.

    #20444
    Profile photo of sempul
    sempul
    Participant

    Im quite new to this so dont be to harsh but do i need B16_32_fullG-112515 after i have successfully installed RC7_MPCNC_LCD_9916?

    #20453
    Profile photo of Walter
    Walter
    Participant

    absolutely not…

    n00b

    #20492
    Profile photo of sempul
    sempul
    Participant

    anyone able to flash Vicious1 in this? I think he wanted to look it over?

Viewing 10 posts - 1 through 10 (of 10 total)

You must be logged in to reply to this topic.