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

Firmware Update #2

Closed
AlexHedley opened this issue Jul 28, 2024 · 9 comments
Closed

Firmware Update #2

AlexHedley opened this issue Jul 28, 2024 · 9 comments

Comments

@AlexHedley
Copy link

AlexHedley commented Jul 28, 2024

When in Arduino should the Board be Arduino Nano Every?

What should the baud rate be (9600)?

Is there a setup guide with the steps to do once you've put the device together?

@marcinsaj
Copy link
Owner

Getting started with Arduino
https://docs.arduino.cc/software/ide-v2/tutorials/getting-started-ide-v2/

  • https://www.arduino.cc/en/software - choose the version for MAC or Windows, just download and install.
  • Open Arduino IDE
  • Sketch -> Include Library -> Manage Libraries
  • In Library Manager type "FlipDisc.h" - install library
  • Open https://github.com/marcinsaj/Flipo-Clock-4x7-Segment-Flip-Disc-Display/blob/main/examples/01-Basic-Test.ino - copy code
  • File -> New Sketch - delete sample code and paste code from point 4 in this file.
  • Tools -> Board -> Arduino megaAVR Boards -> Arduino Nano Every
  • Tools -> Port -> set Arduino Nano Every port
  • Turn OFF the clock
  • Connect clock via USB
  • Sketch -> Upload
  • Wait (even 60 seconds) until you see on bottom right "Upload completed"
  • Disconnect USB cable
  • Turn ON the clock

Let me know if you need any more help.

@AlexHedley
Copy link
Author

Thanks :)

@AlexHedley
Copy link
Author

image
image
image
image

@AlexHedley
Copy link
Author

image

@AlexHedley
Copy link
Author

AlexHedley commented Jul 31, 2024

Have you come across this error before?

avrdude: jtagmkII_initialize(): Cannot locate "flash" and "boot" memories in description
avrdude: jtagmkII_reset(): timeout/error communicating with programmer (status -1)
avrdude: initialization failed, rc=-1
         Double check connections and try again, or use -F to override
         this check.

avrdude: jtagmkII_close(): timeout/error communicating with programmer (status -1)
avrdude: jtagmkII_close(): timeout/error communicating with programmer (status -1)
Failed uploading: uploading error: exit status 1

image

@AlexHedley
Copy link
Author

if you have a multimeter, I suggest checking that the display connectors are properly soldered and there are no short circuits before connecting the power supply.

@marcinsaj
Copy link
Owner

@AlexHedley check that you have selected the correct COM port.

@marcinsaj marcinsaj reopened this Jul 31, 2024
@AlexHedley
Copy link
Author

image

image
image

@marcinsaj
Copy link
Owner

marcinsaj commented Aug 1, 2024

@AlexHedley
I assume you have the latest Arduino IDE.
Remove the Arduino board from the controller.
Try upload Blink sketch. If it works, try uploading the clock code until it works.
Check if the USB cable is OK and try with another one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants