Multiple FTDI Debug ports

Sysprogs forums Forums VisualGDB Multiple FTDI Debug ports

This topic contains 5 replies, has 2 voices, and was last updated by  support 1 week, 5 days ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #28867

    dedvalson
    Participant

    Hi,

    If it is possible, I would like to run two separate instances of Visual Studio debugging two separate devices using two different FTDI JTAG debuggers (interface/ftdi/tumpa.cfg).

    I see the line  target remote :$$SYS:GDB_PORT$$ in the Startup GDB Commands window but I can’t determine where this is set.

    I assume I need to make a copy of the tumpa.cfg file but I don’t quite see what I need to change.

    Can you give me a pointer on where to specify which Tumpa board.

    Thanks,

    Don

     

    #28870

    support
    Keymaster

    Hi,

    We haven’t tested the tumpa adapter directly, but for the directly supported interfaces, VisualGDB can handle multiple instances automatically. Please try locating the %LOCALAPPDATA%\VisualGDB\EmbeddedDebugPackages\com.sysprogs.arm.openocd\QuickSetup\interfaces.xml file and search for Olimex ARM-USB-OCD-H.

    You can create a similar entry for tumpa, specifying:

    • USB VID/PID/interface
    • OpenOCD script file
    • OpenOCD command for setting the serial number (should be ftdi_serial, same as for Olimex)

    You will also need to update the EDP.XML file (search for Olimex ARM-USB-OCD-H again).

    Once you edit the files and restart Visual Studio, Tumpa devices will appear in the “USB Devices” view inside Debug Settings, and VisualGDB will automatically pass the serial number to OpenOCD when it detects multiple instances.

    Feel free to attach the edited files here (please pack them into a .zip or .7z file) and we will ship the changes together with the upcoming OpenOCD updates.

    #28883

    dedvalson
    Participant

    Hi,

    Thanks for the pointer, it worked perfectly.

    I have attached the files.

    This will save me a lot of time.

    Don

    Attachments:
    You must be logged in to view attached files.
    #28886

    support
    Keymaster

    Thanks, we have updated the definitions on our side and will include them in the next release of the OpenOCD package.

    #29241

    dedvalson
    Participant

    Hi,

    I have been using this regularly and it has save me so much effort. I really appreciate your input.

    I wanted to ask if it might be possible to add one more minor feature in a future release. When I pull down the menu “Debug Using” dropdown on the Debug properties page I see 4 “Tumpa” entries since I have 4 boards. Underneath that it does give the USB address in small letters but those are hard to remember. If it would be possible to allow the user to rename these entries (or at least add a 1-4 at the end) that would be very helpful.

    I know this is minor but it would be nice.

     

    Don

     

    #29242

    support
    Keymaster

    Thanks for the suggestion. This is in our roadmap, however as it involves changes beyond a trivial change of IDs, it has a relatively low priority. We should be able to add this feature next time we update the device selection GUI, or if other users request it as well.

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.