How to program DFR0132D

Hi,
I have this Arduino Pro Mini, code DRF0132D:
[url=http://www.dfrobot.com/index.php?route=product/product&filter_name=dfrduino]http://www.dfrobot.com/index.php?route=product/product&filter_name=dfrduino[/url] 1.2&page=2&product_id=479
I use to program any Arduino, from Unos, to Megas to Diecimilas, Nanos ans others...
I tried to program this one with all of my interfaces: Bus Pirate, two different types of serial to TTL converters,
Tried in the normal way, relying on the auto-reset feature.
Tried to use the DTR or the RST pins to invoke the reset on upload time.
But nothing seem to solve the problem.
Always the "avrdude stk500 not in sync" problem.
Yes, I saw the FTDI board that seems to match those arduinos, but my hardware is supposed to match too.
Any advice ?
Best,
Marcio
I have this Arduino Pro Mini, code DRF0132D:
[url=http://www.dfrobot.com/index.php?route=product/product&filter_name=dfrduino]http://www.dfrobot.com/index.php?route=product/product&filter_name=dfrduino[/url] 1.2&page=2&product_id=479
I use to program any Arduino, from Unos, to Megas to Diecimilas, Nanos ans others...
I tried to program this one with all of my interfaces: Bus Pirate, two different types of serial to TTL converters,
Tried in the normal way, relying on the auto-reset feature.
Tried to use the DTR or the RST pins to invoke the reset on upload time.
But nothing seem to solve the problem.
Always the "avrdude stk500 not in sync" problem.
Yes, I saw the FTDI board that seems to match those arduinos, but my hardware is supposed to match too.
Any advice ?
Best,
Marcio
2012-11-29 22:49:43 Hi,
I guess that you're using the Pro Mini v1.2. The pin mapping of the v1.2 is not compatible with the Arduino official one like you said. But we've improved it a little bit to v1.3 to make it compatible.
[url=https://www.dfrobot.com/index.php?route=product/product&filter_name=pro%20mini&product_id=696]https://www.dfrobot.com/index.php?route=product/product&filter_name=pro%20mini&product_id=696[/url]
Really sorry that Pro mini v1.2 cause some programming problem for you. I've took some pictures for you to show how I program for my Pro mini v1.2. And I'm using the usb serial light adapter to program it. You could found the schematic of this programmer according to the link below.
[url=https://www.dfrobot.com/index.php?route=product/product&filter_name=ftdi&product_id=581#.ULcDeU09ha0]https://www.dfrobot.com/index.php?route=product/product&filter_name=ftdi&product_id=581#.ULcDeU09ha0[/url]
Please have a try. But I think it maybe caused by the rarely defective hardware considering that you have a lot experience in this case.
So if you still can't make it work after testing again, please email our sales. They will help to assign the replacement for you! ;)
E-mail: [email protected]
Lauren
I guess that you're using the Pro Mini v1.2. The pin mapping of the v1.2 is not compatible with the Arduino official one like you said. But we've improved it a little bit to v1.3 to make it compatible.
[url=https://www.dfrobot.com/index.php?route=product/product&filter_name=pro%20mini&product_id=696]https://www.dfrobot.com/index.php?route=product/product&filter_name=pro%20mini&product_id=696[/url]
Really sorry that Pro mini v1.2 cause some programming problem for you. I've took some pictures for you to show how I program for my Pro mini v1.2. And I'm using the usb serial light adapter to program it. You could found the schematic of this programmer according to the link below.
[url=https://www.dfrobot.com/index.php?route=product/product&filter_name=ftdi&product_id=581#.ULcDeU09ha0]https://www.dfrobot.com/index.php?route=product/product&filter_name=ftdi&product_id=581#.ULcDeU09ha0[/url]
Please have a try. But I think it maybe caused by the rarely defective hardware considering that you have a lot experience in this case.
So if you still can't make it work after testing again, please email our sales. They will help to assign the replacement for you! ;)
E-mail: [email protected]

2012-11-29 06:27:45 [quote="Lauren"]
1. So do you mean the RST function doesn't work properly on your programmer? If so, I think this may cause the problem.
2. On the other hand, please try to connet the dfrobot with UART RX and TX0 with UART TX of your module also. Sometimes the definition of the Arduino FTDI interface confused us a lot.
Please try it with the setting below.
1.Board: Arduino Pro or Pro mini (3.3v,8Mhz) w/ ATmega328
2.The DTR pin should be connected or the microcontroller can't get into programming mode I think.
Look forward to your reply.
Regards,
Lauren
[/quote]
Lauren,
no, I mean the auto-reset is not working on DFRduino.
I use to use this UART a lot, and despite the I know TX is TX and RX is RX, and TX0 is correct TX pad and dfrobot is correct RX on Mini Pro, I already inverted and tried (a lot) with the wires inverted, and nothing...
Already tried with Arduino Pro or Pro mini (3.3v,8Mhz) w/ ATmega328 option as default and every other option you name.
Your observation about DTR is probably the key for everything.
Since this Mini Pro is an DFRobot clone, i would like a lot a timing diagram, and an explanation of how the DTR pin is expected to work.
On regular Mini Pros there are pads named BLK (black) and GRN (green) and we have a lot of documentation on the web
But for this particular DFRobot clone there is not.
Do you have this kind of documentation, explaining exactly what is the expexted behaviour of signals to acomplish a succeswfull programming ? I really need to know what to do with the DTR, because right now is what left to try, and I don´t want to continue guessing.
Looking forward to hearing from you.
Best,
Marcio
marciopp
1. So do you mean the RST function doesn't work properly on your programmer? If so, I think this may cause the problem.
2. On the other hand, please try to connet the dfrobot with UART RX and TX0 with UART TX of your module also. Sometimes the definition of the Arduino FTDI interface confused us a lot.
Please try it with the setting below.
1.Board: Arduino Pro or Pro mini (3.3v,8Mhz) w/ ATmega328
2.The DTR pin should be connected or the microcontroller can't get into programming mode I think.
Look forward to your reply.
Regards,
Lauren
[/quote]
Lauren,
no, I mean the auto-reset is not working on DFRduino.
I use to use this UART a lot, and despite the I know TX is TX and RX is RX, and TX0 is correct TX pad and dfrobot is correct RX on Mini Pro, I already inverted and tried (a lot) with the wires inverted, and nothing...
Already tried with Arduino Pro or Pro mini (3.3v,8Mhz) w/ ATmega328 option as default and every other option you name.
Your observation about DTR is probably the key for everything.
Since this Mini Pro is an DFRobot clone, i would like a lot a timing diagram, and an explanation of how the DTR pin is expected to work.
On regular Mini Pros there are pads named BLK (black) and GRN (green) and we have a lot of documentation on the web
But for this particular DFRobot clone there is not.
Do you have this kind of documentation, explaining exactly what is the expexted behaviour of signals to acomplish a succeswfull programming ? I really need to know what to do with the DTR, because right now is what left to try, and I don´t want to continue guessing.
Looking forward to hearing from you.
Best,
Marcio

2012-11-28 19:38:24 1. So do you mean the RST function doesn't work properly on your programmer? If so, I think this may cause the problem.
2. On the other hand, please try to connet the dfrobot with UART RX and TX0 with UART TX of your module also. Sometimes the definition of the Arduino FTDI interface confused us a lot.
Please try it with the setting below.
1.Board: Arduino Pro or Pro mini (3.3v,8Mhz) w/ ATmega328
2.The DTR pin should be connected or the microcontroller can't get into programming mode I think.
Look forward to your reply.
Regards,
Lauren
Lauren
2. On the other hand, please try to connet the dfrobot with UART RX and TX0 with UART TX of your module also. Sometimes the definition of the Arduino FTDI interface confused us a lot.
Please try it with the setting below.
1.Board: Arduino Pro or Pro mini (3.3v,8Mhz) w/ ATmega328
2.The DTR pin should be connected or the microcontroller can't get into programming mode I think.
Look forward to your reply.
Regards,
Lauren

2012-11-28 06:36:50 [quote="Lauren"]
Hi,
1. Have you chose the right board for your Pro mini. You could check the microcontroller type and crystal type according to the bottom layer silkscreen.
2. Could you please tell me the hardware connection for your Pro Mini?
Regards,
Lauren
[/quote]
1- Yes. Mini Pro 3.3V 8MHz 328. MC is 3280-UA. After the "not in sync" I tried every other MC on Arduino IDE.
2- Pads are: DTR, TX0, dfrobot, VCC, GND, GND. Connected (as I ever did before...) TX0 with UART RX, dfrobot with UART TX, VCC to 3.3 V and GND to ground.
Tried without DTR connected, relying on auto-reset function, and with DTR connected to UART RTS.
Tried the RST (reset) pin connected to RTS as well.
Tried (a lot) with manual reset too.
Nothing seems to work.
Always "not in sync".
I suppose the auto-reset feature is not working.
Any advices ?
Best,
Marcio
marciopp
Hi,
1. Have you chose the right board for your Pro mini. You could check the microcontroller type and crystal type according to the bottom layer silkscreen.
2. Could you please tell me the hardware connection for your Pro Mini?
Regards,
Lauren
[/quote]
1- Yes. Mini Pro 3.3V 8MHz 328. MC is 3280-UA. After the "not in sync" I tried every other MC on Arduino IDE.
2- Pads are: DTR, TX0, dfrobot, VCC, GND, GND. Connected (as I ever did before...) TX0 with UART RX, dfrobot with UART TX, VCC to 3.3 V and GND to ground.
Tried without DTR connected, relying on auto-reset function, and with DTR connected to UART RTS.
Tried the RST (reset) pin connected to RTS as well.
Tried (a lot) with manual reset too.
Nothing seems to work.
Always "not in sync".
I suppose the auto-reset feature is not working.
Any advices ?
Best,
Marcio

2012-11-28 00:23:03 Hi,
1. Have you chose the right board for your Pro mini. You could check the microcontroller type and crystal type according to the bottom layer silkscreen.
2. Could you please tell me the hardware connection for your Pro Mini?
Regards,
Lauren
Lauren
1. Have you chose the right board for your Pro mini. You could check the microcontroller type and crystal type according to the bottom layer silkscreen.
2. Could you please tell me the hardware connection for your Pro Mini?
Regards,
Lauren
