RFM69HCW and IS_RFM69HW problem on Moteino

Started by alexsh1, September 22, 2016, 12:57:12 PM

alexsh1

Hello,


Received today Moteino R4 (Lora footprint) and soldered RFM69HCW 868Mhz.
Uploaded the Gateway code, and it seems to work, but then I remembered that I have an H version and used "define IS_RFM69HW" and uploaded the sketch again.
This completely bricked Moteino. I cannot see or uploaded any code. Any help is appreciated.


Thanks
Alex

Felix

Quote from: alexsh1 on September 22, 2016, 12:57:12 PM
Uploaded the Gateway code, and it seems to work, but then I remembered that I have an H version and used "define IS_RFM69HW" and uploaded the sketch again.
This completely bricked Moteino. I cannot see or uploaded any code. Any help is appreciated.

So the radio is 3rd party right?
A sketch cannot really brick the MCU, so that makes little sense.
What serial adapter do you use?

alexsh1

Yes, I have a number of Hope radios so ordered a black Moteino. Checked solding - this is not a big deal.

I am using a FTDI adapter exactly like this:

http://g03.a.alicdn.com/kf/HTB1c.4GLXXXXXXcXXXXq6xXFXXXU/FT232RL-font-b-FTDI-b-font-USB-to-TTL-Serial-Adapter-Module-for-font-b-Arduino.jpg

Felix


alexsh1

Quote from: Felix on September 22, 2016, 03:30:24 PM
Quote from: alexsh1 on September 22, 2016, 03:20:38 PM
ordered a black Moteino
Black Moteino? Where from??


Sorry - blank Moteino (a Moteino without a transceiver). This is what happens when you type fast.
I think I found the problem. I always use 3.3V FTDI within my . Now these are working flawlessly with rfm69w radios, but with rfm69h or similar ones it does not work. I need 5V FTDI in order for it to work.
At least I can see and program my Moteino now.

Thanks for pointing out to the right direction Felix!

Felix

Yeah that tripped me, I don't make any black Moteinos :)
Glad you solved it. That's what happens with no name no brand no spec products that save you a buck. They unsave that buck later ;)

kobuki

Quote from: alexsh1 on September 22, 2016, 03:20:38 PM
I am using a FTDI adapter exactly like this:

http://g03.a.alicdn.com/kf/HTB1c.4GLXXXXXXcXXXXq6xXFXXXU/FT232RL-font-b-FTDI-b-font-USB-to-TTL-Serial-Adapter-Module-for-font-b-Arduino.jpg

Ah, well. A couple of years back I ordered like 5 of this same board. I had and still have all sorts of problems with them on Windows. They use counterfeit FTDI chips. I specifically chose them to be able to assign device names on Linux using their serial number. My windows doesn't recognise them now even if they have been fixed after disabling. They work mostly fine on Linux.

Since then I only use CP2102-based interfaces, I can only recommend them. With a utility it is possible to program arbitrary, meaningful serial numbers on them.