Malfunctioning DIY OTGW

This Forum is about the Opentherm gateway (OTG) from Schelte

Moderator: hvxl

Malfunctioning DIY OTGW

Postby Cariba » Mon Jan 26, 2015 11:11 am

Hi there,

I assembled my OTGW, and it doesn't work. It boots up with the diagnostics firmware but doesn't register input, and shows a lot of semicolons. See screenshot.

Does anyone have a clue about the problem?

Thanks!
Attachments
ScreenClip.png
ScreenClip.png (10.7 KiB) Viewed 4989 times
Cariba
Starting Member
Starting Member
 
Posts: 34
Joined: July 2008
Location: Netherlands

Re: Malfunctioning DIY OTGW

Postby hvxl » Mon Jan 26, 2015 11:22 pm

Maybe it's putty that is malfunctioning. Please try with otmonitor. It was originally created specifically for the purpose of removing the quirks of any other software people might be using out of the equation.
Schelte
hvxl
Senior Member
Senior Member
 
Posts: 1223
Joined: June 2010

Re: Malfunctioning DIY OTGW

Postby Cariba » Mon Jan 26, 2015 11:29 pm

I already did: otmonitor shows the same thing in the diagnostics window.
Cariba
Starting Member
Starting Member
 
Posts: 34
Joined: July 2008
Location: Netherlands

Re: Malfunctioning DIY OTGW

Postby hvxl » Tue Jan 27, 2015 9:03 pm

How fast are those colons appearing? Do they stop after a while?

The diagnostic firmware will echo the characters it receives, so perhaps some other program is sending something to the serial port. Do you see any reaction when you press the enter key? Does it say "Invalid test" and refresh the menu? It's also possible that this other program is eating part of the serial output. Do you have another computer you can try the gateway with?

Another possibility is that the firmware was not loaded correctly into the PIC, or a bit didn't stick. How was the PIC programmed? If you have a PIC programmer, you can verify if the program is correct and reprogram it if it isn't. If you don't, you can attempt to reload the firmware via otmonitor. It looks like a large part of the firmware is working. So if the self-programming code is not affected, that might work.
Schelte
hvxl
Senior Member
Senior Member
 
Posts: 1223
Joined: June 2010

Re: Malfunctioning DIY OTGW

Postby Cariba » Wed Jan 28, 2015 12:06 am

They stop after a few (just like the screenshot).
It seems like the OTGW doesn't register my input.

Firmware upload doesn't work. I'll ask for a replacement PIC.
Cariba
Starting Member
Starting Member
 
Posts: 34
Joined: July 2008
Location: Netherlands

Re: Malfunctioning DIY OTGW

Postby hvxl » Wed Jan 28, 2015 6:09 pm

I'm not yet convinced that the PIC wasn't programmed correctly. Unfortunately you skipped over some of my questions that could provide clues:
  • How fast are the colons appearing? If you get them at regular intervals of a few seconds or more, I suspect something is sending something to the gateway. If you get them very fast I would lean more towards a possible firmware program failure.
  • Do you have another computer you can try the gateway with? It is unlikely that the same interfering "other program" would be running on another computer as well.
Other questions:
  • How is the gateway connected to your computer? Real serial port, USB serial port, gateway without IC2 and USB option from the webshop?
  • If you disconnect the serial/USB cable on the gateway side and type something, it shouldn't be echoed. Then connect transmit and receive on the gateway side of the cable. Do you see any data appearing if you do nothing? If you type something in this situation does it get echoed now?
Schelte
hvxl
Senior Member
Senior Member
 
Posts: 1223
Joined: June 2010

Re: Malfunctioning DIY OTGW

Postby Cariba » Wed Jan 28, 2015 9:28 pm

The semicolons appear all at the start and then it stops.
I have tested it on my desktop and laptop. There is no other program interfering.
The gateway is connected on my laptop through an Serial2USB device, and on my desktop directly to a serial port.
It doesn't echo. I don't ever see anything echoing.

I'm pretty sure it's a buggy programmed PIC.
Cariba
Starting Member
Starting Member
 
Posts: 34
Joined: July 2008
Location: Netherlands


Return to Opentherm Gateway Forum

Who is online

Users browsing this forum: No registered users and 1 guest