Notifications
Clear all

Prusa Firmware compiling error  

  RSS
michael.k72
(@michael-k72)
New Member
Prusa Firmware compiling error

Hello,
i tried to compile the Prusa MK2S 3.1.0 Firmware manually.
I downloaded the Arduino IDE and the Source Code form Prusa.
The first time everything was working, but after that all i get after updating is:
avrdude.exe: AVR device initialized and ready to accept instructions Reading | ################################################## | 100% 0.01s avrdude.exe: Device signature = 0x1e9801 (probably m2560) avrdude.exe: reading input file "./fw.hex" avrdude.exe: input file ./fw.hex auto detected as Intel Hex avrdude.exe: writing flash (251074 bytes): Writing | ################################################## | 100% 42.13s avrdude.exe: 251074 bytes of flash written avrdude.exe: verifying flash memory against ./fw.hex: avrdude.exe: load data flash data from input file ./fw.hex: avrdude.exe: input file ./fw.hex auto detected as Intel Hex avrdude.exe: input file ./fw.hex contains 251074 bytes avrdude.exe: reading on-chip flash data: Reading | ################################################## | 100% 30.25s avrdude.exe: verifying ... avrdude.exe: verification error, first mismatch at byte 0x3c000 0x00 != 0x08 avrdude.exe: verification error; content mismatch avrdude.exe done. Thank you.

I try to change the motor current, because i want to test some motors, so i first tried M907 command with octoprint and everything was fine.

I hope somebody can compile the Prusa Firmware with this parameter in Configuration_prusa.h for me, or can help me to do it by myself:
#define DEFAULT_PWM_MOTOR_CURRENT {500, 990, 500} // {XY,Z,E}
#define DEFAULT_PWM_MOTOR_CURRENT_LOUD {700, 1500, 700} // {XY,Z,E}

Best Regards

Napsal : 22/05/2018 10:17 pm
sasha.z
(@sasha-z)
Trusted Member
Re: Prusa Firmware compiling error

That's not a compile error, that's a flash error. Are you sure you compiled for the correct part number of CPU? It's possible that the image you're trying to burn is too big.

Napsal : 27/05/2018 5:05 am
michael.k72
(@michael-k72)
New Member
Topic starter answered:
Re: Prusa Firmware compiling error


That's not a compile error, that's a flash error. Are you sure you compiled for the correct part number of CPU? It's possible that the image you're trying to burn is too big.

Thank you for your answer.

I think I always used the right file, but after flashing, the LCD only shows white squares and only works again after I flashed the original FW

Napsal : 02/06/2018 6:22 pm
BillC
(@billc)
Reputable Member
Re: Prusa Firmware compiling error

Michael,

For future use you really need to consider Sasha's question. Do you have a Rambo10 or 13 board? Did you download the correct version of the firmware to match that board?

Small detail but very important.

Cheers,

Bill
Tagaytay City, Philippines
Founder member of Philippines Prusa Printer Owners FB Group
Sponsor Pillars of God Academy in Bacoor

Napsal : 03/06/2018 6:35 pm
michael.k72
(@michael-k72)
New Member
Topic starter answered:
Re: Prusa Firmware compiling error


Michael,

For future use you really need to consider Sasha's question. Do you have a Rambo10 or 13 board? Did you download the correct version of the firmware to match that board?

Small detail but very important.

Cheers,

Yeah, i think so.
Rambo13
okay, next weekend, i will try that again and post the results

Thank you

Napsal : 03/06/2018 9:50 pm
sasha.z
(@sasha-z)
Trusted Member
Re: Prusa Firmware compiling error

What steps did you use to compile, and what Configuration_prusa.h did you use? I assume you used the Arduino IDE. Under tools->boards, what did you select?

Napsal : 04/06/2018 3:27 am
Share: