Failed firmware upgrade, what next ...

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

Moderator: hvxl

Failed firmware upgrade, what next ...

Postby martinvw » Sun Feb 24, 2013 10:57 am

Hello,

Yesterday, I build the gateway (ordered from opentherm-gateway.com, including TTL / USB converted), I ran all the hardware tests and all was fine.

This morning I connected the device to the computer, after some search for the manufacturer, I installed the the Prolific drivers and then the device was recognized. As far as I now the PIC was pre-programmed with the Diagnostic firmware I first tried the connection with Putty in serial mode. I did not know what to expect but it responded to an enter with "Opentherm Gateway 3.3" or something alike, of the 3.3 I'm sure. It also displayed SE if I pushed enter.

Since that worked I decided that I could upgrade to the real firmware, since I assumed I could go back easily. I downloaded the monitoring software, and version 3.4 of the firmware. After clicking the program button the application (quite quickly) responded something like "upgrade failed. no errors." Now it doesn't reply anymore when connecting, it doesn't allow we to send anything via serial. And on a new upgrade it keeps asking: "Please manually reset the opentherm gateway" even if I remove the power or short the reset pins, it will not upgrade.

What are my options now, it looks like I 'bricked' the PIC, but what went wrong and how can I fix this.

Thanks in advance.

Best regards,

Martin
martinvw
Starting Member
Starting Member
 
Posts: 5
Joined: February 2013

Re: Failed firmware upgrade, what next ...

Postby hvxl » Sun Feb 24, 2013 11:41 am

Martin,

That sounds like the normal procedure and you have tried the right steps to try to revive it. I have frequently reflashed the firmware on my gateway this way and never have any problem. You must have been quite unlucky to have bricked your PIC. To fix it you will have to remove the PIC from its socket and find someone with a PIC programmer to reprogram it.
Schelte
hvxl
Senior Member
Senior Member
 
Posts: 1264
Joined: June 2010

Re: Failed firmware upgrade, what next ...

Postby martinvw » Sun Feb 24, 2013 12:07 pm

That sounds bad. We just tried to desolder the PIC (it was delivered without a socket) but I won't come out, we used a "desoldeer-zuigpomp". My father (since he is experienced) did the (de)soldering but the only option he sees now is cutting off the legs. Which means it is not only bricked but will even not survive :(
martinvw
Starting Member
Starting Member
 
Posts: 5
Joined: February 2013

Re: Failed firmware upgrade, what next ...

Postby hvxl » Sun Feb 24, 2013 1:17 pm

You may be able to reprogram it in-circuit. Since low voltage programming has been disabled in the CONFIG bits, you will have to put a "high" voltage (13V) on the MCLR pin. That pin is connected to RB1, which won't like that. So you first have to sever that print trace. That's not really a problem because that connection isn't essential.
Schelte
hvxl
Senior Member
Senior Member
 
Posts: 1264
Joined: June 2010

Re: Failed firmware upgrade, what next ...

Postby flue » Sun Feb 24, 2013 2:51 pm

Martin,

I'll send you a new pic with socket at no cost. Shall i flash the 3.4 or 4.0 firmware so you're ready to go?
Buy opentherm gateway PCB's, kits or assembled PCB's: http://www.opentherm-gateway.com/
Special discount for this forum using the following coupon code: domoticaforum.eu
flue
Starting Member
Starting Member
 
Posts: 29
Joined: November 2012

Re: Failed firmware upgrade, what next ...

Postby martinvw » Sun Feb 24, 2013 9:51 pm

That would be fantastic, the new features that I heard about 4.x sound promising, so I would like to request the 4.x version.

Thank you very, very much.
martinvw
Starting Member
Starting Member
 
Posts: 5
Joined: February 2013

Re: Failed firmware upgrade, what next ...

Postby martinvw » Fri Apr 12, 2013 10:29 am

After some long time of gathering dust, I finally made the time to look at it again.

The connection with PuTTy works, some more efforts seem to be needed for my Raspberry Pi, but viewtopic.php?f=75&t=8346 will be of help. And then time to finally connect it :)

Thanks for developing it and your support, when I have a(n) (real interesting) end result I will post it.
martinvw
Starting Member
Starting Member
 
Posts: 5
Joined: February 2013

Re: Failed firmware upgrade, what next ...

Postby martinvw » Thu Apr 25, 2013 8:40 pm

Hooray, its up and running via my raspberry Pi. Setting the temperature remote works but with a large delay which seems caused by the thermostat only.

All is at least working now, time to mount it to wall and build some software to log and store the data.
martinvw
Starting Member
Starting Member
 
Posts: 5
Joined: February 2013


Return to Opentherm Gateway Forum

Who is online

Users browsing this forum: No registered users and 1 guest