Cant Upload Firmware to Mks Gen L
MKS GEN L upshot uplading firmware
Hi everyone! I would really appreciate your assist!
I am not programmer, I just follow guides and try to make the all-time of it.
I bought an MKS GEN 50 v1.0 board in guild to supervene upon the old motherboard of my Ender three 3d-printer. Information technology was supposed to have a bootloader, so the job seemed piece of cake. However, when I tried to upload Marlin on information technology, I got the following message:
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
All parameters are correct: lath (Arduino Mega), processor (ATMegaA 2560), COM port (COM5, programmer (AVRIS mkll) etc.
I then tried a different pc. Same matter happened.
Then i establish a method where I would upload a new bootloader, using an Arduino Uno and the Nick Gammon'south Atmega_Board_Programmer. That went well, and the new bootloader seemed to load correctly on the MKS. The I connected the usb cable to the MKS and retried to upload Marlin. Same bulletin: avrdude: stk500v2_ReceiveMessage(): timeout. When ArduinoIDE finishes compiling and tries to upload, a blueish led lite on the board turns on, and after each timeout, it turns off.....
I am at loss.. I am starting to believe that there is something wrong with the usb port of the board. Is in that location whatever way that I endeavor to upload the firmware via the Arduino?
Thank you all....
I'm getting this fault when trying to build by pio.
when trying to build 'manually' i'm seeing an LPC1768 Environment error - I need some help to become around this plz.
whatsoever help will be greatly appreciated
Attachments:
open | download - לכידה.PNG (ix.ix KB)
I tin can't get effectually it and i'grand not sure whats causing it, I set the env to a LPC1768 and board to GEN_L,
why am i nonetheless getting this error?
Edited one time(s). Concluding edit at 04/01/2019 04:38AM by Of3d.
Attachments:
open up | download - LPC1768 env ERROR.png (63.1 KB)
Right, start obstruction been passed - had to add together to Marlin-bugfix-ii.0.10/.pioenvs/LPC1768 new file firmware.bin,
now i'grand left only with env LPC1768 Error,
any thoughts?
Attachments:
open | download - LPC1768 Mistake.png (119.seven KB)
MKS Gen_L is non a LPC1768 based controller it is a mega2560 based controller.
thanks
PLEASE HELP...
I'g getting this aforementioned "timeout" fault. I take an Anet A6 with an Anet v1.5 board. The board came without a bootloader so I flashed the board with a USBisp and was able to upload Marlin 1.1.9. I recently purchased a RepRapDiscount total graphic smart controller, when I went in to Arduino IDE to comment everything thing in and reflash, that's when I become the mistake...
avrdude: stk500v2_ReceiveMessage(): timeout
Just like the OP states. I've tried everything! I can't flash anything to my lath, even my original settings. The weird thing is, I know it communicated with my board considering my original Anet 2004 LCD changed the "icons" for my TEMP read out. Another weird matter is, I originally tried uploading with my board fix as "Anet v1.0(optiboot)" because I had to originally upload a bootloader, but the IDE ever transport an error "oops make sure y'all choose Arduino MEGA for your board. When I switch the board to Arduino MEGA the IDE tries to upload the firmware but comes back with the "timeout" mistake. I've even tried flashing the firmware via the USBisp and the same happens. Luckily the printer nevertheless prints so I simply gave upward until I tin get some feedback hither. I'm honestly at the signal where I'thou set to merely purchase the Anet 12864 LCD considering I notwithstanding accept to reconfigure the ribbons that came with the RepRapDiscount to get in compatible with the Anet v1.5 board. Any insight would be greatly appreciated, thanks all...
@Airtight33
Fairly sure that is a atmega1284p processor... not Arduino MEGA2560
Setting to a board of MEGA also sets the upload baud rate and protocol to
Mega.carte du jour.cpu.atmega2560.upload.protocol=wiring
mega.menu.cpu.atmega2560.upload.speed=115200
What upload protocol and baud charge per unit your boot loader needs depends on what bootloader you installed
a standard anet aboard needs
anet.upload.protocol=arduino
anet.upload.speed=57600
and 1 with optiboot needs
aneto.upload.protocol=arduino
aneto.upload.speed=115200
These are prepare in boards.txt files, not related to baud rates you tin can fix anywhere.
To me it sounds more than like yous have mucked upward the configuration.h you have to set your motherboard to BOARD_ANET_10 then in arduino IDE set the board to Anet v1.0(optiboot)
Edited 3 time(s). Last edit at 06/09/2019 11:02AM past Dust.
Cheers for the reply Dust... I'm sure that somewhere forth the way I deffinately mucked something upwardly. My baud rate is right and oddly, now when I try flashing, Arduino allows me to select the Anet V1.0(optiboot) option in "boards" and information technology will compile everything. However, when I click upload its now coming back with an mistake saying, "access to COM4 is denied".
When I got that error I downloaded Repetier Host to run across if i could communicate with the printer at all. When I try to connect the host software I get the same mistake, "admission to COM4 port is denied". I'm not exactly sure why. Then I went into my devices and removed the printer from my figurer so I could reinstall it. Later on the reinstall I was able to connect to the printer through Repetier Host although I couldn't control the printer, nor wast the printer sending it'due south info to my computer.
I went back into Arduino IDE and tried to flash again. I got the same admission denied error and when I went dorsum to Repetier Host I could no longer connect my computer to the printer (admission to COM4 is denied).
I'one thousand guessing that my easiest pick is to buy a new motherboard, I wouldnt mind upgrading to the 1.7 version anyhow as it has a fuse and the pins will piece of work correctly with the RepRapDiscunt 12864LCD.
Access denied is just windows being a arsehole (what it does best)
run arduino ide equally ambassador
Yup, that was the problem. I ended upward getting a new board anyway merely for the added condom of the fuse and was having the same issue with the V1.seven board. It came to me bricked and when I tried to upload the bootloader same thing. I ended up bypassing the COM and just using my USBISP, but have since gone dorsum and run as Admin and was able to connect. Thanks for your aid and time Dust, I truly appreciate it!
mcdonnellfromight.blogspot.com
Source: https://reprap.org/forum/read.php?146,849409
0 Response to "Cant Upload Firmware to Mks Gen L"
Post a Comment