Post Go back to editing

Arduino uno not connect with quickeval software

Hi i use a arduino uno with FT232RL from ftdi chip for convert UART to USB as Linduino use, i upload to my arduino the sketchbook DC590B and i can take the message "hello" from my serial port wich that mean sketchbook have  successfully upoload and work , but the problem is that can not connect with QuickEval software, where is the problem?

thanks

Parents
  • Hi Yiannis,

    So QuikEval and the individual, part-specific example sketches are mutually exclusive. QuikEval requires that the "DC590 emulator" sketch be loaded:

    https://github.com/analogdevicesinc/Linduino/blob/master/LTSketchbook/Utilities/DC590B/DC590B.ino

    This sketch is a command interpreter and not really useful aside from using with QuikEval.

    The idea is, get the hardware up and running with QuikEval GUI, then move on to the part-specific sketch for further application development.

    What eval board are you connecting the Linduino to? Note that QuikEval will not do anything without an additional eval board connected, as it queries an identification EEPROM. But you do say that you see the "hello" message in the terminal, which is to be expected from the DC590 emulator, so perhaps this is the problem?

    Another possibility - are you trying to run QuikEval with the Arduino terminal open? If so, the terminal will claim the USB serial port, and QuikEval won't be able to access it. Try closing the terminal, and the Arduino IDE, too, just to be extra sure.

    A screenshot, and even a photo of your setup may also help.

    -Mark

  • Realizing I overlooked the consequences of your Arduino setup. QuikEval also requires that the FTDI chip have the following string for a description:

    USB SERIAL CONTROLLER

    You would need to download the FTprog utility from FTDI to program this in. But if this does not work right away, there might be some other subtlety that I haven't thought of.

    Even after getting that sorted out, you'd need to either wire your ARduino's I2C bus to the eval board's EEPROM, or implement a hack in the DC590 emulator that's not terribly difficult, but might not be worth the effort.

    Again, depending on which part you're using, the QuikEval GUI may just be intended to show signs of life and basic functionality. (Not always true though.) The part-specific drivers and code examples tend to be much more useful. And once we know which part you're using, we can move the discussion to the appropriate product forum.

    -Mark

  • That's great! Glad to hear you're up and running.

    Here's the strings I was able to turn up:

    LTC6811-1,Cls,D6811-1,01,01,DC,DC2259A,---------

    LTC6811-2,Cls,D6811-2,01,01,DC,DC2260A,---------

    LTC6813-1,Cls,D6813-1,01,01,DC,DC2350A,---------

    I don't see a string for the LTC6812 though - they SHOULD be all in the same internal database, but this is an old "ecosystem" so things may have drifted a bit.

    Could you post a new question in the Battery Management System Q&A?

    Or alternatively, see if hooking up your Arduino's I2C bus to the ID EEPROM works, noting that you should revert to the "standard" DC590 emulator sketch.

    Run the "I" command and save the string, just in case you want to use with the "spoof" technique.

    -Mark

  • Hi Mark i don't have words to thank you.
    To mention that i use my own board with LTC6804-1 and without EEPROM..
    It possible to i download the similar folder for 6811?(LTC/MultiCellbatteryMonitor/LTC6804) from a specific adress or i must to do the above procidure and automatically folder downloaded as i do for LTC6804?
    Thanks a lot Mark!
    Yiannis

  • Glad I can be of help. I don't fully understand your question - what do you mean by download a folder? If you mean "spoofing" the EEPROM string for additional boards to get the GUI to load, this should be fine. But you might want to make a couple of copies of the "enhanced" DC590 sketch (which will have to live in their own folders to keep the Arduino IDE happy), to help stay organized. Or you can just put all strings into a single sketch, and leave only one un-commented, whichever works better for you.

    Is your end goal to use the example Linduino drivers in your end system, and port the examples to some other processor? It sounds like you are able to use the GUI effectively, but often times the purpose of a GUI is to get signs of life, basic evaluation, then throw it away and move to writing your own firmware.

    At this point - I'm at the end of my knowledge about these parts. I can continue to help trying to get the "infrastructure" to do what you want in this conversation. But if you have follow on questions about specific details, better to start a new thread in the battery management forum:

    ez.analog.com/.../

    -Mark

  • Hi Mark

    My goal was to use sketchbook of Linduino to Arduino uno and use GUI with my own boards of LTC6804 and LTC6811 to understant better how its work all things together, so latter to make somothing similar acording to me needs, with your help my goal was achieved.

    About folder:

    when i added the id //#define spoof_board_id "LTC6804-1,Cls,D6804-1,01,01,DC,DC1894A,---------" on line 71 of"enhanced" DC590 sketch and run the GUI, automatically was start a instalation of LTC6804,( can see the screenshot) my question is if i can to that by manually to find and install that.

    thanks a lot mark!

  • Gotcha! I think I see what you mean. I believe SOME evaluation board manuals point to the individual installer files, but I took a quick look at one of the LTC6804 and didn't find it.

    , do we have a list of installers published somewhere?

    -Mark

  • And Jeremy pointed out the obvious - Page 3 in the demo manual says:

    "The LTC6804 Graphic User Interface (GUI) is provided in a zipped file, LTC6804_GUI_Vxx_yyyymmdd.zip"

    And the link is here:

    https://www.analog.com/en/design-center/evaluation-hardware-and-software/evaluation-boards-kits/dc1942c.html#eb-relatedsoftware

    Apparently the main purpose of installing QuikEval is to get the drivers installed (there are a couple of Legacy Linear Tech programs that install the same set of drivers), after which, I believe you don't have to run QuikEval any more, just pay attention to where the GUI was installed.

    -Mark

  • Thanks a lot MArk!

    and this is my last question

    In  DEMO MANUAL DC2259A says: SOFTWARE SETUP To use the DC2026 USB interface board, download the free program called QuikEvalTm from http://www.linear. com/designtools/software. The GUI program is provided in a zipped file (LTC6804/6811_ GUI_Vxx.zip):

    i tray but i do not find.

    Thanks a lot 

    Yiannis

  • Hi Mark

    Thanks alot for your help, without you will not be able to achieve my goal!

    Also i learn something new stuff from you!

    Have a nice week!

  • No problem! this was a nice trip down almost 20 years of Linear Tech / ADI demo board history Slight smile

Reply Children
No Data