Hi Ptillisch,
i am soon embarking on the cmd sets from the command line journey with Arduino 1.8.19 IDE build and the NaNO Every Board.
The lab is 50 miles away and if something doesnt work i will have to do back and forth w/external laptop location. Hence, i wanted a short review of the cmd sets u gave me summarized below here again.(i will use 1.8.19 IDE build)
1st cmd set:
C:\Users\per\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/bin/avrdude" - I will modify this cmd as below - as it depends on the location of the avrdude.exe file in my installation.
C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avrdude" - pls confirm that this format is ok...the location of my avrdude.exe file is correct and i confirm that from my side
2nd Cmd Set
"-CC:\Users\per\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf" -v -V -patmega4809 -cjtag2updi -PCOM3 -b115200 -e -D
i will mod the 2nd cmd to as below:
"-C:\Program Files (x86)\Arduino\hardware\tools\avr\etc\avrdude.conf" -v -V -patmega4809 -cjtag2updi -PCOMx
-b115200 -e -D
Ignore the PCOMx as i will replace the x with the port no on which the baord is connected on my laptop, pls confirm 2nd set cmd correctness
3rd Cmd
"-Uflash:w:C:\Users\per\AppData\Local\Temp\arduino\sketches\ED79B99528583AD0C18881A9CAAE83AD/sketch_may23a.ino.hex:i" "-Ufuse2:w:0x01:m" "-Ufuse5:w:0xC9:m" "-Ufuse8:w:0x00:m" {upload.extra_files}
i will modify this cmd as below:
"-Uflash:w:C:\Users\VijayMargret\OneDrive\Documents\Arduino\2WPUpgradeDemo\2WPUpgradeDemo.ino.nona4809.hex:i" "-Ufuse2:w:0x01:m" "-Ufuse5:w:0xC9:m" "-Ufuse8:w:0x00:m"
I have few questions for this command below
- the path to my sketches .hex file in the cmd is updated for my installation. Confirmed from my side
- i want to confirm that the 3 Ufuse settings ur using in this 3rd CMD will not fuse/burn any security fuse in the 4809 uC. bcos i need to use that board for multiple development projects and do not want to render the board permanently locked up for any future uploads onto the nano every board.
looking for ur expert review and confirmation of any mods or freeze on the 3 cmds set soon.
Then i will be ready to upload in the lab computer
i will follow the below instructions as per ur note above on the lab computer b4 issuing from cmd line
Arduino IDE automatically puts the board into that mode. This is done by momentarily opening the serial port of the board with the port configured at 1200 baud. The board recognizes this as a signal to go into the upload mode.
Since you are already using Arduino IDE, it can be used for this purpose:
- Open Serial Monitor.
- Select "1200" from the baudrate menu in Serial Monitor.
- Close Serial Monitor.
- Run the upload command from the command line.
Thanking You
Ben