paparazzi-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Paparazzi-devel] Could not find STM32 device


From: Piotr Esden-Tempski
Subject: Re: [Paparazzi-devel] Could not find STM32 device
Date: Fri, 25 Jul 2014 13:51:43 -0700

Yes something like that.

Added the appropriate patch to the pull request:
https://github.com/paparazzi/paparazzi/pull/778

I used a wildcard for the version number, to make it forward/backward 
compatible:
https://github.com/esden/paparazzi/commit/b5e973655c1c27ad72bbfacc72637c1ac2ec8e91


On Jul 25, 2014, at 13:48, John Voegeli <address@hidden> wrote:

> So something like:
> 
> ATTR{manufacturer}==“1 BIT SQUARED", ATTR{product}=="Lisa/M V2.1
> (Upgrade)*", GROUP="plugdev"
> 
> 
> On 7/25/14, 4:46 PM, "Piotr Esden-Tempski" <address@hidden> wrote:
> 
>> Yes "1 BIT SQUARED" should be added to the udev script too.
>> 
>> On Jul 25, 2014, at 13:39, John Voegeli <address@hidden> wrote:
>> 
>>> Piotr that is what I get as well. The udev rule looks like this (default
>>> from vanilla version of Paparazzi):
>>> 
>>> ATTR{manufacturer}=="Transition Robotics Inc.", ATTR{product}=="Lisa/M
>>> (Upgrade)*", GROUP=³plugdev"
>>> 
>>> Should it be different to match? I am not very good with udev rules.
>>> 
>>> 
>>> 
>>> On 7/25/14, 4:25 PM, "Piotr Esden-Tempski" <address@hidden> wrote:
>>> 
>>>> Just to make sure this is the output I am getting connecting a Lisa/M:
>>>> 
>>>> $ sudo lsusb -v
>>>> [snip]
>>>> Bus 003 Device 002: ID 1d50:600f OpenMoko, Inc.
>>>> Device Descriptor:
>>>> bLength 18
>>>> bDescriptorType 1
>>>> bcdUSB 2.00
>>>> bDeviceClass 0 (Defined at Interface level)
>>>> bDeviceSubClass 0
>>>> bDeviceProtocol 0
>>>> bMaxPacketSize0 64
>>>> idVendor 0x1d50 OpenMoko, Inc.
>>>> idProduct 0x600f
>>>> bcdDevice 1.00
>>>> iManufacturer 1 1 BIT SQUARED
>>>> iProduct 2 Lisa/M V2.1 (Upgrade) V1.1
>>>> iSerial 3 LM21005 35FFDC053256383336622143
>>>> bNumConfigurations 1
>>>> Configuration Descriptor:
>>>> bLength 9
>>>> bDescriptorType 2
>>>> wTotalLength 27
>>>> bNumInterfaces 1
>>>> bConfigurationValue 1
>>>> iConfiguration 0
>>>> bmAttributes 0xc0
>>>> Self Powered
>>>> MaxPower 100mA
>>>> Interface Descriptor:
>>>> bLength 9
>>>> bDescriptorType 4
>>>> bInterfaceNumber 0
>>>> bAlternateSetting 0
>>>> bNumEndpoints 0
>>>> bInterfaceClass 254 Application Specific Interface
>>>> bInterfaceSubClass 1 Device Firmware Update
>>>> bInterfaceProtocol 2
>>>> iInterface 4 @Internal Flash /0x08000000/4*002Ka,124*002Kg
>>>> Device Firmware Upgrade Interface Descriptor:
>>>> bLength 9
>>>> bDescriptorType 33
>>>> bmAttributes 9
>>>> Will Detach
>>>> Manifestation Intolerant
>>>> Upload Unsupported
>>>> Download Supported
>>>> wDetachTimeout 255 milliseconds
>>>> wTransferSize 2048 bytes
>>>> bcdDFUVersion 1.1a
>>>> Device Status: 0x0000
>>>> (Bus Powered)
>>>> [snip]
>>>> 
>>>> OpenMoko is correct. We are using the free device IDs generously
>>>> provided by OpenMoko.
>>>> 
>>>> Cheers,
>>>> Piotr
>>>> 
>>>> On 07/25/2014 12:47 PM, John Voegeli wrote:
>>>>> Yes Felix I sure do. I originally has a bad cable causing it not to
>>>>> power correctly, but since then it does the cylon flashing pattern
>>>>> when plugged in USB.
>>>>> 
>>>>> 
>>>>> Sent from my iPhone
>>>>> 
>>>>> On Jul 25, 2014, at 15:42, "Felix Ruess" <address@hidden
>>>>> <mailto:address@hidden>> wrote:
>>>>> 
>>>>>> Hi,
>>>>>> 
>>>>>> the board does not seem to be in bootloader mode, it should show up
>>>>>> as Lisa/M
>>>>>> Do you see the LEDs flashing like this
>>>>>> https://wiki.paparazziuav.org/wiki/Lisa/M_v2.0#Using_luftboot ?
>>>>>> 
>>>>>> Cheers, Felix
>>>>>> 
>>>>>> 
>>>>>> On Fri, Jul 25, 2014 at 5:52 PM, John Voegeli <address@hidden
>>>>>> <mailto:address@hidden>> wrote:
>>>>>> 
>>>>>>   Does not work with sudo either. Tried that last night I thought
>>>>>>   maybe a permissions issues as well. It just says it cannot find
>>>>>> it.
>>>>>> 
>>>>>>   From: AFISH <address@hidden
>>>>>>   <mailto:address@hidden>>
>>>>>>   Reply-To: Paparazzi UAV devel list <address@hidden
>>>>>>   <mailto:address@hidden>>
>>>>>>   Date: Friday, July 25, 2014 at 11:47 AM
>>>>>>   To: Paparazzi UAV devel list <address@hidden
>>>>>>   <mailto:address@hidden>>
>>>>>>   Cc: Paparazzi UAV devel list <address@hidden
>>>>>>   <mailto:address@hidden>>
>>>>>> 
>>>>>>   Subject: Re: [Paparazzi-devel] Could not find STM32 device
>>>>>> 
>>>>>>   Try to run sudo ./paparazzi, if you get link established, it will
>>>>>>   shows you need add to some group
>>>>>>   ‹
>>>>>>   Sent from Mailbox <https://www.dropbox.com/mailbox> for iPhone
>>>>>> 
>>>>>> 
>>>>>>   On Fri, Jul 25, 2014 at 10:16 AM, John Voegeli
>>>>>>   <address@hidden <mailto:address@hidden>> wrote:
>>>>>> 
>>>>>>       Yes I have permission I followed those steps... Here is the
>>>>>>       output for the device that shows up when plugging in the Lisa
>>>>>>       M to USB.
>>>>>> 
>>>>>>       Bus 002 Device 003: ID 1d50:600f OpenMoko, Inc.
>>>>>>       Couldn't open device, some information will be missing
>>>>>>       Device Descriptor:
>>>>>>       bLength 18
>>>>>>       bDescriptorType 1
>>>>>>       bcdUSB 2.00
>>>>>>       bDeviceClass 0 (Defined at Interface level)
>>>>>>       bDeviceSubClass 0
>>>>>>       bDeviceProtocol 0
>>>>>>       bMaxPacketSize0 64
>>>>>>       idVendor 0x1d50 OpenMoko, Inc.
>>>>>>       idProduct 0x600f
>>>>>>       bcdDevice 1.00
>>>>>>       iManufacturer 1
>>>>>>       iProduct 2
>>>>>>       iSerial 3
>>>>>>       bNumConfigurations 1
>>>>>>       Configuration Descriptor:
>>>>>>       bLength 9
>>>>>>       bDescriptorType 2
>>>>>>       wTotalLength 27
>>>>>>       bNumInterfaces 1
>>>>>>       bConfigurationValue 1
>>>>>>       iConfiguration 0
>>>>>>       bmAttributes 0xc0
>>>>>>       Self Powered
>>>>>>       MaxPower 100mA
>>>>>>       Interface Descriptor:
>>>>>>       bLength 9
>>>>>>       bDescriptorType 4
>>>>>>       bInterfaceNumber 0
>>>>>>       bAlternateSetting 0
>>>>>>       bNumEndpoints 0
>>>>>>       bInterfaceClass 254 Application Specific Interface
>>>>>>       bInterfaceSubClass 1 Device Firmware Update
>>>>>>       bInterfaceProtocol 2
>>>>>>       iInterface 4
>>>>>>       Device Firmware Upgrade Interface Descriptor:
>>>>>>       bLength 9
>>>>>>       bDescriptorType 33
>>>>>>       bmAttributes 9
>>>>>>       Will Detach
>>>>>>       Manifestation Intolerant
>>>>>>       Upload Unsupported
>>>>>>       Download Supported
>>>>>>       wDetachTimeout 255 milliseconds
>>>>>>       wTransferSize 2048 bytes
>>>>>>       bcdDFUVersion 1.1a
>>>>>> 
>>>>>> 
>>>>>>       ________________________________________
>>>>>>       From:
>>>>>>       address@hidden
>>>>>> 
>>>>>> <mailto:address@hidden>
>>>>>>       <address@hidden
>>>>>> 
>>>>>> <mailto:address@hidden>>
>>>>>>       on behalf of Piotr Esden-Tempski <address@hidden
>>>>>>       <mailto:address@hidden>>
>>>>>>       Sent: Friday, July 25, 2014 3:18 AM
>>>>>>       To: Paparazzi UAV devel list
>>>>>>       Subject: Re: [Paparazzi-devel] Could not find STM32 device
>>>>>> 
>>>>>>       Hi John,
>>>>>> 
>>>>>>       Do you have permissions to access the DFU device?
>>>>>> 
>>>>>> 
>>>>>> http://wiki.paparazziuav.org/wiki/Installation/Linux#Udev_rules
>>>>>> 
>>>>>>       If you run lsusb -v is the Lisa/M listed?
>>>>>> 
>>>>>>       Cheers,
>>>>>>       Piotr
>>>>>> 
>>>>>>       On Jul 24, 2014, at 20:57, John Voegeli
>>>>>>       <address@hidden <mailto:address@hidden>>
>>>>>> wrote:
>>>>>> 
>>>>>>> Hey all,
>>>>>>> 
>>>>>>> Sorry if this has been answered before. I googled and
>>>>>>       searched all over the site and could not find anything. I
>>>>>>       have the new Lisa M 2.1 and I am trying to flash it however I
>>>>>>       keep getting Could not find STM32 (autopilot) device Failed
>>>>>>       messages. I have tried everything and am at a loss. Any
>>>>>>       suggestions?
>>>>>>> _______________________________________________
>>>>>>> Paparazzi-devel mailing list
>>>>>>> address@hidden
>>>>>> <mailto:address@hidden>
>>>>>>> https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>>>>>> 
>>>>>> 
>>>>>>       _______________________________________________
>>>>>>       Paparazzi-devel mailing list
>>>>>>       address@hidden <mailto:address@hidden>
>>>>>>       https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>>>>>> 
>>>>>>       _______________________________________________
>>>>>>       Paparazzi-devel mailing list
>>>>>>       address@hidden <mailto:address@hidden>
>>>>>>       https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>>   _______________________________________________
>>>>>>   Paparazzi-devel mailing list
>>>>>>   address@hidden <mailto:address@hidden>
>>>>>>   https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>>>>>> 
>>>>>> 
>>>>>> _______________________________________________
>>>>>> Paparazzi-devel mailing list
>>>>>> address@hidden <mailto:address@hidden>
>>>>>> https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>>>>> 
>>>>> 
>>>>> _______________________________________________
>>>>> Paparazzi-devel mailing list
>>>>> address@hidden
>>>>> https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>>>> 
>>>> 
>>>> _______________________________________________
>>>> Paparazzi-devel mailing list
>>>> address@hidden
>>>> https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>>> 
>>> 
>>> _______________________________________________
>>> Paparazzi-devel mailing list
>>> address@hidden
>>> https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>> 
>> 
>> _______________________________________________
>> Paparazzi-devel mailing list
>> address@hidden
>> https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
> 
> _______________________________________________
> Paparazzi-devel mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/paparazzi-devel




reply via email to

[Prev in Thread] Current Thread [Next in Thread]