Firmware Upgrade in Smart meter over GPRS

4 posts / 0 new
Last post
sachinar007
Firmware Upgrade in Smart meter over GPRS

Hi Mikko,

I am trying to upload firmware in HPL and JPM meter with "WRAPPER" as interface type. While updating Fw from GuruxDir it works. I have change wait time to 00:00:30.

can you please let me know how to set this parameter in .net sample example. Since after a time is give error.

also same is happening in case of if the meter ping fail .net sample gives error where as GuruxDir does not.

Please suggest.

Kurumi
Kurumi's picture

Hi,

I believe that image verify (step 5) is on progress when you try to read something from the meter and meter returns an error. Add delay after you have called ImageVerify. I believe it will fix this.
Try something like this:

ReadDataBlock(target.ImageVerify(Client), reply);
while(true)
{
try
{
Thread.Sleep(10000);
//Get list to images to activate.
ReadDataBlock(Client.Read(target, 7), reply);
}
catch(Exception)
{
//Ir's OK if this fails. Wait and try to read again.
}
}

BR,
Mikko

________________________________________
Mikko Kurunsaari
Gurux Ltd
http://www.gurux.fi

sachinar007

Thanks Mikko,
I have find out the issue. Since this is smart meter we need to use Invocation counter. By mistake I was using US ie 0.0.43.1.3.255.
so changing it to FW 0.0.43.1.5.255 it works.

Regards,
Sachin

Sachin Ambre

Kurumi
Kurumi's picture

Hi,

Thank you for letting me know about this. There are so many parameters that might cause the issue and the amount of error codes is so limited.

BR,
Mikko

________________________________________
Mikko Kurunsaari
Gurux Ltd
http://www.gurux.fi