Hi
Please can someone help me getting started with Base and Room nodes. I tried following the wiki but it made reference to RF12demo, RFDdemo and HAHcentral, totally confusing. Derek kindly updated it to make it clearer.
However....when I type
# /etc/init.d/xap stop serial
# microcom -s 57600 /dev/ttyUSB0
and a couple of returns there is no response.
Member for
15 years 10 monthsnever done it
as i have a full programmer BUT do you have a current cost connected as well there is a small issue on reboots they sometimes swap usb0/1
if you do try doing it with just jeenode.
Dean
not much help i expect :(
Member for
14 years 6 monthsHi DeanI have nothing else
Hi Dean
I have nothing else connected and DMESG shows
PL-2303 converter now attached to ttyUSB0
Member for
16 years 5 monthsFlashing
Hi John,
First check that you don't have any other services running that might be using the USB ports, just disable them through the web GUI before starting, you're right, the output does look corrupted. Once flashed, you can hook-up the node to your laptop to configure it using putty, you'll need to know the serial port that your USB has been assigned though.
I think the reason for the corruption is why there is now the "nocfg" version, when the HAH boots with the normal code, it seems to send characters down the USB port to the node, it has been known to reconfigure the node without you wanting/realising it. The nocfg version disable the configuration section.
So the steps to flash a node put simply should be :-
1. Flash HAHcentral
2. Configure node id and MHz band, remember each node should have a unique id but the MHz band should be 868 on them all
3. Flash HAHcentral_nocfg for the base node OR roomnode2 for a room node
I'm not sure if any of this helps, I can probably find time to test here if you get really stuck. See howq you get on, these are great devices, taking the HAH to a completely new level.
Karl
Member for
14 years 6 monthsflashing
Hi Karl
Firstly I bought the nodes from the shop and Derek informs me that they have been preconfigured with RFDdemo (he has updated the wiki). I have managed,using my PC to configure the ID and freq, but cannot flash HAHcentral_nocfg. I keep getting the same error which is:
User configuration file is "/root/.avrduderc"
User configuration file does not exist or is not a regular file, skipping
etc
thanks
John
Member for
14 years 6 monthsflashing as per wiki
Karl
found that SMS was running, so disabled and after a couple of reboots flashing process gets to:
Reading | ################################################## | 100% 0.00s
avrdude: Device signature = 0x1e950f
avrdude: safemode: lfuse reads as 0
avrdude: safemode: hfuse reads as 0
avrdude: safemode: efuse reads as 0
avrdude: NOTE: FLASH memory has been specified, an erase cycle will be performed
To disable this feature, specify the -D option.
avrdude: erasing chip
avrdude: reading input file "HAHcentral_nocfg.cpp.hex"
avrdude: error opening HAHcentral_nocfg.cpp.hex: No such file or directory
avrdude: input file HAHcentral_nocfg.cpp.hex auto detected as invalid format
avrdude: can't open input file HAHcentral_nocfg.cpp.hex: No such file or directory
avrdude: write to file 'HAHcentral_nocfg.cpp.hex' failed
avrdude: safemode: lfuse reads as 0
avrdude: safemode: hfuse reads as 0
avrdude: safemode: efuse reads as 0
avrdude: safemode: Fuses OK
avrdude done. Thank you.
Wiki says that with "shop" AVRs to go straight to configuration (ie bypass flashing HAHCentral)
but looking at the response above looks like I'll have to.
thanks in the meantime
John
Member for
14 years 8 monthsCaSe Sensetive + typo
John,
I assume you curl'd your hex files from google - perhaps using the example commands from the wiki?
If so, check your filenames you downloaded for spellings you may not expect, and CaSe SenSetIvitY.
Here is a quick ls of my dev box:
# ls
HAHCentrol_nocfg.hex IRNode.hex roomnode2.hex
HAHcentral.hex rf12demo.hex
#
Member for
14 years 6 monthsGreat support
Andy
I'm currently on hols but really appreciate the help.I eventually broke through and made some headway (working I think) I didn't realise that there were pde files available. They would have saved me some grief.
Thanks again
John