<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to 27: Problem in bringing up NI GPIB_USB_H+adapator in raspberrypi 3 model b+ </title><link href="https://sourceforge.net/p/linux-gpib/support-requests/27/" rel="alternate"/><link href="https://sourceforge.net/p/linux-gpib/support-requests/27/feed.atom" rel="self"/><id>https://sourceforge.net/p/linux-gpib/support-requests/27/</id><updated>2020-04-22T22:25:07.933000Z</updated><subtitle>Recent changes to 27: Problem in bringing up NI GPIB_USB_H+adapator in raspberrypi 3 model b+ </subtitle><entry><title>#27 Problem in bringing up NI GPIB_USB_H+adapator in raspberrypi 3 model b+ </title><link href="https://sourceforge.net/p/linux-gpib/support-requests/27/?limit=25&amp;page=1#bfcb/2f85/eba3" rel="alternate"/><published>2020-04-22T22:25:07.933000Z</published><updated>2020-04-22T22:25:07.933000Z</updated><author><name>Frank Mori Hess</name><uri>https://sourceforge.net/u/fmhess/</uri></author><id>https://sourceforge.net027121dd21ff6cb277eb677e6787e0c3f305a750</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Ok, I've finished my first attempt at a firmware loader for the hs+.  Get it here:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/fmhess/hsplus_load" rel="nofollow"&gt;https://github.com/fmhess/hsplus_load&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;if you try it, let me know how it goes.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#27 Problem in bringing up NI GPIB_USB_H+adapator in raspberrypi 3 model b+ </title><link href="https://sourceforge.net/p/linux-gpib/support-requests/27/?limit=25&amp;page=1#bfcb/2f85" rel="alternate"/><published>2020-04-17T00:32:08.778000Z</published><updated>2020-04-17T00:32:08.778000Z</updated><author><name>Frank Mori Hess</name><uri>https://sourceforge.net/u/fmhess/</uri></author><id>https://sourceforge.net1bbe842f4777044e3b56a1801d1d2dc8dd983fec</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hmm this is not the usual ezusb initialization.  It looks straightforward though, I could probably write a little C program and libusb to do the firmware load.  What I see in the capture is:&lt;/p&gt;
&lt;p&gt;packets 23 and 24:&lt;br/&gt;
control read with bRequest 144&lt;br/&gt;
response: 0x7618 (little endian) which is the product id the HS+ will have post initialization&lt;/p&gt;
&lt;p&gt;packets 25 and 26:&lt;br/&gt;
control write with bRequest 145, data is a 4 byte integer which gives the number of 1st stage data bytes which will follow (0x5ea6 or 24230 decimal)&lt;/p&gt;
&lt;p&gt;packets 27 to 38:&lt;br/&gt;
control writes with bRequest 146 containing the 24230 1st stage data bytes in 4096 byte chunks maximum&lt;/p&gt;
&lt;p&gt;packets 39 and 40:&lt;br/&gt;
control read with bRequest 147.  Reads back zero, so maybe checking for an error?&lt;/p&gt;
&lt;p&gt;packets 41 and 42:&lt;br/&gt;
control write with bRequest 148 and wValue 0x100.  Not sure what this does.&lt;/p&gt;
&lt;p&gt;packets 43 and 44:&lt;br/&gt;
bulk read of 4 bytes with value 0xc0.  Not sure what this means.&lt;/p&gt;
&lt;p&gt;packets 45 and 46:&lt;br/&gt;
control write with bRequest 160 of 4 bytes with value 0xde12 (56850 decimal).  This is the number of 2nd stage data bytes which will follow over the bulk endpoint.&lt;/p&gt;
&lt;p&gt;packets 47 and 48:&lt;br/&gt;
bulk read of 4 bytes with value 0x2.  Not sure what this means.&lt;/p&gt;
&lt;p&gt;packets 49 to 52:&lt;br/&gt;
bulk writes of 2nd stage firmware data in chunks of maximum size 32768. &lt;/p&gt;
&lt;p&gt;packets 53 and 54:&lt;br/&gt;
bulk read of 4 bytes with value 0x1.  Not sure what this means.&lt;/p&gt;
&lt;p&gt;packets 55 and 56:&lt;br/&gt;
control write with bRequest 162.  This completes the initialization and the adapter reenumerates as a functional HS+&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#27 Problem in bringing up NI GPIB_USB_H+adapator in raspberrypi 3 model b+ </title><link href="https://sourceforge.net/p/linux-gpib/support-requests/27/?limit=25&amp;page=1#3277/fe1f" rel="alternate"/><published>2020-04-16T18:44:22.114000Z</published><updated>2020-04-16T18:44:22.114000Z</updated><author><name>Frank Mori Hess</name><uri>https://sourceforge.net/u/fmhess/</uri></author><id>https://sourceforge.net1a6c71dcdaef8f5f5d968755b10c1196acbe8622</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;All HS+ do that.  It is because the Linux driver was updated to support the HS which doesn't have the analyzer.  The HS+ is mostly compatible with the HS but there is some difference which affects the led state.  Noone has ever bothered to look into it.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#27 Problem in bringing up NI GPIB_USB_H+adapator in raspberrypi 3 model b+ </title><link href="https://sourceforge.net/p/linux-gpib/support-requests/27/?limit=25&amp;page=1#bfcb/a432" rel="alternate"/><published>2020-04-16T18:41:14.001000Z</published><updated>2020-04-16T18:41:14.001000Z</updated><author><name>Frank Mori Hess</name><uri>https://sourceforge.net/u/fmhess/</uri></author><id>https://sourceforge.net4c14c141f079ba94e169376e233e910c23af54ca</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Ah thanks.  This looks good, it appears to have the firmware upload.  I'll let you know when I have something you can test.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#27 Problem in bringing up NI GPIB_USB_H+adapator in raspberrypi 3 model b+ </title><link href="https://sourceforge.net/p/linux-gpib/support-requests/27/?limit=25&amp;page=1#3277" rel="alternate"/><published>2020-04-16T18:21:33.569000Z</published><updated>2020-04-16T18:21:33.569000Z</updated><author><name>Athira</name><uri>https://sourceforge.net/u/athi/</uri></author><id>https://sourceforge.netd0c496736ddaa48a6d8e9ee189ae4cbd5af3a00e</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;also when connected to windows the hs+ showsamber light. But whenconnected to same raspberrypi(raspbian) it blinks between amber and green.  Still the gpib_config command works andlooks  like it is up.  do you know if this is a matter of concern ?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#27 Problem in bringing up NI GPIB_USB_H+adapator in raspberrypi 3 model b+ </title><link href="https://sourceforge.net/p/linux-gpib/support-requests/27/?limit=25&amp;page=1#1689/0080/9cba" rel="alternate"/><published>2020-04-16T18:13:40.393000Z</published><updated>2020-04-16T18:13:40.393000Z</updated><author><name>Athira</name><uri>https://sourceforge.net/u/athi/</uri></author><id>https://sourceforge.net9aaa94681b32be8ce3dbf7d131088c498bea2b42</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;well then would it be not possible to connect the device to  linux for first time ?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#27 Problem in bringing up NI GPIB_USB_H+adapator in raspberrypi 3 model b+ </title><link href="https://sourceforge.net/p/linux-gpib/support-requests/27/?limit=25&amp;page=1#bfcb" rel="alternate"/><published>2020-04-16T18:09:02.499000Z</published><updated>2020-04-16T18:09:02.499000Z</updated><author><name>Athira</name><uri>https://sourceforge.net/u/athi/</uri></author><id>https://sourceforge.net45cf55ba706817879f87aaca519a40ef21274ab8</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi frank&lt;/p&gt;
&lt;p&gt;I connected a newHS+ device first time to windows and have capturedthe following attached. We can see here that device id changes fro  761e to 7618.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#27 Problem in bringing up NI GPIB_USB_H+adapator in raspberrypi 3 model b+ </title><link href="https://sourceforge.net/p/linux-gpib/support-requests/27/?limit=25#1689" rel="alternate"/><published>2020-04-16T09:06:04.468000Z</published><updated>2020-04-16T09:06:04.468000Z</updated><author><name>Athira</name><uri>https://sourceforge.net/u/athi/</uri></author><id>https://sourceforge.net3394adf51e8eda1fa9e5e0837605c3c857900f0f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello Frank&lt;/p&gt;
&lt;p&gt;The lsusb -v gives the following :&lt;/p&gt;
&lt;p&gt;Bus 001 Device 004: ID 3923:7618 National Instruments Corp. &lt;br/&gt;
Couldn't open device, some information will be missing&lt;br/&gt;
Device Descriptor:&lt;br/&gt;
  bLength                18&lt;br/&gt;
  bDescriptorType         1&lt;br/&gt;
  bcdUSB               2.00&lt;br/&gt;
  bDeviceClass            0 &lt;br/&gt;
  bDeviceSubClass         0 &lt;br/&gt;
  bDeviceProtocol         0 &lt;br/&gt;
  bMaxPacketSize0        64&lt;br/&gt;
  idVendor           0x3923 National Instruments Corp.&lt;br/&gt;
  idProduct          0x7618 &lt;br/&gt;
  bcdDevice            1.00&lt;br/&gt;
  iManufacturer           1 &lt;br/&gt;
  iProduct                2 &lt;br/&gt;
  iSerial                 3 &lt;br/&gt;
  bNumConfigurations      1&lt;br/&gt;
  Configuration Descriptor:&lt;br/&gt;
    bLength                 9&lt;br/&gt;
    bDescriptorType         2&lt;br/&gt;
    wTotalLength       0x004c&lt;br/&gt;
    bNumInterfaces          2&lt;br/&gt;
    bConfigurationValue     1&lt;br/&gt;
    iConfiguration          0 &lt;br/&gt;
    bmAttributes         0x80&lt;br/&gt;
      (Bus Powered)&lt;br/&gt;
    MaxPower              500mA&lt;br/&gt;
    Interface Descriptor:&lt;br/&gt;
      bLength                 9&lt;br/&gt;
      bDescriptorType         4&lt;br/&gt;
      bInterfaceNumber        0&lt;br/&gt;
      bAlternateSetting       0&lt;br/&gt;
      bNumEndpoints           5&lt;br/&gt;
      bInterfaceClass       255 Vendor Specific Class&lt;br/&gt;
      bInterfaceSubClass      0 &lt;br/&gt;
      bInterfaceProtocol      0 &lt;br/&gt;
      iInterface              6 &lt;br/&gt;
      Endpoint Descriptor:&lt;br/&gt;
        bLength                 7&lt;br/&gt;
        bDescriptorType         5&lt;br/&gt;
        bEndpointAddress     0x01  EP 1 OUT&lt;br/&gt;
        bmAttributes            2&lt;br/&gt;
          Transfer Type            Bulk&lt;br/&gt;
          Synch Type               None&lt;br/&gt;
          Usage Type               Data&lt;br/&gt;
        wMaxPacketSize     0x0200  1x 512 bytes&lt;br/&gt;
        bInterval             100&lt;br/&gt;
      Endpoint Descriptor:&lt;br/&gt;
        bLength                 7&lt;br/&gt;
        bDescriptorType         5&lt;br/&gt;
        bEndpointAddress     0x82  EP 2 IN&lt;br/&gt;
        bmAttributes            2&lt;br/&gt;
          Transfer Type            Bulk&lt;br/&gt;
          Synch Type               None&lt;br/&gt;
          Usage Type               Data&lt;br/&gt;
        wMaxPacketSize     0x0200  1x 512 bytes&lt;br/&gt;
        bInterval             100&lt;br/&gt;
      Endpoint Descriptor:&lt;br/&gt;
        bLength                 7&lt;br/&gt;
        bDescriptorType         5&lt;br/&gt;
        bEndpointAddress     0x83  EP 3 IN&lt;br/&gt;
        bmAttributes            3&lt;br/&gt;
          Transfer Type            Interrupt&lt;br/&gt;
          Synch Type               None&lt;br/&gt;
          Usage Type               Data&lt;br/&gt;
        wMaxPacketSize     0x0010  1x 16 bytes&lt;br/&gt;
        bInterval               4&lt;br/&gt;
      Endpoint Descriptor:&lt;br/&gt;
        bLength                 7&lt;br/&gt;
        bDescriptorType         5&lt;br/&gt;
        bEndpointAddress     0x04  EP 4 OUT&lt;br/&gt;
        bmAttributes            2&lt;br/&gt;
          Transfer Type            Bulk&lt;br/&gt;
          Synch Type               None&lt;br/&gt;
          Usage Type               Data&lt;br/&gt;
        wMaxPacketSize     0x0200  1x 512 bytes&lt;br/&gt;
        bInterval             100&lt;br/&gt;
      Endpoint Descriptor:&lt;br/&gt;
        bLength                 7&lt;br/&gt;
        bDescriptorType         5&lt;br/&gt;
        bEndpointAddress     0x85  EP 5 IN&lt;br/&gt;
        bmAttributes            2&lt;br/&gt;
          Transfer Type            Bulk&lt;br/&gt;
          Synch Type               None&lt;br/&gt;
          Usage Type               Data&lt;br/&gt;
        wMaxPacketSize     0x0200  1x 512 bytes&lt;br/&gt;
        bInterval             100&lt;br/&gt;
    Interface Descriptor:&lt;br/&gt;
      bLength                 9&lt;br/&gt;
      bDescriptorType         4&lt;br/&gt;
      bInterfaceNumber        1&lt;br/&gt;
      bAlternateSetting       0&lt;br/&gt;
      bNumEndpoints           2&lt;br/&gt;
      bInterfaceClass       255 Vendor Specific Class&lt;br/&gt;
      bInterfaceSubClass      0 &lt;br/&gt;
      bInterfaceProtocol      0 &lt;br/&gt;
      iInterface              7 &lt;br/&gt;
      Endpoint Descriptor:&lt;br/&gt;
        bLength                 7&lt;br/&gt;
        bDescriptorType         5&lt;br/&gt;
        bEndpointAddress     0x86  EP 6 IN&lt;br/&gt;
        bmAttributes            2&lt;br/&gt;
          Transfer Type            Bulk&lt;br/&gt;
          Synch Type               None&lt;br/&gt;
          Usage Type               Data&lt;br/&gt;
        wMaxPacketSize     0x0200  1x 512 bytes&lt;br/&gt;
        bInterval             100&lt;br/&gt;
      Endpoint Descriptor:&lt;br/&gt;
        bLength                 7&lt;br/&gt;
        bDescriptorType         5&lt;br/&gt;
        bEndpointAddress     0x87  EP 7 IN&lt;br/&gt;
        bmAttributes            3&lt;br/&gt;
          Transfer Type            Interrupt&lt;br/&gt;
          Synch Type               None&lt;br/&gt;
          Usage Type               Data&lt;br/&gt;
        wMaxPacketSize     0x0020  1x 32 bytes&lt;br/&gt;
        bInterval               4&lt;/p&gt;
&lt;p&gt;the device id is changed to 7618.And theadaptor seems to be working with linux even after power on and off.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#27 Problem in bringing up NI GPIB_USB_H+adapator in raspberrypi 3 model b+ </title><link href="https://sourceforge.net/p/linux-gpib/support-requests/27/?limit=25#cd89" rel="alternate"/><published>2020-04-15T15:26:52.874000Z</published><updated>2020-04-15T15:26:52.874000Z</updated><author><name>Athira</name><uri>https://sourceforge.net/u/athi/</uri></author><id>https://sourceforge.net04149ad9005c984699297841e9df57f99017f66a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;So after connecting towindows , I disconnected it and connected to raspberry pi (raspbian ) and looks like th edriver is up. this means the firmware was already loaded to it from Windows sidewhen it was connected ?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#27 Problem in bringing up NI GPIB_USB_H+adapator in raspberrypi 3 model b+ </title><link href="https://sourceforge.net/p/linux-gpib/support-requests/27/?limit=25#449e" rel="alternate"/><published>2020-04-15T12:45:03.750000Z</published><updated>2020-04-15T12:45:03.750000Z</updated><author><name>Athira</name><uri>https://sourceforge.net/u/athi/</uri></author><id>https://sourceforge.net8dad93e290332ed7b9f27d0196279ebd472b6879</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi Frank&lt;/p&gt;
&lt;p&gt;I just captured the belowusing wireshark. Does this help ?&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>