Need a little help.


 

Darrell Smith

New member
I have a Raspberry Pi / LinkMeter that I haven't used for a while. So I got it out tonight and did an update, but am having problems.

I've loaded the latest update to the SD card, rebooted and configured wireless, all with no problems.

However, when I go to configuration, I get the message that no LinkMeter is attached.

If I go to the AVE Firmware page and install using the online repository, this is the output.

Connecting to capnbry.net (71.100.233.140:80)

hm.hex 54% |***************** | 39670 0:00:00 ETA
hm.hex 100% |*******************************| 70795 0:00:00 ETA
Stopping LinkMeter OK

LinkMeter platform is BCM2708
Loading SPI modules...
AVR fuses ffd705 OK

7a8a0d19e0c3ce45fcdd2934ea903355 /tmp/hm.hex
hmdude: compiled on Oct 8 2013 at 10:39:13
Using port: /dev/spidev0.0
Loading ihex file: "/tmp/hm.hex" (25160 bytes)

0% | | 0 (0.0s)
0% | | 0 (0.0s)
5% |## | 1258 (0.1s)
10% |##### | 2516 (0.3s)
15% |####### | 3774 (0.4s)
20% |########## | 5032 (0.5s)
25% |############ | 6290 (0.6s)
30% |############### | 7548 (0.8s)
35% |################# | 8806 (0.9s)
40% |#################### | 10064 (1.0s)
45% |###################### | 11322 (1.2s)
50% |######################### | 12580 (1.3s)
55% |########################### | 13838 (1.4s)
60% |############################## | 15096 (1.5s)
65% |################################ | 16354 (1.7s)
70% |################################### | 17612 (1.8s)
75% |##################################### | 18870 (1.9s)
80% |######################################## | 20128 (2.1s)
85% |########################################## | 21386 (2.2s)
90% |############################################# | 22644 (2.3s)
95% |############################################### | 23902 (2.4s)
100% |##################################################| 25160 (2.6s)
Update successful
Starting LinkMeter OK

This seems to indicate that the RPi is communicating with the LinkMeter.

If I go to the LinkMeter homepage the ambient temp is graphed and updating to match the ambient temp displayed on the LCD. Again indicating communication RPi <-> LinkMeter.

Anyone have any suggestions?

I'm out of ideas.

Thanks
 
That's a new one. It shows that "no config" if it couldn't get the HeaterMeter version information, or maybe there's some sort of browser error causing it. What browser is it?

Can you also check http://yourheatermeter/luci/lm/conf and post it? I'm wondering if there's an error in the JSON causing it to confuse the parser.
 
Bryan,

Thanks for responding. My unit has worked before and I've done a lot of cooks with it.

I've tried using both Chrome and Firefox. Firefox is my default.

The output from http://yourheatermeter/luci/lm/conf is :

{"pcurr0":null,"pcurr1":null,"pcurr2":null,"sp":"245","pcurr3":238.1}

So the communication line seems to be functioning.

Darrell
 
Is this what I would see if the RS232 was "receiving but not transmitting" on the Rpi or "transmitting but not receiving" on the LM side? My only question is would the flash seem to work if that were the case?
 
From my experience from updating from not using my hm in a long time, I had to use a brand new SD card as the old SD card even after a format would still have the old update and it would install the new update on what's left of the memory on the SD card.
 
Last edited:
Is this what I would see if the RS232 was "receiving but not transmitting" on the Rpi or "transmitting but not receiving" on the LM side? My only question is would the flash seem to work if that were the case?
Yeah this is only receive data. When LM starts up it sends a /config command to the HM and then gets the rest of the information. It looks like that's not working for some reason.

You can try opening up two ssh sessions to it and in the first
Code:
/etc/init.d/lucid stop
cat /dev/ttyAMA0

In session two
Code:
echo /config > /dev/ttyAMA0
echo /config > /dev/ttyAMA0
echo /config > /dev/ttyAMA0
(a few times)

You should see the config data come out in the first window. If not, sounds like there's a loose connection or something between the serial on the two.
 
Thanks for the help, turns out when I reseated the ATmega328P everything started working properly again. Guess I had a critical pin not making a good connection. Will be cooking tomorrow.
 

 

Back
Top