Problem with bootloading + programming

Hi,

i'm very very new in here. i just created my account to ask this question. i'm willing to make a quadcopter multi rotor heli and i decided to make its control circuit by myself. i saw several schematics on the internet and i applied one of them.
here i followed this schematic to construct an atmega328 based arduino pro mini.

However , i dont have a "USB to serial breakout board" and i also made it by myself with max232 integer. Here its schematics

i used this with a usb - rs232 converter ( i will add pictures of it )

and i made the connections between atmega and this TTL board. (RX , TX)

after that i made the connections between my UsbASP Avr programmer and atmega328 chip.

here its link i bought : http://www.hobbyking.com/hobbycity/store/uh_viewItem.asp?idProduct=21321

However when i try to burn arduino pro mini 5v 16mhz bootloader with arduino software. The red led on my avr programmer lights for 10-15 secs and after that it gives me this error.


Furthermore , when i try to upload multiwii_2_0 sketch over my rs232 TTL converter circuit. it gives me this error.

These are my circuit pictures
http://img707.imageshack.us/img707/9709/p120327025506.jpg
http://img689.imageshack.us/img689/2956/p120327025524.jpg

sorry for my english , if you can help me i will be very pleasure.

Thank you.

Where did you u get your usbasp programmer? I get the same result unfortunetly

Well, if there is not BL on the Mini, and I assume there is not and that's why you are trying to burn a new one, then you will not be able to load a sketch onto it using the BL (through the on board UART).

So, getting your USBasp working would be the first step. Have you tried it though a different USB port, or on a different PC?

If there is a BL on it, the the error you are getting trying load a sketch might because you are not resetting the Mini at the right time.

My usbasp is giving me the same error, apparently a wrong firmware from what I've found, except that with my usbasp you can upload a new firmware because of lack of isp
Im trying to get the ide to work with it because avrdude is greek to me

You could try getting a newer (or perhaps older) version of AVRDUDE...

Im not sure how to use it, I got to it with cmd prompt but don't know what to do next

i dont know how but it just worked.. i just figured out i forgot to connect 22nd pin to Ground and i changed reset circuit from pull up to pull down. it works now. i also connected my gyro and acc sensors. they both worked :slight_smile:

Well, ground is critical. But pull down on the reset is a new one. The Pro Mini already has a 10K pull-up on board, or is this something you made yourself?

I find using something like this to be the best way to program a Mini or Pro Mini: