Quantcast

Can't program the LISA/M2 via usb after my OS X upgraded to sierra

classic Classic list List threaded Threaded
2 messages Options
Tom
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Can't program the LISA/M2 via usb after my OS X upgraded to sierra

Tom
Hi,all!
    I found that I can't program my LISA/M2 via usb after that I upgraded my OS X from Yosemite (10.10.5) to sierra (10.12.3).However my apogee is ok. How could I fix it ?Thank you!

Here is the message comes from the paparazzi center:

cd sw/airborne; /Applications/Xcode.app/Contents/Developer/usr/bin/make TARGET=ap upload
Using "arch/stm32/lisa-m.ld" as ldscript for target "ap".
/Users/tom/paparazzi/sw/tools/stm32loader/stm32loader.py -p /dev/ttyUSB0  -b 115200 -e -w -v /Users/tom/paparazzi/var/aircrafts/MY_Z84/ap/ap.bin
Traceback (most recent call last):
  File "/Users/tom/paparazzi/sw/tools/stm32loader/stm32loader.py", line 26, in <module>
    import serial
ImportError: No module named serial
make[1]: *** [upload] Error 1
make: *** [ap.upload] Error 2

FAILED 'make -C /Users/tom/paparazzi -f Makefile.ac AIRCRAFT=MY_Z84 FLASH_MODE=SERIAL ap.upload' with code 2


_______________________________________________
Paparazzi-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Can't program the LISA/M2 via usb after my OS X upgraded to sierra

Yannick Jestin

> On 8 Apr 2017, at 13:15, Tom H <[hidden email]> wrote:
>
> Hi,all!
>     I found that I can't program my LISA/M2 via usb after that I upgraded my OS X from Yosemite (10.10.5) to sierra (10.12.3).However my apogee is ok. How could I fix it ?Thank you!
>
> Here is the message comes from the paparazzi center:
>
> cd sw/airborne; /Applications/Xcode.app/Contents/Developer/usr/bin/make TARGET=ap upload
> Using "arch/stm32/lisa-m.ld" as ldscript for target "ap".
> /Users/tom/paparazzi/sw/tools/stm32loader/stm32loader.py -p /dev/ttyUSB0  -b 115200 -e -w -v /Users/tom/paparazzi/var/aircrafts/MY_Z84/ap/ap.bin
> Traceback (most recent call last):
>   File "/Users/tom/paparazzi/sw/tools/stm32loader/stm32loader.py", line 26, in <module>
>     import serial
> ImportError: No module named serial
> make[1]: *** [upload] Error 1
> make: *** [ap.upload] Error 2

  Looks like your install of python is missing pyserial

  Try to sudo pip install pyserial


  Y.


_______________________________________________
Paparazzi-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
Loading...