It is currently Wed Jul 06, 2011 8:22 pm

All times are UTC - 8 hours




 Page 1 of 1 [ 3 posts ] 
Author Message
 Post subject: error running compileandload.py on Mac OS X 10.6.6
PostPosted: Fri Apr 01, 2011 1:39 pm 

Joined: Fri Apr 01, 2011 1:35 pm
Posts: 7
Greetings,

I got the watch, downloaded the latest SDK 1.1.1 on the Mac (10.6.6). When try to run python compileandload.py -d 00:50:xx:xx:xx:xx following the instruction, I got the response error below. If I tried to run make for compile (not sure if needed), it failed saying arm-none-eabi-gcc: No such file or directory.

Can someone point me out what I did wrong? Thanks!


python compileandload.py -d 00:50:xx:xx:xx:xx
use correct syntax
About to load firmware
/Users/xxxx/Downloads/pulse_sdk/build/pulse_app.bin
trying to connect to:
localhost
.
4
.
4
.
.
Using Old packet format:
True
Traceback (most recent call last):
File "compileandload.py", line 60, in <module>
flashbinary(options.bdaddr, bin_file, write_addr, False)
File "/Users/xxxx/Downloads/pulse_sdk/tools/bt_python/flashbin.py", line 39, in flashbinary
f = open(binfile, 'rb')
IOError: [Errno 2] No such file or directory: '/Users/xxxx/Downloads/pulse_sdk/build/pulse_app.bin'


Offline
 Profile  
 
 Post subject: Re: error running compileandload.py on Mac OS X 10.6.6
PostPosted: Mon Apr 04, 2011 12:41 pm 

Joined: Tue Feb 15, 2011 10:35 pm
Posts: 42
Quote:
python compileandload.py -d 00:50:xx:xx:xx:xx
-d specifies the bluetooth address of the watch, so make sure to correctly input the device address after the -d flag.

Quote:
IOError: [Errno 2] No such file or directory: '/Users/xxxx/Downloads/pulse_sdk/build/pulse_app.bin'
It seems that there is no compiled binary in the /build directory of the SDK. Run python compileandload.py -c to compile the code in the /src directory. Once the app has been compiled you can send it over to the watch by running the python script with the -d and bluetooth address.

Quote:
If I tried to run make for compile (not sure if needed), it failed saying arm-none-eabi-gcc: No such file or directory.
The makefile is for local compiling on linux which requires an additional library. You can also locally compile in the ubuntu VM (see linux guide if interested).


Offline
 Profile  
 
 Post subject: Re: error running compileandload.py on Mac OS X 10.6.6
PostPosted: Tue Apr 05, 2011 9:53 pm 

Joined: Fri Apr 01, 2011 1:35 pm
Posts: 7
Thanks Ryan. You suggestion "Run python compileandload.py -c to compile" works. Thanks a lot!


Offline
 Profile  
 
Display posts from previous:  Sort by  
 Page 1 of 1 [ 3 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: