Bootloader not needed

ok, I have spent pretty much time reading and trying to send a sketch to
a bare 328 stand alone on breadboard (after engaging a new board) using a uno as programmer.
No luck.
then i tried to a nano. Same luck , different message.

What I do (last) is :

1 load a uno with isp. “done uploading”.
2 disconnect usb. close IDE. Connect pins 10-11-12-13 to 10-11-12-13 of nano, plus +, -.
3 reconnect usb. Open IDE. use port -unoport, board -nano. Open sketch.
4. Upload using programmer

message
Sketch uses 974 bytes (3%) of program storage space. Maximum is 30720 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 2039 bytes for local variables. Maximum is 2048 bytes.
An error occurred while uploading the sketch

Tried rst-rst connections (instead of 10-10) no luck

The objective is that I need a fast start (<70msec) and I hope it can be achieved with no bootloader.
Any help is welcome

demkat1:
Connect pins 10-11-12-13 to 10-11-12-13 of nano, plus +, -.

There's your error. That's not how it's shown. 10 needs to go to the reset of the Arduino to program.

It also states to add a cap between GND and reset on the ArduinoISP/programmer. Although this seems not to be a problem with later versions of the IDE but I've never tested it without.
ArduinoISP

Thank you
I restore the connection as should and placed the capacitor, but still nothing.
Error message has changed to "sigature not recognised" or something like that (I cant say exactly because all setup is removed now).

Nano board must have problem. Does not any more upload any sketch (directly) correctly although IDE says "done uploading".
But the same happens also on standalone 328 on breadboard (???)

AND/OR uno must have problem as ISP.

(if something is wrong EVERYTHING is wrong)

Devil is in the details so exact error message is useful.

I would just start over again once more step by step and if you have an error, post the complete error here.

BUT, the bare chip may have the wrong fuses set so it only accepts high voltage programming but that's not the default for a new chip.

Now I started over again and I know what is working and what not, I have :
1 one arduino uno loaded with blink through arduino IDE, so it is generally working
2 one 328 microC, loaded with blink through arduino IDE (it was placed on above mentioned uno board), so it is generally working too.
3 one arduino nano loaded with blink through arduino IDE, so i believe it makes 3 of them.

What I want is : "upload" a sketch (for example "blink") to microC OR nano and after this upload, the target have ONLY "blink code" *****NO bootloader.

If I am a little more clear now ... thank u

ok, this is the verbose output


Using Port : COM7
Using Programmer : stk500v1
Overriding Baud Rate : 19200
AVR Part : ATmega328P
Chip Erase delay : 9000 us
PAGEL : PD7
BS2 : PC2
RESET disposition : dedicated
RETRY pulse : SCK
serial program mode : yes
parallel program mode : yes
Timeout : 200
StabDelay : 100
CmdexeDelay : 25
SyncLoops : 32
ByteDelay : 0
PollIndex : 3
PollValue : 0x53
Memory Detail :

Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack


eeprom 65 20 4 0 no 1024 4 0 3600 3600 0xff 0xff
flash 65 6 128 0 yes 32768 128 256 4500 4500 0xff 0xff
lfuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
hfuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
efuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
lock 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
calibration 0 0 0 0 no 1 0 0 0 0 0x00 0x00
signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00

Programmer Type : STK500
Description : Atmel STK500 Version 1.x firmware
Hardware Version: 2
Firmware Version: 1.18
Topcard : Unknown
Vtarget : 0.0 V
Varef : 0.0 V
Oscillator : Off
SCK period : 0.1 us

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.02s

avrdude: Device signature = 0x000000 (retrying)

Reading | ################################################## | 100% 0.02s

avrdude: Device signature = 0x000000 (retrying)

An error occurred while uploading the sketch
Reading | ################################################## | 100% 0.02s

avrdude: Device signature = 0x000000
avrdude: Yikes! Invalid device signature.
Double check connections and try again, or use -F to override
this check.

avrdude done. Thank you.


Does it "show" any solution?

Alright, 3 working micros.

I don't know if it;s the solution but uhm

  Using Programmer              : stk500v1

If you want to use the ArduinoISP as a programmer you have to select that as the programmer form the Tools menu as a programmer.

I have selected "arduino as ISP"

Ahh, yeahh. I think that’s the right one. I’m always confused since they made a board called ArduinoISP which just to be what the Arduino as ISP was called (and the sketch still is). Arggggggg, hate things like that…

But 00000 seems like no answer from the device… Can you make a picture of the setup? And I think it’s easiest to use the Uno as a programmer for the Nano for now.

Using Programmer              : stk500v1

That's correct for using the Arduino as ISP sketch.

ok, because nano has pin 13 directly to led (not throu buffer 358 as in uno) i changed to following:
nano as programmer and uno as target.

it didnot work.
then , inspired by post above "send photo" I realised that:
On uno, pins 10-11-12-13 were used on previous project for SD. I had a flat cable ending to pinpout of SD module.
BUT
The pin out of the SD module is 10-***13-11-12.
The message "Double check connections and try again" was all the story

That was all
thank you

Great it works now! Sometimes the problem can be so obvious :stuck_out_tongue:

And indeed, pin 13 going to a led never gave me problems. I have a jig which takes 2 Pro Mini's (one as host/programmer) so I can easily flash them to Optiboot (Uno bootloader) and that works great :slight_smile: