Skip to content

AVR baud rate error with Arduino Mega #70

@notkevinjohn

Description

@notkevinjohn

I am trying to use the CLI to upload code to an Arduino Mega. It complains that:
avrdude: invalid baud rate specified '{upload.speed}'

I am wondering if maybe the FQBN I am getting (arduino:avr:mega) might still have some kind of place holder text when trying to resolve the appropriate baud rate? How can I investigate what the baud rate being specified for this FQBN is?

Here is the command I am executing:
arduino upload -p /dev/ttyACM0 --fqbn arduino:avr:mega ~/Arduino/HelloWorld/

The board seems to be successfully recognized when searched for:

arduino board list
FQBN                    Port            ID              Board Name
arduino:avr:mega        /dev/ttyACM0    2341:0042       Arduino/Genuino Mega or Mega 2560

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions