AllYarnsAreBeautiful / ayab-desktop

The AYAB Software
http://ayab-knitting.com
GNU General Public License v3.0
60 stars 31 forks source link

Error flashing the arduino #675

Closed mathPi closed 3 months ago

mathPi commented 3 months ago

When trying to flash the arduino, I have an error. In the log I have :

2024-07-10 20:48:51,026 FirmwareFlash DEBUG /usr/bin/avrdude -p atmega328p -c arduino -P /dev/ttyACM0 -b115200 -D -Uflash:w:"/home/mathieu/Documents/projects/ayab-desktop/src/main/resources/base/ayab/firmware/ayab_monolithic_uno.hex":i 2024-07-10 20:48:52,246 FirmwareFlash INFO Error flashing firmware: CalledProcessError(1, '/usr/bin/avrdude -p atmega328p -c arduino -P /dev/ttyACM0 -b115200 -D -Uflash:w:"/home/mathieu/Documents/projects/ayab-desktop/src/main/resources/base/ayab/firmware/ayab_monolithic_uno.hex":i ') 2024-07-10 20:48:52,246 root DEBUG MessageBox error: 'Error flashing firmware.'

After checking, this file .hex doesn´t exists, did I miss something ?

X-sam commented 3 months ago

Which version are you using?

On Wed, Jul 10, 2024, 2:57 PM mathPi @.***> wrote:

When trying to flash the arduino, I have an error. In the log I have :

2024-07-10 20:48:51,026 FirmwareFlash DEBUG /usr/bin/avrdude -p atmega328p -c arduino -P /dev/ttyACM0 -b115200 -D -Uflash:w:"/home/mathieu/Documents/projects/ayab-desktop/src/main/resources/base/ayab/firmware/ayab_monolithic_uno.hex":i 2024-07-10 20:48:52,246 FirmwareFlash INFO Error flashing firmware: CalledProcessError(1, '/usr/bin/avrdude -p atmega328p -c arduino -P /dev/ttyACM0 -b115200 -D -Uflash:w:"/home/mathieu/Documents/projects/ayab-desktop/src/main/resources/base/ayab/firmware/ayab_monolithic_uno.hex":i ') 2024-07-10 20:48:52,246 root DEBUG MessageBox error: 'Error flashing firmware.'

After checking, this file .hex doesn´t exists, did I miss something ?

— Reply to this email directly, view it on GitHub https://github.com/AllYarnsAreBeautiful/ayab-desktop/issues/675, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABSQJ53LP44T5XUKHBXNHDDZLV72RAVCNFSM6AAAAABKVP2SXWVHI2DSMVQWIX3LMV43ASLTON2WKOZSGQYDCNBUHEYTONQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

mathPi commented 3 months ago

Hi, it is the version from the 1.0.0-dev branch.

By the way that´s an other thing but I´m just starting using Ayab: I followed the documentation to install it on ubuntu and thus, as the default git branch is 1.0.0-dev that is the version I installed. It would be great in the documentation to specify the branch the clone or a specific tag to have the latest stable version.

X-sam commented 3 months ago

Generally for folks just using the software, I'd advise grabbing the latest release from the releases page, not building from source- I suspect the oversight here in our documentation is that the desktop app repo doesn't include the firmware files, you'd have to pull them in from the firmware repo.

On Wed, Jul 10, 2024, 3:31 PM mathPi @.***> wrote:

Hi, it is the version from the 1.0.0-dev branch.

By the way that´s an other thing but I´m just starting using Ayab: I followed the documentation to install it on ubuntu and thus, as the default git branch is 1.0.0-dev that is the version I installed. It would be great in the documentation to specify the branch the clone or a specific tag to have the latest stable version.

— Reply to this email directly, view it on GitHub https://github.com/AllYarnsAreBeautiful/ayab-desktop/issues/675#issuecomment-2221272445, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABSQJ526N5CAPHGCDWRC7FDZLWDYXAVCNFSM6AAAAABKVP2SXWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMRRGI3TENBUGU . You are receiving this because you commented.Message ID: @.***>

mathPi commented 3 months ago

Ohhh ok I understand, so the documentation should be updated ? I just followed it.

dl1com commented 3 months ago

Ohhh ok I understand, so the documentation should be updated ? I just followed it.

Yes, thanks for pointing that out. The documentation should be improved to reflect this use case.

X-sam commented 3 months ago

closing as addressed