Firmware 3.50 fails to upload to CTouch-2

Discussion in 'C-Touch/HomeGate/SchedulePlus/PICED Software' started by chrispay, Mar 14, 2010.

  1. chrispay

    chrispay

    Joined:
    Mar 14, 2010
    Messages:
    9
    Likes Received:
    0
    Location:
    Surrey
    Hi,

    I've been trying to uplaod the latest firmware included with PICED 4.8.1, Firmware 3.50, but everytime I try I get an error saying failed to upload, and then the screen is dead.

    I've reset the screen and uploaded the previous version using the recover option in PICED.

    Anyone have any ideas how to fix this firmware upload or is there a problem with the firmware.

    Many thanks

    Chris
     
    chrispay, Mar 14, 2010
    #1
  2. chrispay

    Newman

    Joined:
    Aug 3, 2004
    Messages:
    2,203
    Likes Received:
    0
    Location:
    Adelaide, South Australia
    No Known issues.

    Can you successfully connect to the screen from the Transfer -> Connect to Unit option? When it's up and working, can you successfully control the unit from the Transfer -> Control Unit menu items? (make it beep, etc).
     
    Newman, Mar 14, 2010
    #2
  3. chrispay

    Darren Senior Member

    Joined:
    Jul 29, 2004
    Messages:
    2,361
    Likes Received:
    0
    Location:
    Adelaide, South Australia
    If the unit keeps resetting, the problem may be the same one as is discussed in this thread.

    If not, please provide a few more details so we can work out what is going on.
     
    Darren, Mar 14, 2010
    #3
  4. chrispay

    chrispay

    Joined:
    Mar 14, 2010
    Messages:
    9
    Likes Received:
    0
    Location:
    Surrey
    Hi Guys,

    Thanks for the replies, heres some more detail.

    Running PICED 4.8.1, on Windows XP.

    Connect to unit, which is running firmware 3.43.
    Click control unit, beep, all ok.

    Click on transfer project to unit, include firmware 3.50
    Starts to copy then fails with error 14614, transfer error.

    Unit is non-responsive, screen totally blank, can't connect.

    Press reset on unit, and in PICED select Recover CTouch
    Starts to copy then fails with Error, flash write error.

    Only way to then get the unit back is to use an older version of PICED and go back to firmware 3.43.

    Many thanks for your help.

    Chris
     
    chrispay, Mar 15, 2010
    #4
  5. chrispay

    Newman

    Joined:
    Aug 3, 2004
    Messages:
    2,203
    Likes Received:
    0
    Location:
    Adelaide, South Australia
    Can you please try another test:
    - Download a blank project to the C-Touch2 using PICED 4.7.2 and the corresponding version of firmware, which should be 3.43.
    - Update to PICED 4.8.1 and try to download a blank project again, updating the firmware to 3.50

    Let us know how you go.
     
    Newman, Mar 15, 2010
    #5
  6. chrispay

    chrispay

    Joined:
    Mar 14, 2010
    Messages:
    9
    Likes Received:
    0
    Location:
    Surrey
    Hi,

    Yes that thought occurred to me, I created a blank project and tried to download using 4.8.1 with 3.50 firmware, I got the same result.

    Chris
     
    chrispay, Mar 15, 2010
    #6
  7. chrispay

    chrispay

    Joined:
    Mar 14, 2010
    Messages:
    9
    Likes Received:
    0
    Location:
    Surrey
    Hi Guys,

    I have tried again, using PICED 4.7 i uploaded a blank project, then tried to upgrade to firmware 3.50, this failed

    Recover to firmware 3.43, no project, tried upgrade, this failed.

    Attached is the log from the last attempt. Any help appreciated in solving this.

    Many thanks

    Chris
     

    Attached Files:

    • Log.zip
      File size:
      75 KB
      Views:
      352
    chrispay, Mar 16, 2010
    #7
  8. chrispay

    Darren Senior Member

    Joined:
    Jul 29, 2004
    Messages:
    2,361
    Likes Received:
    0
    Location:
    Adelaide, South Australia
    The log file shows that the Flash Memory write is failing. We will see if we can work out what is going on.
     
    Darren, Mar 16, 2010
    #8
  9. chrispay

    Darren Senior Member

    Joined:
    Jul 29, 2004
    Messages:
    2,361
    Likes Received:
    0
    Location:
    Adelaide, South Australia
    We suspect that there is a fault with the Flash memory in your C-Touch unit. If the transfer process fails at the same point each time, then we can be about 95% sure that this is the case.

    A simple test you can do is to try to transfer firmware a few times with the log running. If the end of the log each time shows this:

    C-Touch : Tx "80 01 01 0A 00 11 A9 00...
    C-Touch : Rx "FF F4 00 06 FE 07 "
    Info : Re-start unit

    then it is failing in the same place each time and is most likely a hardware fault.
     
    Darren, Mar 17, 2010
    #9
  10. chrispay

    chrispay

    Joined:
    Mar 14, 2010
    Messages:
    9
    Likes Received:
    0
    Location:
    Surrey
    Hi,

    Many thanks for this, I will try to upload a few times with the log running.

    If this is the case, why does firmware 3.43 upload every time with no issues, surely its writing to the same flash memory location?

    Regards

    Chris
     
    chrispay, Mar 18, 2010
    #10
  11. chrispay

    Mark

    Joined:
    Oct 28, 2004
    Messages:
    196
    Likes Received:
    1
    Location:
    Grenoble, France
    Probalby a bit error in flash

    Hi Chrispay,

    Yep, both 3.43.0 and 3.50.0 firmware use the address space where the flash write command is failing. During project load, the firmware writes the flash, then reads it back and compares it against what was written to verify the write was successful. The error you are seeing is due to this verify failing.

    As it works for 3.43.0 and not for 3.50.0, chances are it is a single bit error in flash - the bit will be stuck as either a 1 or a 0. The contents of this memory range change with every build, so there is a 50% chance of each build working or failing - if the bit is stuck as a 1 and the firmware writes it as a 1, then its OK. But if it's stuck as 1 and the firmware tries to write it as 0, then you get the error.

    Hope that explains it & sorry you've had to deal with it!

    Cheers,
    Mark.
     
    Mark, Mar 19, 2010
    #11
  12. chrispay

    chrispay

    Joined:
    Mar 14, 2010
    Messages:
    9
    Likes Received:
    0
    Location:
    Surrey
    Hi Mark,

    Many thanks for that explanation, sounds like I need a new unit then.

    Cheers Chris
     
    chrispay, Mar 19, 2010
    #12
  13. chrispay

    MJS

    Joined:
    Sep 1, 2005
    Messages:
    29
    Likes Received:
    0
    Location:
    Port Elizabeth, ZA
    Hi All,

    It seems that I am having a similar problem.

    I installed two ctc's, first set static ip's, then upgraded the firmware with Piced 4.8.0.

    The first (master) ctc upgraded fine and is running happily. The second rebooted and gave an error saying that the mac address was missing. The static ip was missing and I could not set it. The ctc also refused to obtain a dynamic address.

    I assumed that it was a hardware fault, as the first ctc worked, and made arrangments to return the screen. Fortunately I had a spare ctc to install, but unfortunately it showed exactly the same problem, when upgraded, that the ctc it replaced did.

    I rebooted the ctc and went through the disaster recovery a few times, but eventually downgraded to Piced 4.7.2. This version of firmware worked with the ctc.

    Michael
     
    MJS, Mar 20, 2010
    #13
  14. chrispay

    NickD Moderator

    Joined:
    Nov 1, 2004
    Messages:
    1,420
    Likes Received:
    62
    Location:
    Adelaide
    Hi MJS,

    Actually this is a completely different problem... however we have seen it before once or twice... one of those being in my own place. Unfortunately we've never gotten to the bottom of it (darren keeps telling me it's my dodgy installation ;P).

    The problem only occurs when you try to use a static IP. The only solution I have found is to leave it set to DHCP.

    Many routers these days will allow you to do "Static DHCP", where the DCHP server reserves addresses based on the MAC address, so the device effectively has a static IP, but it's still managed by the DHCP server. This works fine for me, so hopefully this isn't a big problem for you.

    Let us know if it sorts your problem.

    Nick
     
    NickD, Mar 21, 2010
    #14
  15. chrispay

    MJS

    Joined:
    Sep 1, 2005
    Messages:
    29
    Likes Received:
    0
    Location:
    Port Elizabeth, ZA
    Sorted

    Hi Nick,

    That workaround has sorted out the problem.

    Thanks for your help.

    Michael
     
    MJS, Mar 24, 2010
    #15
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.