Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flashing Issues #255

Open
pearson opened this issue Jun 20, 2021 · 3 comments
Open

Flashing Issues #255

pearson opened this issue Jun 20, 2021 · 3 comments
Labels
bug Something isn't working

Comments

@pearson
Copy link

pearson commented Jun 20, 2021

I'm having difficulties flashing v1.5.6 to my MaxMix device. The two issues I'm writing about here are probably unrelated, but I'm not certain.

I'm hoping someone might have some insight into these two problems. Ideally, I'd like to fix the problem with my existing MaxMix, but the problem with the new Arduino Uno might be a problem with OEM Arduino Unos to be solved for the Firmware Installer.

Flashing a new Arduino Nano (Elegoo brand with CH340)

  • I can flash this board with the Arduino IDE if I build the project myself
  • If I use the firmware installer, or if I build / flash the project with VSCode / PlatformIO, I get "programmer is not responding" errors from avrdude
Click here for full firmware installer log
Downloading version 1.5.6 ...
Installing file C:\Users\Chris\AppData\Local\Temp\Maxmix.1.5.6.hex to COM5

avrdude.exe: Version 6.3-20171130
             Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
             Copyright (c) 2007-2014 Joerg Wunsch

             System wide configuration file is "C:\Users\Chris\AppData\Roaming\Ruben Henares\Maxmix\FirmwareInstaller\Resources\avrdude.conf"

             Using Port                    : COM5
             Using Programmer              : arduino
             Overriding Baud Rate          : 57600
avrdude.exe: stk500_recv(): programmer is not responding
avrdude.exe: stk500_getsync() attempt 1 of 10: not in sync: resp=0x46
avrdude.exe: stk500_recv(): programmer is not responding
avrdude.exe: stk500_getsync() attempt 2 of 10: not in sync: resp=0x46
avrdude.exe: stk500_recv(): programmer is not responding
avrdude.exe: stk500_getsync() attempt 3 of 10: not in sync: resp=0x46
avrdude.exe: stk500_recv(): programmer is not responding
avrdude.exe: stk500_getsync() attempt 4 of 10: not in sync: resp=0x46
avrdude.exe: stk500_recv(): programmer is not responding
avrdude.exe: stk500_getsync() attempt 5 of 10: not in sync: resp=0x46
avrdude.exe: stk500_recv(): programmer is not responding
avrdude.exe: stk500_getsync() attempt 6 of 10: not in sync: resp=0x46
avrdude.exe: stk500_recv(): programmer is not responding
avrdude.exe: stk500_getsync() attempt 7 of 10: not in sync: resp=0x46
avrdude.exe: stk500_recv(): programmer is not responding
avrdude.exe: stk500_getsync() attempt 8 of 10: not in sync: resp=0x46
avrdude.exe: stk500_recv(): programmer is not responding
avrdude.exe: stk500_getsync() attempt 9 of 10: not in sync: resp=0x46
avrdude.exe: stk500_recv(): programmer is not responding
avrdude.exe: stk500_getsync() attempt 10 of 10: not in sync: resp=0x46

avrdude.exe done.  Thank you.

Flashing the existing Arduino Nano (Elegoo brand with CH340) in my MaxMix

This problem looks similar, but it probably isn't.

  • Attempts to flash the device with any of the Arduino IDE, the firmware installer, or VSCode / PlatformIO fail with "programmer is not responding" errors
    • The errors go past with no delay, while with the new Arduino Nano there was a timeout delay between each attempt message. To me, this suggests a different problem here than with the new Arduino Nano.
  • The MaxMix works correctly even though I can't flash this device
    • It appears that the interface is working but the device does not get put into flash mode

Other notes

  • The correct COM port is in use, as there is only one COM port on this PC at the moment
  • MaxMix software is closed before attempting to flash
  • I've tried flashing both Arduno Unos with "Use old bootloader" on and off
@pearson pearson added the bug Something isn't working label Jun 20, 2021
@quadbyte
Copy link
Collaborator

quadbyte commented Jun 20, 2021

Not sure what would cause this...

When you say Uno, I guess you meant Nano ?

From my experience, the Elegoos are using the new bootloader, So always uncheck "Use old bootloader"
Also make sure with Task Manager that Maxmix is closed, even though there is no Maxmix icon in the tray.
You could maybe try to install the latest version of the CH340 driver from there : https://maxmixproject.com/uploads/CH341SER.zip

@quadbyte
Copy link
Collaborator

If you're stuck I advise you join our discord server.

@samgaudr
Copy link
Contributor

samgaudr commented Jul 4, 2021

Had a similar issue with a clean Windows install and Elegoo nano. Installing the CH340 drivers manually made the device discoverable by the firmware installer and then I could flash the MaxMix successfully.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants