Rfbee flash with CULfw for FHEM use

wireless communication and related Bees.

Moderators: lily.li, violet, jessie

Post Reply
askesulf
Pre-kindergarten
Pre-kindergarten
Posts: 1
Joined: Wed Jan 28, 2015 2:51 am

Rfbee flash with CULfw for FHEM use

Post by askesulf » Wed Jan 28, 2015 3:04 am

Hello!

I have an RFbee and a Raspberry B+ under raspbian. My aim is to flash that RFbee with the CULfw to use it through FHEM (a domotic soft) and comunicate with various element with MAX! protocol.

I've got a Foca v2.2 serial module and i'd like to flash throug avrdude the CULfw firmware (can't post links)

I tried in many ways to flash the module but with no success. The compilation goes OK but i think some bits get lost during the transfert and i get this errorcode :

Code: Select all

RFbee.hex: 14 558 / 16 384 Bytes (88,85%)
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ 

avrdude.exe: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.02s

avrdude.exe: Device signature = 0x1e9406
avrdude.exe: NOTE: "flash" memory has been specified, an erase cycle will be performed
             To disable this feature, specify the -D option.
avrdude.exe: erasing chip
avrdude.exe: reading input file "F:\RFbee\RFbee.hex"
avrdude.exe: input file F:\RFbee\RFbee.hex auto detected as Intel Hex
avrdude.exe: writing flash (14558 bytes):

Writing | ################################################## | 100% 12.73s

avrdude.exe: 14558 bytes of flash written
avrdude.exe: verifying flash memory against F:\RFbee\RFbee.hex:
avrdude.exe: load data flash data from input file F:\RFbee\RFbee.hex:
avrdude.exe: input file F:\RFbee\RFbee.hex auto detected as Intel Hex
avrdude.exe: input file F:\RFbee\RFbee.hex contains 14558 bytes
avrdude.exe: reading on-chip flash data:

Reading | ################################################## | 100% 10.93s

avrdude.exe: verifying ...
avrdude.exe: verification error, first mismatch at byte 0x3800
             0x0c != 0x5a
avrdude.exe: verification error; content mismatch

avrdude.exe done.  Thank you.
I tried the reset-methode but the same error.

Is there a specific way to flash the firmware? I tried Arduino IDE but it doesn't accept .hex files. The firmware make file is made to work with avrdude and the arduino bootloader.

Thx in advance!! I'm working on this since weeks and really want to move on and build my install!

Post Reply