[Logo] Anarduino and HopeRF Community Forum
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics     [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Troubles Programming via FTDI / Arduino IDE (V1.0.6): Bootloader Used??  XML
Forum Index » Anarduino
Author Message

Joined: 07/06/2015 09:42:04
Messages: 3

I'm having trouble programming my newly received minWireless22s (rfm22b module, 433MHz) using an FTDI adapter (JY-MCU USB Adapter) and Arduino IDE (V1.0.6).

Is there a definitive guide on programming this device? I can find only a "coming soon" link on the web page. Searching this forum only brings up more questions.

Is there a definition of what bootloader used on the device, and what fuses are set on ATmega328 as shipped?

I'm using a 3.3V FTDI
- Power by applying +5V VBUS power to the Vin pin of the board to power the uP through the on-board regulator.
- GND of adapter to board GND
- Tx of adapter to board Rx (3.3V logic level)
- Rx of adapter to board Tx (3.3V logic level)
- DTR of adapter to board DTR

In the IDE I'm using Duemilanove ATmega328, and am getting only "avrdude: stk500_getsync(): not in sync: resp=0xbf" errors. I've tried Pro Mini at 8 and 16MHz, Uno, but feel I am only guessing and hoping.

Does the device come pre-programmed with something so I can check my serial connection? On startup I get a fast flashing RED LED, followed by some gibberish on Rx, and then finally a slow blinking red LED. Playing with baud rate on my connection does not give me anything readable on the Rx input.

Wondering where to go next.


This message was edited 8 times. Last update was at 07/06/2015 10:07:37


Joined: 07/06/2015 09:42:04
Messages: 3

Ok I found this post, http://forum.anarduino.com/posts/list/16.page

It seems others have similar issue? Perhaps I should look to reflash of the bootloader.

This message was edited 1 time. Last update was at 07/06/2015 11:51:19


Joined: 07/06/2015 09:42:04
Messages: 3


Joined: 07/07/2014 18:07:27
Messages: 91

About all I can add is that all mega328 based Anarduino boards I've seen come pre-programmed with a version of optiboot for the bootloader. Baud rate is usually either 56K or 115.2K.

This message was edited 1 time. Last update was at 14/06/2015 13:42:51


Joined: 03/10/2014 07:24:02
Messages: 21

The devices i've ordered had a test program. the fact that you get gibberish from the tx means that it does output data but somehow it's corrupted.

Check the wirelength or faulty connections to your FTDI. Do you have other means to connect the miniwireless to rule out a defective FTDI? Also you can download FT_PROG to check the FTDI configuration, maybe the pins are reversed?
You should focus on 9600 or 115.2k baud rates to read the gibberish (possible data). Keep away from flashing bootloaders and stuff if you have issues with communicating with the device.

I use 115.2k baud for flashing my code from the arduino IDE to a miniwireless with 328p with optiboot.

This message was edited 1 time. Last update was at 13/06/2015 11:24:05


Joined: 30/05/2014 22:08:56
Messages: 93


It sounds to me like a baudrate mismatch (assuming you are using a standard type ftdi pc<>uart interface).
What FTDI are you using?

These boards are all pretested, and hundreds are shipped every week.
They are preloaded with a test program configured with baud rate of 115200.
If you set your baud rate accordingly, you should indeed see meaningful text.
What board and processor clock settings are you using to connect? 16Mhz ATmega328?

We stand behind all our products, so let me know how we can be of further assistance.
Please let us know if this resolves your issue. Thank you.

Best Regards,

This message was edited 3 times. Last update was at 21/06/2015 22:18:49

Forum Index » Anarduino
Go to:   
Powered by JForum 2.1.9 © JForum Team