GEM fatal error
-
- Posts: 37
- Joined: Tue Jan 14, 2014 3:31 pm
GEM fatal error
My GEM does not appear to be sending data to my dashbox.
I have a fatal error message from my dashbox page (see pic)
Fatal error: Call to a member function num_rows() on a non-object in /var/www/btech/controllers/pages/main.php on line 509
When I try to connect to the GEM from the Network Utility, I get an error (see pic). I figured I would just try to update the firmware (I am pretty sure I was on 4.36 but now I see there is a 5.13), but I can't even get the network utility to allow that.
I've done a re-boot COM
I've unplugged the GEM and re-plugged it in also, with no change to the above.
Any ideas?
I have a fatal error message from my dashbox page (see pic)
Fatal error: Call to a member function num_rows() on a non-object in /var/www/btech/controllers/pages/main.php on line 509
When I try to connect to the GEM from the Network Utility, I get an error (see pic). I figured I would just try to update the firmware (I am pretty sure I was on 4.36 but now I see there is a 5.13), but I can't even get the network utility to allow that.
I've done a re-boot COM
I've unplugged the GEM and re-plugged it in also, with no change to the above.
Any ideas?
- Attachments
-
- GEM1.png (186.3 KiB) Viewed 3159 times
-
- dashbox message.png (74.42 KiB) Viewed 3159 times
-
- Site Admin
- Posts: 4265
- Joined: Fri Jun 04, 2010 9:39 am
Re: GEM fatal error
That error pops up when your channels marked main haven't received a packet in awhile.agr077 wrote: ↑Sat Jun 06, 2020 7:20 amMy GEM does not appear to be sending data to my dashbox.
I have a fatal error message from my dashbox page (see pic)
Fatal error: Call to a member function num_rows() on a non-object in /var/www/btech/controllers/pages/main.php on line 509
When I try to connect to the GEM from the Network Utility, I get an error (see pic). I figured I would just try to update the firmware (I am pretty sure I was on 4.36 but now I see there is a 5.13), but I can't even get the network utility to allow that.
I've done a re-boot COM
I've unplugged the GEM and re-plugged it in also, with no change to the above.
Any ideas?
It does look like your GEM isn't responding to commands. Given you're using 8001, I'm guessing you're connected via STS cable. Can you check the Tx/Rx/GND connections on the GEM-side to make sure they're secure? You may also try Port 8002 to make sure you're not connected to the other COM port.
Check under Settings->System->Baud Rates also. If you're connected to the GEM RS232-2 header, the default baud is 19200. RS232-1 is 115200.
Ben
Brultech Research Inc.
E: ben(at)brultech.com
Brultech Research Inc.
E: ben(at)brultech.com
-
- Posts: 37
- Joined: Tue Jan 14, 2014 3:31 pm
Re: GEM fatal error
The connection appear to be secure. The device has not been touched for well over a year and it has been working just fine until June 4th at roughly 5:52am when the data stopped flowing.
I checked under baud rates and it indicates i'm connected to an "unknown device" on com1 and the baud rate is 115200. See attached picture.
I checked under baud rates and it indicates i'm connected to an "unknown device" on com1 and the baud rate is 115200. See attached picture.
- Attachments
-
- baud rates.png (67.01 KiB) Viewed 3146 times
-
- Site Admin
- Posts: 4265
- Joined: Fri Jun 04, 2010 9:39 am
Re: GEM fatal error
What is the LED status on the GEM? The Sys LED should be solid green and flash red with every packet.
EDIT: How old is the package also? If it's pre-May 2016, check the power supply versus the notice at http://www.brultech.com/contact.
EDIT: How old is the package also? If it's pre-May 2016, check the power supply versus the notice at http://www.brultech.com/contact.
Ben
Brultech Research Inc.
E: ben(at)brultech.com
Brultech Research Inc.
E: ben(at)brultech.com
-
- Posts: 37
- Joined: Tue Jan 14, 2014 3:31 pm
Re: GEM fatal error
See the following link for a 12 second video of the LEDs flashing.
The unit was purchased in September of 2016.
The unit was purchased in September of 2016.
-
- Site Admin
- Posts: 4265
- Joined: Fri Jun 04, 2010 9:39 am
Re: GEM fatal error
It looks like it's sending 2 packets.
Sept 2016 was prior to us changing power supply manufacturers. Can you check the GEM supply versus the notice at http://www.brultech.com/contact?
When memory gets corrupted on the GEM, it's common for things like COM1 Flow Control to become enabled. COM1 Flow Control would cause the GEM to freeze after a few packets as it's not connected.
If you have the old power supply, swap it out (if you have one around) and cycle power. Immediately after cycling power try to pull settings.
Ben
Brultech Research Inc.
E: ben(at)brultech.com
Brultech Research Inc.
E: ben(at)brultech.com
-
- Posts: 37
- Joined: Tue Jan 14, 2014 3:31 pm
Re: GEM fatal error
Your note indicated before May 2015 there might be power supply issues. This was purchased in September of 2016 so I'm not sure why you think it could be power supply. That said, I've checked and it looks like it is the new one as it is spelled "ter" and is 2000mah.
Not entirely sure what you mean by "pull settings". When I do a reboot from the dashbox web page, I can sometimes get to the GEM setup on port 8001. If that is where I am supposed to go, what do I do when I get there? See attached screenshots from when i just got in. Flow control looks to be disabled based on the second screenshot
Not entirely sure what you mean by "pull settings". When I do a reboot from the dashbox web page, I can sometimes get to the GEM setup on port 8001. If that is where I am supposed to go, what do I do when I get there? See attached screenshots from when i just got in. Flow control looks to be disabled based on the second screenshot
- Attachments
-
- Annotation 2020-06-10 1730132.png (125 KiB) Viewed 3129 times
-
- Annotation 2020-06-10 173013.png (272.7 KiB) Viewed 3129 times
-
- Posts: 37
- Joined: Tue Jan 14, 2014 3:31 pm
Re: GEM fatal error
and... It now is working just fine. I changed nothing. Could having gotten into the settings have done something to make everything work well again?
-
- Posts: 37
- Joined: Tue Jan 14, 2014 3:31 pm
Re: GEM fatal error
and... I spoke too soon. This morning, there seems to be a similar issue but different. This is what my status page looks like.
Data stopped at 6:42am
Data stopped at 6:42am
- Attachments
-
- latest.png (74.34 KiB) Viewed 3128 times
-
- Site Admin
- Posts: 4265
- Joined: Fri Jun 04, 2010 9:39 am
Re: GEM fatal error
When you exited setup mode it likely woke up. Looking thru your settings to see if I can spot anything that would cause the serial connection to lock up.
EDIT: Can you give the GEM a power cycle and pull the "Status" in the GEM Setup Webpage? There's more information in there, your Adv section looks fine.
Ben
Brultech Research Inc.
E: ben(at)brultech.com
Brultech Research Inc.
E: ben(at)brultech.com