Skip to content

Instantly share code, notes, and snippets.

@exiva
Created May 26, 2015 21:07
Show Gist options
  • Save exiva/b110cbc0818cd340b642 to your computer and use it in GitHub Desktop.
Save exiva/b110cbc0818cd340b642 to your computer and use it in GitHub Desktop.
$ pebble install --debug --emulator basalt
[WARNING ] You are not logged in with your Pebble Account and will not be able to receive remote pins in the emulator. Please run 'pebble login' to connect your Pebble account.
[INFO ] Starting Pebble basalt emulator...
[DEBUG ] Required QEMU file not found: /Users/travis/Library/Application Support/Pebble SDK/basalt/3.0-beta12/qemu/qemu_spi_flash.bin
[DEBUG ] Copying basalt SPI image to /Users/travis/Library/Application Support/Pebble SDK/basalt/3.0-beta12/qemu/qemu_spi_flash.bin
[DEBUG ] QEMU command: /usr/local/Cellar/pebble-sdk/3.0-beta12/Pebble/common/qemu/qemu-system-arm_Darwin_x86_64 -rtc base=localtime -s -serial file:/dev/null -serial tcp::12344,server,nowait -serial tcp::12345,server,nowait -machine pebble-snowy-bb -cpu cortex-m4 -pflash /usr/local/Cellar/pebble-sdk/3.0-beta12/Pebble/basalt/qemu/qemu_micro_flash.bin -pflash /Users/travis/Library/Application Support/Pebble SDK/basalt/3.0-beta12/qemu/qemu_spi_flash.bin -pidfile /var/folders/t8/91qstp8174g9lyhrd_19ctxc0000gn/T/pebble-qemu.pid
[INFO ] Starting phone simulator...
2015-05-26 17:06:20.570 qemu-system-arm_Darwin_x86_64[86933:2317212] ApplePersistence=NO
STM32_UART WARNING: Read value from USART_DR while it was empty.
Namespace(debug=False, layout='/usr/local/Cellar/pebble-sdk/3.0-beta12/Pebble/basalt/qemu/layouts.json', oauth=None, pbws=[], persist='/Users/travis/Library/Application Support/Pebble SDK/basalt/3.0-beta12', port=12342, qemu='localhost:12344', ssl_root=None, token=None)
No handlers could be found for logger "pypkjs"
INFO:root:Connected to emulator at localhost:12344
[ERROR ] Could not connect to phone at localhost:12342. Ensure that 'Developer Connection' is enabled in the Pebble app.
Traceback (most recent call last):
File "/usr/local/Cellar/pebble-sdk/3.0-beta12/Pebble/common/phonesim/phonesim.py", line 30, in <module>
runner.run()
File "/usr/local/Cellar/pebble-sdk/3.0-beta12/Pebble/common/phonesim/runner/websocket.py", line 53, in run
self.pebble.connect()
File "/usr/local/Cellar/pebble-sdk/3.0-beta12/Pebble/common/phonesim/pebble_manager.py", line 26, in connect
self.watch_version_info = self.pebble.get_versions()
File "/usr/local/Cellar/pebble-sdk/3.0-beta12/Pebble/common/phonesim/pebblecomm/pebble.py", line 920, in get_versions
return EndpointSync(self, "VERSION").get_data()
File "/usr/local/Cellar/pebble-sdk/3.0-beta12/Pebble/common/phonesim/pebblecomm/pebble.py", line 504, in get_data
raise PebbleError(None, "Timed out... Is the Pebble phone app connected/direct BT connection up?")
pebblecomm.pebble.PebbleError: Timed out... Is the Pebble phone app connected/direct BT connection up? (ID:None)
PFLASH: Possible BUG - pflash_write: unknown command for Programming
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment