B4R Question [Solved] What's the issue with this Nano thing?

Beja

Expert
Licensed User
Longtime User
Port is ok.. it shows in device manager, board: one pin is blinking yellow and another steady green, but I always see the following error when
trying to upload the blink example for testing:
from Arduino IDE:
the error is: avrdude: jtagmkII_initialize(): Cannot locate "flash" and "boot" memories in description

And from B4R the error is:

System wide configuration file is:
"C:\.........\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf"
Using Port : COM7
Using Programmer : arduino
Overriding Baud Rate : 115200
avrdude: ser_open(): can't open device "\\.\COM7": Access is denied.
avrdude done. Thank you.
Failed uploading: uploading error: exit status 1

Any help appreciated
 

Cableguy

Expert
Licensed User
Longtime User
what board is it? does it have buttons on it? some boards need you to press a button while updating (flashing) new code
 
Upvote 0

Beja

Expert
Licensed User
Longtime User
what board is it? does it have buttons on it? some boards need you to press a button while updating (flashing) new code
It's genuine Arduino Nano. it has a reset button at the front middle. will try that hopefully it works
 
Upvote 0

Cableguy

Expert
Licensed User
Longtime User
try this:
 
Upvote 0

Beja

Expert
Licensed User
Longtime User
Thanks but this thing is going no where.. I used the blink example that comes with Arduino IDE and run it from the IDE.
This is the same error:
ErrorEXIT1.png
 
Upvote 0

Cableguy

Expert
Licensed User
Longtime User
maybe this one...
 
Upvote 0

Beja

Expert
Licensed User
Longtime User
Solved!
Thanks Cableguy for the sincere efforts


Uploading to UNO R3 fails: "exit status 1"

In Arduino IDE...
  1. Select File > Preferences... ...
  2. Uncheck the box next to Show verbose output during: ☑ compilation in the "Preferences" dialog.
  3. Check the box next to Show verbose output during: ☐ upload.
  4. Click the "OK" button.
 
Upvote 0

Beja

Expert
Licensed User
Longtime User
What I don't understand is that Arduino Nano is working under Arduino IDE without any problem.
 
Upvote 0

RJB

Active Member
Licensed User
Longtime User
Yes I was getting that.
I think it's because B4R hasn't been updated to work with the V2 Arduino IDE yet.
I haven't seen any ETA for the B4R update yet.
 
Upvote 0

Beja

Expert
Licensed User
Longtime User
After conducting more search I came at this solution by Erel, and it finally worked! Thanks boss. All thumbs up!
 
Upvote 1

RJB

Active Member
Licensed User
Longtime User
So working with Arduino IDE version 1.8.15 then?
Hopefully B4R will be updated soon.
 
Upvote 0

Beja

Expert
Licensed User
Longtime User
B4R code is working with Arduino Nano like a charm.. one just needs to set the right parameters for the board.
 
Upvote 0
Top