Failed firmware upgrade: LoPY on Mac OS X 10.11
-
I am trying to update the firmware, no success. I have verified that the serial port indeed works and the FTDI drivers are in place.
The LoPy is installed on an expansion board.
The PyCom upgrade says, Result:
This is the log of the upgrading process:
Connecting....Failure!
And this is what I see on /var/log/system.log. Of course I have no clue wether it's normal or not, the "troubleshooting" section on the documentation seems to mean that absolutely no trouble can happen. Ever.
Nov 30 13:04:48 atlasII launchservicesd[100]: SecTaskLoadEntitlements failed error=22
Nov 30 13:04:48 --- last message repeated 2 times ---
Nov 30 13:04:48 atlasII Python[479]: WARNING: The Gestalt selector gestaltSystemVersion is returning 10.9.6 instead of 10.11.6. This is not a bug in Gestalt -- it is a documented limitation. Use NSProcessInfo's operatingSystemVersion property to get correct system version number.
Call location:
Nov 30 13:04:48 atlasII Python[479]: 0 CarbonCore 0x00007fff9894c6df ___Gestalt_SystemVersion_block_invoke + 113
Nov 30 13:04:48 atlasII Python[479]: 1 libdispatch.dylib 0x00007fff9d46e40b _dispatch_client_callout + 8
Nov 30 13:04:48 atlasII Python[479]: 2 libdispatch.dylib 0x00007fff9d46e303 dispatch_once_f + 67
Nov 30 13:04:48 atlasII Python[479]: 3 CarbonCore 0x00007fff988d8fbc _Gestalt_SystemVersion + 987
Nov 30 13:04:48 atlasII Python[479]: 4 CarbonCore 0x00007fff988d87d0 Gestalt + 139
Nov 30 13:04:48 atlasII Python[479]: 5 QtCore 0x0000000107f37690 ZN16QSettingsPrivate6createEN9QSettings6FormatENS0_5ScopeERK7QStringS5 + 80
Nov 30 13:04:48 atlasII Python[479]: 6 QtCore 0x0000000107f18c82 _ZN9QSettingsC1ERK7QStringS2_P7QObject + 34
Nov 30 13:04:48 atlasII lsd[295]: LaunchServices: Could not store lsd-identifiers file at /private/var/db/lsd/com.apple.lsdschemes.plist
Nov 30 13:04:49 atlasII appleeventsd[74]: SecTaskLoadEntitlements failed error=22
Nov 30 13:04:51 atlasII launchservicesd[100]: SecTaskLoadEntitlements failed error=22
Nov 30 13:05:00 --- last message repeated 1 time ---
Nov 30 13:05:00 atlasII com.apple.xpc.launchd[1] (com.apple.xpc.launchd.domain.pid.Python.479): Could not resolve origin of domain. XPC services in this domain's bundle will not be bootstrapped: error = 107: Malformed bundle, taint = missing executable
Nov 30 13:05:06 atlasII launchservicesd[100]: SecTaskLoadEntitlements failed error=22
Nov 30 13:05:30 --- last message repeated 1 time ---
Nov 30 13:05:30 atlasII WindowServer[230]: _CGXRemoveWindowFromWindowMovementGroup: window 0x40 is not attached to window 0x3f
Nov 30 13:05:36 atlasII Safari[453]: KeychainGetICDPStatus: keychain: -25300
Nov 30 13:05:36 atlasII Safari[453]: KeychainGetICDPStatus: status: off
Nov 30 13:05:48 atlasII ntpd[236]: time set +0.624648 s
Nov 30 13:05:57 atlasII WindowServer[230]: _CGXRemoveWindowFromWindowMovementGroup: window 0x40 is not attached to window 0x3f
-
I can confirm firmware upgrade tool works fine on 10.11.6 which I am running on a MacBook Pro. I had one failure of the type reported on this thread (I am flashing 14 LoPys) but retired it and it worked fine second attempt.
-
I retried, no luck. And yes, it took several seconds. I will maybe try updating a couple of WiPy I got, although they are shelved for now. I need the LoPy units to actually play with LoRa.
On the bright side, I loved to see this on a SDR receiver:
-
@borjam, no clues. It should work on 10.11 (I'm running 10.11.6 now). I know is a silly question to ask, but, did you retry? Does it fail instantly or takes a few seconds before failing?
-
It just worked on 10.12, different machine. The 10.11 is a Mac Pro, the 10.12 is a Macbook Air.
I guess there is some requirements information missing. Any clues? I can try to find out if you give me some pointers.