Post Go back to editing

DEMO 2376A (featuring LTC 2664-16) with Linduino 2026C: "failed to download file from... /D2668.txt" when running Update LTC2668 and Similar

Category: Software
Product Number: DEMO 2376 with Linduino 2026C
Software Version: em2668 version 1.2.4.0

I am trying to use DEMO 2376A featuring LTC2664-16.  Before programming my own controller, I am trying to use it with the Linduino 2026C, which I have purchased as a kit along with DC934A featuring LTC2607.  

I managed to use quikeval if using DC934A, it recognizes LTC2607, all fine.  Once I connect DEMO 2376A to Linduino, and run again QuikEval K117, it returns "Cannot load COM module for device".  I have found on the forum a posting that tells all the module that can be downloaded manually, ins266.msi in my case.  Have downloaded, ran it, it created 2 applications: Update LTC2668 and Similar, and LTC2668 and Similar.  When running Update... and error message is produced:

If I run then LTC2668 and Similar, the application starts ok

but then:

I click on Reset, then Quit:

then Continue, then the application starts, I enter 2V and Update All, which returns and error message, and clicking Continue does not result in any changes to the outputs of the digital to analog converters.  

Please advise.

Daniel



Reviewed post
[edited by: GenevaCooper at 8:38 PM (GMT -4) on 6 Sep 2023]
[unlocked by: GenevaCooper at 8:44 PM (GMT -4) on 6 Sep 2023]
Parents
  • Hi Everyone,

    Thanks for the responses for this thread, we really appreciate it.

    Hi  ,

    Again, we would like to apologize for the inconvenience the issue has caused you. We dived into this issue further and you may try these solutions:

    Looking through the code, this is a pretty fundamental error, and the most likely cause really is a bad ID string. (The error is reported by the app, but is actually found in the low-level API that isn’t looking for any particular ID string, just that it is correctly formatted.)

    There are two reasons for a bad ID string:
    1. EEPROM corruption
    2. The customer has a part-specific sketch loaded on the Linduino, instead of the DC590 emulator sketch, which is needed for use in QuikEval GUIs.

    The easiest way to get the ID string is to use a serial terminal. If the customer has the Arduino IDE, they can use the serial monitor, or they can use Termite or PuTTY or something else. They just need to set the COM port, and make sure the Baud rate is 115200. After that they need to send the string IZ (uppercase i and uppercase z) and send us the string they get back in response. The expected string is:
    LTC2664-16,Cls,D2668,01,01,DC,DC2376A-A,--------

    One way that doesn’t require any downloads but is a bit trickier is to use PowerShell, which comes with Windows. Here is a recipe (for each step that starts with “Enter” they should copy or type the text, and then press the enter key)
    1. In the start menu search for PowerShell and click “Windows PowerShell”
    2. Enter the following command and note the port number or numbers:
    [System.IO.Ports.SerialPort]::getportnames()
    You should see something like COM3 get returned, if you get multiple, you may have to try some or all of them, but usually the last one in the list is the right one, since the Linduino is often the last USB device plugged in.
    3. Enter the following, but replace COM3 with the correct port number you got from the step above:
    $port= new-Object System.IO.Ports.SerialPort COM3,115200,None,8,one
    4. Now Enter each of the following, as written
    $port.open()
    $port.ReadLine()
    $port.WriteLine("IZ")
    $port.ReadLine()
    $port.close()
    5. Hopefully when you enter the second $port.ReadLine() you will get a string that starts with LTC and ends with a bunch of dashes, that is the ID string we need.
    There is a possibility that you may need to skip the first $port.ReadLine(). The “IZ” string is an uppercase i and uppercase z.

    Best Regards,

    Den

Reply
  • Hi Everyone,

    Thanks for the responses for this thread, we really appreciate it.

    Hi  ,

    Again, we would like to apologize for the inconvenience the issue has caused you. We dived into this issue further and you may try these solutions:

    Looking through the code, this is a pretty fundamental error, and the most likely cause really is a bad ID string. (The error is reported by the app, but is actually found in the low-level API that isn’t looking for any particular ID string, just that it is correctly formatted.)

    There are two reasons for a bad ID string:
    1. EEPROM corruption
    2. The customer has a part-specific sketch loaded on the Linduino, instead of the DC590 emulator sketch, which is needed for use in QuikEval GUIs.

    The easiest way to get the ID string is to use a serial terminal. If the customer has the Arduino IDE, they can use the serial monitor, or they can use Termite or PuTTY or something else. They just need to set the COM port, and make sure the Baud rate is 115200. After that they need to send the string IZ (uppercase i and uppercase z) and send us the string they get back in response. The expected string is:
    LTC2664-16,Cls,D2668,01,01,DC,DC2376A-A,--------

    One way that doesn’t require any downloads but is a bit trickier is to use PowerShell, which comes with Windows. Here is a recipe (for each step that starts with “Enter” they should copy or type the text, and then press the enter key)
    1. In the start menu search for PowerShell and click “Windows PowerShell”
    2. Enter the following command and note the port number or numbers:
    [System.IO.Ports.SerialPort]::getportnames()
    You should see something like COM3 get returned, if you get multiple, you may have to try some or all of them, but usually the last one in the list is the right one, since the Linduino is often the last USB device plugged in.
    3. Enter the following, but replace COM3 with the correct port number you got from the step above:
    $port= new-Object System.IO.Ports.SerialPort COM3,115200,None,8,one
    4. Now Enter each of the following, as written
    $port.open()
    $port.ReadLine()
    $port.WriteLine("IZ")
    $port.ReadLine()
    $port.close()
    5. Hopefully when you enter the second $port.ReadLine() you will get a string that starts with LTC and ends with a bunch of dashes, that is the ID string we need.
    There is a possibility that you may need to skip the first $port.ReadLine(). The “IZ” string is an uppercase i and uppercase z.

    Best Regards,

    Den

Children