Its 2 days now that i am dealing with this VERY strange issue .
I have a mac .
I also have a pcb with atmega328p,crystal-16M,capacitors and a led .
I am trying to program the chip using one of the 2 methods: an avr programer, an Uno as ISP .
both result with same thing : you can bootload the chip using arduino IDE, you CANT program it !!
So i connect all wires as required(i can bootload so i guess its ok) , than i chose from the boards the "arduino pro or pro mini" than i set the the programmer to be on of the two:
1.first try - arduino Uno as ISP
2. second try tiny avr programmer by spark fun :
In both cases - with the EXACT same hardware configuration , when i hit to bootload the chip it works, when try to upload a blinking sketch i get errors such as :
1.not in synch
2.cant open device modem 1421
So how can i bootload that same thing ????
Here is a log for trying with tiny avr programmer :
Using Port : /dev/cu.usbmodem1421
Using Programmer : arduino
Overriding Baud Rate : 57600
avrdude: ser_open(): can't open device "/dev/cu.usbmodem1421": No such file or directory
ioctl("TIOCMGET"): Inappropriate ioctl for device
Please any help , would be appreciated! ( i read there is something to do with a baud rate ??? )
here is an image of the setup :