Hi guys
Im trying to upload the basic blink program to my mini and i get the famous "avrdude: stk500_getsync(): not in sync: resp=0x00.
Since im usinga mini i've connected its rx/tx to a uart-ttl output device (it works indepently).
Using a scope i can see that i am transmitting (the mini is recieving), but nothing the other way around. I also used the serial communicator and saw at the rx port that the transmission was good.
My cicuit is good, my reset is connected to vcc(5v) and my voltages are solid.
One more thing. After reset the LED doesnt blink. Does that mean i don't have a bootloader?
Thanks
I believe that you have checked the port, but still, will ask to recheck that.
Also, the driver may not have installed properly.
You will have to install the driver manually, by going to DEVICE MANAGER -> COM & LPT -> ARDUINO -> UPDATE DRIVER .
Try these steps:
Try these steps, before that, make sure that you have unzipped the old drivers folder, present in drivers folder of arduino install directory.
-> Plug in the device.
-> Go to control panel -> Device Manager -> COM &LPT
-> click on the Arduino UNO device and click on the drivers tab.
-> Click on Update Driver
-> Here, select the option browse my computer for driver software
->After this, click on 'Let me pick from a list of device drivers on my Computer'
-> Now, here, you uncheck the box, show compatible hardware.
-> Scroll down the device model, you will be able to see the model of the board plugged in, there might be two, you have to select the older version, 2007.
I should have mentioned, im using an unorthodox connection: pc-usb connected to commi rs485 converter to a board that translates that to uart-ttl 5v levels. So the driver of the usb is the COMi's Usb Serial Port. In addition im afraid this is not my computer network and im unsure what protection/firewall is presentand if at all it is aproblem. Im debugging this chain one step at a time, for days now. Currently i believe the chain up to the arduino is good since i have used a scope on every ste and it seems legit. Now studying the avrdude expected signal to further my knowledge.
So basically driver should be ok. The arduino version is mini with atmega 328 (05 pinout)
"pc-usb connected to commi rs485 converter to a board that translates that to uart-ttl 5v levels."
Is that a path that will create DTR pulse to reset the mini during uploads?
If not, do this:
In the IDE, select File:Preferences, click the Verbose output boxes.
Start a download; when the IDE shows "Compiled xxx of 32xxx bytes" press reset on the mini.
Might have to try it a few times to get the timing right.
Occasionally you'll see a sketch written that blasts data out of D0/D1 pins - in those case, might need to press & hold reset until the IDE message to ensure the bootloader has a chance to catch the incoming download start message.