[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 
Wiring up miniwireles with RFM69HW  XML
Forum Index » Anarduino
Author Message
klofisch



Joined: 30/10/2015 16:58:23
Messages: 8
Offline

Hello,

i connected my ne MiniWireles with RFM69HW to my pc and tried several times to upload a sketch, without success.

Wiring was ok, so i turned on putty and opened a serial connection via the FTDI. The Terminal show repeatly "NON GENUINE DEVICE DETECTED".

How to solve this Problem?

I am on Windows 10.


thanks
Peter
klofisch



Joined: 30/10/2015 16:58:23
Messages: 8
Offline

Ok it was something about the driver,..

but now i am getting this error when try uploading something.



kmac2001


[Avatar]

Joined: 01/11/2015 20:23:33
Messages: 2
Offline

You might try swapping the Rx and Tx wires from the FTDI to the mini wireless.
I purchased some on Ebay that had these lines labled wrong.
empeka



Joined: 21/12/2014 05:56:01
Messages: 18
Offline

Wiring was ok, so i turned on putty and opened a serial connection via the FTDI. The Terminal show repeatly "NON GENUINE DEVICE DETECTED".

How to solve this Problem?


either use geniune ftdi chip, or don't use crippled driver - version 2.10.0.0 should be fine (not sure if it'll work with windows 10 though)
more info here: http://hackaday.com/2014/10/24/ftdi-screws-up-backs-down/

This message was edited 1 time. Last update was at 02/11/2015 06:58:54

klofisch



Joined: 30/10/2015 16:58:23
Messages: 8
Offline

Yes, i installed 2.08.30 as its recommended. But then i went into the sync error. I also switched RX/TX-Wiring as kmac2001 said.

but no success yet.

What is the configuration? Arduino Mini board, with AVR MKII-Programmer?
jeremyvnc



Joined: 02/11/2015 10:40:42
Messages: 8
Offline

The miniwireless boards have the arduino bootloader on them (not sure which, might be uniboot) so you just need to use your FTDI board and use one of the built-in profiles for a 16MHz board. The boards I have are powered at 3.3V (69HCW variant) at 16MHz which is actually "overclocking" the ATMega328p.

The profile I used successfully was "Arduino Pro Mini (Atmega328, 5V, 16MHz)." The voltage doesn't matter in the selection on this one as it isn't setting fuses through bootloader, only atmega chip and frequency.

Hope this helps.
kmac2001


[Avatar]

Joined: 01/11/2015 20:23:33
Messages: 2
Offline

That should be the correct config for the IDE.
One other issue with some FTDI boards is they dont have the DTR signal connected to the DTR/Reset pin so can not reset the board before it starts the upload.
On the first ones I bought I had to run a wire from the DTR signal on the board to the correct pin.
klofisch



Joined: 30/10/2015 16:58:23
Messages: 8
Offline

no, it resets the board. Do i need to add a capacitor somewhere?
jeremyvnc



Joined: 02/11/2015 10:40:42
Messages: 8
Offline

When I program mine, I just soldered a 6 pin male header to the miniwireless and plugged in the FTDI board making sure to line up the GND pins. No resistor needed. Can you post a picture of your setup or give a link where you got your FTDI board. Mine is from Sparkfun. This one would work: https://www.sparkfun.com/products/9873?gclid=CKb_rr688sgCFYQ7aQod8SkJFQ
klofisch



Joined: 30/10/2015 16:58:23
Messages: 8
Offline

Mine is this one.

http://www.amazon.de/gp/product/B00GBVMWBC?psc=1&redirect=true&ref_=oh_aui_search_detailpage

actually i was able to programm my miniwireless using my Mega as ISP. SO far the board seems ok. Just the LED doesnt blink after uplaoding the blink sketch
jeremyvnc



Joined: 02/11/2015 10:40:42
Messages: 8
Offline

If the LED doesn't blink and it is set to 13, then you have a problem. What profile did you use to program the board with ISP? What are the fuse settings. When using ISP in arduino, AVRDude will write your fuse bits every time you flash.
klofisch



Joined: 30/10/2015 16:58:23
Messages: 8
Offline

i just set the board to arduino mini with ATMEGA328. I didnt know if i need to change the fuses. Acutally there is no documentation around.
jeremyvnc



Joined: 02/11/2015 10:40:42
Messages: 8
Offline

Sorry, the mini-wireless board has led on D9, not D13 like a typical arduino. Change the blink example to led=9 and you should see it blink after doing the ISP programming.
klofisch



Joined: 30/10/2015 16:58:23
Messages: 8
Offline

Hey Jeremy. About D9 i tried allready after reading the schematic, but it doesnt help. I burned the DualOptiBoot6 (because of your hint with the fuses) and tried again with the blink-sketch. No success yet.

)) thats really wierd.
jeremyvnc



Joined: 02/11/2015 10:40:42
Messages: 8
Offline

I'm at a loss then about the LED. Have you tried applying 3.3V to the LED itself to see if it lights up? Maybe it is burned out. Have you tried communicating with the chip using the RF69 library examples?
klofisch



Joined: 30/10/2015 16:58:23
Messages: 8
Offline

Strange.... the struct_send and struct_recieve Demos are working. Thanks

i ordered a new FTDI,..... maybe my old one has issues.... thanks
Rick



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

Greetings,
Thank you jeremyvnc for your useful and helpful feedback, much appreciated.
Anarduino performs 100% testing of the MW prior to shipment, so there should be high confidence in receiving functional product.
There remains work to do to improve online documentation, examples, and such, which is on our radar and wish list.
Frankly, I've been wanting to do this for a while, but in all practicality, I may have to hire an additional resource to assist.
Have a great day, and best regards to all...
-Rick
 
Forum Index » Anarduino
Go to:   
Powered by JForum 2.1.9 © JForum Team