Cannot compile firmware, trying to follow a guide.

Im trying to flash my Davinci 2.0 by following this video:



As directed I have downloaded the files directly from the links posted in the video description.

Repetier .92 master

and Arduino 1.5.8 beta.


Where things go south is at 3:15

Where he says to go to 
Repetier-Firmware-0.92-master\src\ArduinoDUE\AdditionalArduinoFiles  and click on the folder 1.5.8 and copy the hardwire folder.

There is no 1.5.8 folder.     Just Arduino - 1.6.9 -Due 1.6.8 and Horus-0.2rc1

there is a hardware folder buried a few directories deeper so I tried just copying that one and following the rest of the tutorial but as i feared it does not work

When I open the repetier firmware file in Arduino, it will not compile,  even if I leave it "stock" it wont compile.  

I get the following error.

Arduino: 1.5.8 (Windows 8), Board: "Arduino Due (Native USB Port)"

In file included from Repetier.h:572:0,
                 from BedLeveling.cpp:107:
HAL.h: In static member function 'static void HAL::serialSetBaudrate(long int)':
HAL.h:684:14: error: 'class UARTClass' has no member named 'setInterruptPriority'
       Serial.setInterruptPriority(1);
              ^
Error compiling.



I'm using Windows 10 64bit of that matters.


Any help is greatly appreciated, my 2 week old printer is a brick at this point  :(

 

Comments

  • UPADTE


    Ok so I opteed to follow the guide 

    here

    https://github.com/luc-github/Repetier-Firmware-0.92

    everything went as specified, the flash went through as it should.

    then the last message was that it was rebooting CPU..  then I started getting error messages from windows that the USB device has malfunctioned.

    the printer is no longer recognized.  if I plug it in I just get a continous stream of windows meaages  "the last usb device you have connected has malfunctioned"


    Thats it, thats all I get, over and over

    printer still has just the 2 black bars.
  • jumped 37 and started over.

    it flashes in about 40 seconds then verifies the flash

    verify successful

    CPU reset.  then nothing..


    powercycle the printer and Im back to the constant error messages.


    the one part that I may be screwing up is step 4

    "Update variants.cpp arduino file with the one present in src\ArduinoDUE\AdditionalArduinoFile according your IDE version"

    the variant file is located at:

    C:Desktop\Repetier-Firmware-0.92-master\src\ArduinoDUE\AdditionalArduinoFiles\Arduino - 1.6.9 -Due 1.6.8\Arduino15\packages\arduino\hardware\sam\1.6.8\variants\arduino_due_x


    But im not fully sure where to place that fine in the arduino program group, as I cannot find a variant.cpp file anywhere in its folder(s)

    what am I missing?

  • Well this isnt looking too prmosing.............
  • Ok i actually got it, it was windows screwing me 

    anyway, it seems to be working  EXCEPT, no picture on the screen...  

    I noticed in config it says:

    //Davinci screen is not standard reprap it is WINSTAR 16x4
    #if DAVINCI==0
    #define WINSTAR_SCREEN 0
    #define WINSTAR_SCREEN 1
    #endif

    I dont know exactly how to interpret that, or what i should chance..
  • Maybe you should try this fork especially for davinci printers:


  • That is what I am running.

    The screen does not work and neither does the extruder heaters. 

    The bed heats  but the extruders do not heat, i instead get:


     """"Error:One heater seems decoupled from thermistor - disabling all for safety!"""

    Considering the printer is a week old and functioned perfectly until loading this firmware, I really doubt its a hardware issue.


Sign In or Register to comment.