SDSS error when verifying Firmware

Hi, I'm getting an SDSS error message when verifying firmware in Arduino, from the Repetier firmware tool. I have tried several different settings using the tool, but each time the same error message is coming up:

  Arduino: 1.6.7 (Windows 10), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"

In file included from sketch\HAL.h:83:0,

                 from sketch\Repetier.h:451,

                 from C:\Users\SteveLaptop\Dropbox\Steve\engineering machines\3d printer P802M V.03\Repetier-Firmware-5keys\Repetier-Firmware\Repetier\Repetier.ino:144:

pins.h:954: error: pasting "/* 31 http://reprap.org/wiki/Melzi#Melzi_Arduino_Pin_Numbers says 31, schamtic show pin 37 = PA0 which is arduino pin 31!*/" and "_DDR" does not give a valid preprocessing token

 #define SDSS               31 // 31 http://reprap.org/wiki/Melzi#Melzi_Arduino_Pin_Numbers says 31, schamtic show pin 37 = PA0 which is arduino pin 31!

                               ^

sketch\fastio.h:36:39: note: in definition of macro '_SET_OUTPUT'

 #define  _SET_OUTPUT(IO)  do {DIO ##  IO ## _DDR |=  MASK(DIO ## IO ## _PIN); } while (0)

                                       ^

sketch\HAL.h:609:9: note: in expansion of macro 'SET_OUTPUT'

         SET_OUTPUT(SDSS);

         ^

sketch\HAL.h:609:20: note: in expansion of macro 'SDSS'

         SET_OUTPUT(SDSS);

                    ^

pins.h:954: error: pasting "/* 31 http://reprap.org/wiki/Melzi#Melzi_Arduino_Pin_Numbers says 31, schamtic show pin 37 = PA0 which is arduino pin 31!*/" and "_PIN" does not give a valid preprocessing token

 #define SDSS               31 // 31 http://reprap.org/wiki/Melzi#Melzi_Arduino_Pin_Numbers says 31, schamtic show pin 37 = PA0 which is arduino pin 31!

                               ^

sketch\fastio.h:36:66: note: in definition of macro '_SET_OUTPUT'

 #define  _SET_OUTPUT(IO)  do {DIO ##  IO ## _DDR |=  MASK(DIO ## IO ## _PIN); } while (0)

                                                                  ^

sketch\HAL.h:609:9: note: in expansion of macro 'SET_OUTPUT'

         SET_OUTPUT(SDSS);

         ^

sketch\HAL.h:609:20: note: in expansion of macro 'SDSS'

         SET_OUTPUT(SDSS);

                    ^

exit status 1
pasting "/* 31 http://reprap.org/wiki/Melzi#Melzi_Arduino_Pin_Numbers says 31, schamtic show pin 37 = PA0 which is arduino pin 31!*/" and "_DDR" does not give a valid preprocessing token

  This report would have more information with
  "Show verbose output during compilation"
  enabled in File > Preferences.

I have a P802M kit printer with a Melzi board and lcd display with the five buttons. I have also tried using the firmware that was posted here in post http://forum.repetier.com/discussion/1105/melzi-v2-0-with-lcd2004-and-5-keys
And had exactly the same error message. Unfortunately, coding is not my thing, even though I do understand a little about it. The reason I am wanting to change the firmware is to allow higher extruder and plate temperatures to print with PC-ABS. As you might know the vendor firmware installed is limited to 260 C where I need at least 280 - 290C. (on that note, my hot end has been modified to handle higher temps). The printer works fine with PLA, but has only managed to do one small ABS (standard) print, and seemed to have trouble holding a preset temp of 245C, varying from 228 to 247C. I know this could also be a heater issue, and I'm not sure if it's a 12V 30W or 40W heater
So, if anyone is willing to take up the challenge I can dropbox the firmware for you to look at. Cheers!

Comments

  • Try removing the comment after 31 in pins.h That arduino version introduced a new weird behavior of keeping comments making the fastio name mangling impossible. I thought I had catched all comments but maybe forgot that one.
  • Okay, it cleared that error and gave me another:

    Arduino: 1.6.7 (Windows 10), Board: "Arduino/Genuino Uno"

    sketch\libraries\twi.c:1:17: fatal error: twi.c: No such file or directory

     #include <twi.c>

                     ^

    compilation terminated.

    exit status 1
    Error compiling.

      This report would have more information with
      "Show verbose output during compilation"
      enabled in File > Preferences.

    I found another post where someone has got the same error and it seems to be something to do with this version of Arduino and the library. The only difference is that I'm using windows 10 and they were on linix or mac. I believe they renamed a file? It wasn't clear what too or which one.

    And thanks for the help. (I'm a mechanical engineer, not an IT engineer. Would be helpful to be both sometimes. :) Cheers 
  • That is another new problem introduced by arduino ide. And it shows you are using an old version of the firmware. You need latest 0.92.8 to compile with the latest ide. That version has work arounds for all newly introduced problems. Moreover you even need to restart arduino and install new sources to a new folder since it contains a different directory structure. 
  • Cool thanks. I'll uninstall it completely and start from scratch with the new version. Thanks again.
  • I have reinstalled Arduino and updated libraries. Filled in the firmware 92.8 and saved. Ran through IDE no problems, no errors.

    To anyone else reading:
    I have also thrown the Melzi board into the (Rubbish!) BIN, added a 400W PSU (12V @ 33A) and fitted a Arduino with Ramps 1.4. and screen for about $80 AU. Uploaded the firmware, tested it, awesome.
    Best decision ever...
    Cheers.
  • Where would I get v 92.8 of the firmware? I am having the same problem(s). Thanks.
  • That si the verion you get from online tool 0.92 or master tree on github.
Sign In or Register to comment.