Skip to content

Clarify/ Update Instructions for Ubuntu #5

@thetoivonen

Description

@thetoivonen

The test sketch that came on the device works as expected, and the device passes the tests. I cannot upload any other sketches.

According to the README:

Flash the binary directly or via Arduno IDE sudo bossac --port=ttyUSB0 -e -w -v -b /tmp/CANFDuino_Test500kb.ino.CANFDuino.bin

After placing the downloaded bossa binary in the folder as instructed and restarting the arduino IDE:

Upload fails with:
No device found on ttyUSB0 Failed uploading: uploading error: exit status 1

Using the bossac1.7.0 binary for manual upload fails with:
sudo ./bossac --port=ttyUSB0 -e -w -v -b ~/Desktop/CANFDuino_SavvyCAN.ino.bin
No device found on ttyUSB0

Using bossac1.9.1 compiled locally fails with:
sudo ./bossac --port=ttyUSB0 -e -w -v -b ~/Desktop/CANFDuino_SavvyCAN.ino.bin
Device unsupported

Trying to set the port speed before uploading does not help:
sudo stty -F /dev/ttyUSB0 1200; sudo ./bossac --port=ttyUSB0 -e -w -v -b ~/Desktop/CANFDuino_SavvyCAN.ino.bin
No device found on ttyUSB0

It seems that the device is going back to a baud rate of 115200 before the upload can complete.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions