Driver not installed !!!

Discussion in 'C-Bus Toolkit and C-Gate Software' started by robj, Jan 27, 2006.

  1. robj

    robj

    Joined:
    Aug 3, 2004
    Messages:
    19
    Likes Received:
    0
    Location:
    Meath, Ireland
    Can anybody help please. I am at my wits end with this.

    I have just got a new PC and loaded the toolkit onto it but can't scan my network. I get a numerous messages in cgate (see full list below). The ones I am concerned about are :

    :( "Hardware key: Key initialize failed (DRIVER NOT INSTALLED)"
    I installed from the zip file and that seemed to go fine. I am using AMD64 but this shouldn't be a problem as it runs 32 bit apps. I used the download with java included.

    :( "receive checksum error: response garbled"
    :( "Unit sync failed"
    I have checked burden and clock with learn mode. I have a slight concern that my PCI has burden on but no clock as this is what I have in the database. However, learn mode trick should fix this.

    :( Java errors
    I am beaten by these ones too :(

    Other notes:
    - My PCI has version 4.3.0 firmware
    - I can use the diagnotic tool to view the network and switch loads on/off
    - I can program lights using learn mode but can't add new switches as this will result in address clashes.
    - My old PC is very unstable so I can't use it

    The full cgate output is attached.

    Robert J
     

    Attached Files:

    robj, Jan 27, 2006
    #1
  2. robj

    Duncan

    Joined:
    Jul 23, 2004
    Messages:
    925
    Likes Received:
    0
    Location:
    Salinas de Garci Mendoza, Bolivia
    The Driver message is not something to be worried about, it will be supressed in future versions of CGate.. it relates to support for a Hardware Dongle we sell..

    I suspect your other problems stem back to a network that isn't very healthy.. CGate is getting confused at some responses and isnt handling them very well.

    Check the usual suspects.. burden, clock, cable lengths, number of devices, quality of terminations etc..
     
    Duncan, Jan 27, 2006
    #2
  3. robj

    robj

    Joined:
    Aug 3, 2004
    Messages:
    19
    Likes Received:
    0
    Location:
    Meath, Ireland
    Thanks Duncan.

    - I have reduced my network to one output and one PCI.
    - They are connected with one of the 6 inch cbus cables supplied with the outputs.
    - I have tried both hardware burden & software burden initialised by "learn mode".
    - I have swapped out cables and tried other outputs.
    - The cbus diagnostic software suggests there are no unit address clashes and no errors on the network.

    Still the network won't sync.:(

    The only thing I have not swapped out is the PCI. It is nearly 2 years old. Could there be a compatability issue with cgate and firmware 4.3.00 ?

    One thing I have noticed is that the PCI LEDs don't alternately flash when outputs are in "Learn Mode". Is this normal ?

    Thanks in advance.

    R
     
    robj, Jan 28, 2006
    #3
  4. robj

    Duncan

    Joined:
    Jul 23, 2004
    Messages:
    925
    Likes Received:
    0
    Location:
    Salinas de Garci Mendoza, Bolivia
    4.3.00 PCI is fine for CGate/Toolkit.. PCI Leds dont flash when the network is learn mode, thats correct.

    When Toolkit is attempting to scan the network.. do the PCI leds flash?

    The COM Port you're using, is it via a USB or PCMCIA adaptor or is it a "real" one?
     
    Duncan, Jan 28, 2006
    #4
  5. robj

    robj

    Joined:
    Aug 3, 2004
    Messages:
    19
    Likes Received:
    0
    Location:
    Meath, Ireland
    Yes, the PCI Unit-Comms LED flashes during a scan and other network commands (see output below). The Other LED always stays on.

    I am using a USB-Serial adapter but get similar results with a "real" one (I can keep my old PC up for a few minutes).

    I am sure I have the COM port correct as I can switch on/off loads using the Cbus-Diagnostic tool.

    I have seen the network with an ok status but it is usually in sync. How long should a sync take on such a minimal network.

    Is the magic number method mentioned in the following post a good thing to try ?
    http://www.cbusforums.com/forums/showthread.php?t=1213&highlight=PCI+clock

    Attached please find some further analysis/symptoms using cgate & the diag tool.

    Thanks again

    Robert
     

    Attached Files:

    robj, Jan 29, 2006
    #5
  6. robj

    Duncan

    Joined:
    Jul 23, 2004
    Messages:
    925
    Likes Received:
    0
    Location:
    Salinas de Garci Mendoza, Bolivia
    Hi Robert.. its curious that dimmer does appear to giving responses to commands that are just plain wrong.. t it may be faulty.. But its still possible that the Network isn't very healthy.. the amount of traffic that the Diagnostic Tool generates is minimal.. Toolkit requests much more information from each unit and if there is network problems, you're much more likely to expose them whilst using Toolkit than the Diagnostic Software.
     
    Duncan, Jan 30, 2006
    #6
  7. robj

    robj

    Joined:
    Aug 3, 2004
    Messages:
    19
    Likes Received:
    0
    Location:
    Meath, Ireland
    I have used numerous different dimmers. I doubt they are all dodgy. I suspect it to be the PCI as I have swapped everything else out.

    Is there any way to reset a PCI (or indeed any unit) to the factory default settings ?

    I have had better results doing a "tree 254" with cgate when the net status get to "ok". However, the network seems to stay in "sync" status for ages. I don't get "garbled response" until I scan while in "sync" status. How long should it take for a small network to sync ?

    Should I be worried about the java errors. I seem to get them even before I get network errors (eg. garbled response, check sum & unit sync) ?

    Looks like I should invest in a network analyser.

    Robert
     
    robj, Jan 30, 2006
    #7
  8. robj

    ashleigh Moderator

    Joined:
    Aug 4, 2004
    Messages:
    2,393
    Likes Received:
    25
    Location:
    Adelaide, South Australia
    Some obvious checks:

    Make sure you have only a single burden, preferably a plug-in hardware burden.

    A number of units have software selectable burdens - make sure you don't have too many of these turned on. You may have to cut the network back to a PCI + only a few units to be sure.

    Make sure you have 1 or 2 clock generators only.

    Use the process described in that other post to force a restore of the settings in the PCI. (It does not restore everything, but it will ensure that at least the PCI can act as a clock gen.)

    If you had no clock generator, you would know, because nothing at all would work. It sounds like you have marginal comms.

    Lots of people hate us trying to teach them to suck eggs.... but 95% of these problems are caused by having too many burdens, or too few. Using 1 hardware burden should be ok. Using at most 2 software burdens should also be ok. Using none, or having too many turned on / plugged in causes the communication waveform to get mucked up leading to unreliable communication.
     
    ashleigh, Jan 31, 2006
    #8
  9. robj

    JohnC

    Joined:
    Apr 6, 2005
    Messages:
    554
    Likes Received:
    1
    Location:
    Sydney
    Ashleigh, it is highly unlikely to be a burden or cabling issue - read Robj's previous post quoted above

    It sounds to me that the PCI is acting up, or there is a comms issue between PC and PCI (most likely)...

    My 2c, John
     
    JohnC, Jan 31, 2006
    #9
  10. robj

    robj

    Joined:
    Aug 3, 2004
    Messages:
    19
    Likes Received:
    0
    Location:
    Meath, Ireland
    Just to clarify.

    At the moment my network has two units on it connected with a cbus 6-8 inch cable. I have swapped out the dimmer and tried the one I got while on the training course. I have also swapped out the cable (and tested using cable tester).
    It has a hardware burden. I have tried taking the burden out and using a software one in case the hard one is faulty.
    The PCI unit address is 0.
    The 8 channel dimmer has unit address 1. The other dimmer I tested with has address 4.
    Cbus LEDs are on for both units.
    I am using a usb-serial dongle to access the PCI.

    I have reset the PCI using procedure mentioned previously.
    1. Using hyperterm
    2. I typed "~" (no return) the same was echoed back to me
    3. I typed "A33E0001" which was also echoed back to me.
    4. I hit return. The following was the units reply "323E00901" although I suspect that the last "1" in the string is as a result of the unit not sending a carraige return and over writing only the first 8 characters. Is this as expected ?

    I agree the symptoms all suggest a network comms problem but I can't confirm where it is or what it is. I think I have tried all I can with the burden side of things. I can't analyse the clock any more but did the reset as suggested.

    I have ordered a network analyser but would appreciate any other suggestions in the mean time.

    The Clipsal support email I sent hasn't been responded to yet. I did reference this posting. Maybe they will wait until we done as much as we can with this posting. How long does it usually take them to respond ?

    Thanks

    Robert
     
    robj, Jan 31, 2006
    #10
  11. robj

    ashleigh Moderator

    Joined:
    Aug 4, 2004
    Messages:
    2,393
    Likes Received:
    25
    Location:
    Adelaide, South Australia
    OK, in that case its possible either the PCI is dodgy, or the USB-serial converter thats playing up.

    What kind of USB/serial converter is it?

    Clipsal recommend the Dontronics. There are many types, and Clipsal have tested a large number. A large number that are available are not very good.

    Yep, thats normal.

    I now think its more likely to be the PCI being genuinely dodgy, or the USB/serial converter. I don't know that the network analyser is going to help much.

    This forum is informal. Tech support and engineering may or may not read it, and may or may not reply to it. Issues posted here have no effect on their priorities. I'd suggest you either re-send the email, or phone them.

    -----

    EDIT: I've just gone back and re-read the whole thread :) Take the above comments with a grain or two of salt...


    It appears that you had everything working on an older PC, and when you change to the new PC it does not work.

    Is that correct?

    When you used the old PC, were you running the same version of Tooklit?

    When you used the old PC, did it use a real COM port, or the USB->serial converter?

    Are there any other configuration differences between the new PC and the old PC?

    Did you use the same PCI with both PCs?
     
    Last edited by a moderator: Jan 31, 2006
    ashleigh, Jan 31, 2006
    #11
  12. robj

    robj

    Joined:
    Aug 3, 2004
    Messages:
    19
    Likes Received:
    0
    Location:
    Meath, Ireland
    A Sweex. See http://www.sweex.com/product.asp?pid=291
    It is off the shelf from my local PC shop. I would not expect it to be high end :) (if you can get high end usb-serial adapters)
    Two emails, and an attempt at web register that failed with a PHP error:mad: . At this stage an call to Oz might be in order. (I live in Ireland. An email is cheaper:) )
    No worries.
    Yes, I registered my outputs with it. It isn't very stable. The screen drops after a few minutes.
    Not sure. Don't have it here now. I know it was v2 install software on the course I was on but I think it was an early version of the toolkit I used to register outputs. About August last year.
    Real COM
    Old pc was XP professional was 4 years old.
    New is XP Home.
    Both would not be modified much as toolkit is all I use Windows for. I use Linux for everything else.

    Yes.

    Thanks

    R
     
    robj, Feb 1, 2006
    #12
  13. robj

    JohnC

    Joined:
    Apr 6, 2005
    Messages:
    554
    Likes Received:
    1
    Location:
    Sydney
    In light of that info, I reckon it's the USB -> Serial thingy that is causing the problem.

    If the PCI worked on the old PC using real COM port, then it's unlikely to have died. The PCI I use for programming is probably 5 years old, maybe older - but it definitely will not work properly on some USB converters.

    -------------------

    One thing that is worth checking... the Toolkit's PCI "Network Detection" routines act a bit wierdly with Virtual COM ports (USB devices). On mine, when you scan the network it always finds a PCI on COM3 but then "Fail Identify" it. That port is actually the laptop's Internal Modem, but Toolkit thinks it's a PCI.

    Anyway, I have to *ALWAYS* do a "Find Network" rather than "Scan Network" - that lets Toolkit keep serching and after about 5 minutes it finds the real PCI on COM5 or 6 or 7 or whatever XP has decided to allocate it to this time around.

    Since you seem to have connected OK using Hyperterminal, you seem to have found what port's been allocated - just make sure that Toolkit is also finding and communicating with a "true" PCI on the correct port.

    I might be wrong with this, but I had a lot of problems myself with a similar issue and that was the cause for me!

    Good luck - JC

    PS: Is there any way that you can borrow another brand of USB thingy, or perhaps load Toolkit onto a (reliable) PC with physical COM port, perhaps a firend's ?
     
    JohnC, Feb 1, 2006
    #13
  14. robj

    ashleigh Moderator

    Joined:
    Aug 4, 2004
    Messages:
    2,393
    Likes Received:
    25
    Location:
    Adelaide, South Australia
    I've just done some checking.

    The Sweex usb/serial converter uses a Prolific PL-2303 IC made by Prolific in Taiwan (http://www.prolific.com.tw/eng/Products.asp?ID=59).

    I've no idea how good or otherwise this is...

    The ones we recommend use the (expensive) FTDI converter. You can buy them from Dontronics here: http://www.dontronics.com/usb_232.html

    This is an Easysync product - looks like you can buy it in the UK [part number US232B] here: http://www.easysync.co.uk/usbrs232_single.html for (pounds) 22.50. Looks like Easysync have an online store...

    Hope this helps.
     
    ashleigh, Feb 1, 2006
    #14
  15. robj

    robj

    Joined:
    Aug 3, 2004
    Messages:
    19
    Likes Received:
    0
    Location:
    Meath, Ireland
    Thanks guys. New usb-serial on order.

    R
     
    robj, Feb 1, 2006
    #15
  16. robj

    Duncan

    Joined:
    Jul 23, 2004
    Messages:
    925
    Likes Received:
    0
    Location:
    Salinas de Garci Mendoza, Bolivia
    Oh.. havent seen that before.. I've logged it and will try to recreate it.
     
    Duncan, Feb 1, 2006
    #16
  17. robj

    JohnC

    Joined:
    Apr 6, 2005
    Messages:
    554
    Likes Received:
    1
    Location:
    Sydney
    It's very annoying, especially since WinXP re-assigns the COM for the USB, so you never know what Port the PCI is actually running off. When I first set up this "configurator box" that I use for commissioning, I couldn't connect to PCI and couldn't work out why (actually I needed to do Learn Mode to enable it's Clock).

    What happens is that when the (real) PCI won't respond, you think there's one there (on the Modem Port) but it won't connect... hence it seems to be a Toolkit error. I'm an pretty experienced User but this kind of thing would stump a newbie.

    Laptop = Toshiba MPRT 400AOM02 Celeron 1.8GHz

    It wastes about 20+ secs waiting for a response from my internal software Modem (which Toolkit thinks is a PCI), gives up, then only takes about 4-5 secs to Scan and Identify on the correct Port with the PCI connected to it via USB-->COM thingy.

    Attached screen captures :
    - Results of "Find Networks" Scan
    - Device manager details for the Modem

    Hope that helps - advise me if you need more info on the Modem Device

    Thanks, John
     

    Attached Files:

    JohnC, Feb 2, 2006
    #17
  18. robj

    robj

    Joined:
    Aug 3, 2004
    Messages:
    19
    Likes Received:
    0
    Location:
    Meath, Ireland
    robj, Feb 3, 2006
    #18
  19. robj

    robj

    Joined:
    Aug 3, 2004
    Messages:
    19
    Likes Received:
    0
    Location:
    Meath, Ireland
    The USB-Serial adapter recommended by Ashleigh has done the trick.:)

    Thanks all.
     
    robj, Feb 6, 2006
    #19
  20. robj

    ashleigh Moderator

    Joined:
    Aug 4, 2004
    Messages:
    2,393
    Likes Received:
    25
    Location:
    Adelaide, South Australia
    Yay. Thank goodness for that.
     
    ashleigh, Feb 7, 2006
    #20
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.