It is currently Wed Jul 06, 2011 7:33 pm

All times are UTC - 8 hours




 Page 1 of 1 [ 5 posts ] 
Author Message
 Post subject: Uploading Code - Finicky
PostPosted: Sun Apr 10, 2011 2:44 pm 

Joined: Wed Mar 23, 2011 9:35 am
Posts: 54
Does the watch always have to be "rebooted" back to the starting Bluetooth Pairing screen to receive code? It seems pretty finicking when I try to upload code from my Mac 10.6.7 where it can't connect if an app is running.

Also, it seems like *what* app is already on the watch will dictate how easy it is to get the watch to the "pairing" screen in the first place. For example, the sample app (yellow square) is pretty easy while the example Psychodelic Clock is damn near impossible. Meaning, you hold down the button for awhile and it while it buzzes/etc like it is going to reset, it just goes right back into the Clock app and you can't upload any code. Takes literally 10+ tries.

Still learning. Any thoughts appreciated.


Offline
 Profile  
 
 Post subject: Re: Uploading Code - Finicky
PostPosted: Sun Apr 10, 2011 5:37 pm 

Joined: Tue Feb 15, 2011 10:35 pm
Posts: 42
You're correct, it does depend on the app currently on the watch. If the app is doing a lot of processing (i.e. the psychedelic clock or doomed) the only way to switch apps is by putting it into VLF (blue pair screen) and then transferring it. Otherwise you can send a new app while running the old one; it is recommended to use this method if possible because the transfer will be much quicker.


Offline
 Profile  
 
 Post subject: Re: Uploading Code - Finicky
PostPosted: Sun Apr 10, 2011 5:49 pm 

Joined: Wed Mar 23, 2011 9:35 am
Posts: 54
@Ryan. Thanks, that helps.

Is there a foolproof way to alway go back to the VLF screen? Press and hold doesn't always work. For example, the Psychodelic Clock I get the "sad mac" screen with 0x0000bbbb (if memory serves) a lot. Then I release the button and it goes right back to the app

Should every app have a pulse_update_power_down_timer(LARGE_TIMEOUT) both on init and button_down to make sure that the watch will go to sleep after a large_timeout with no interaction to prevent the resident app from "spin locking" the watch and causing havok like this?

Thanks,


Offline
 Profile  
 
 Post subject: Re: Uploading Code - Finicky
PostPosted: Sun Apr 10, 2011 5:55 pm 
User avatar

Joined: Mon Feb 14, 2011 7:07 pm
Posts: 172
Ah, if you're getting the 0x0000bbbb error, that means you're holding down the button for a bit too long. You need to hold down the button just until 'loading...' is displayed on screen. Then you need to let go!



_________________
---

Lead designer of inPulse
Offline
 Profile  
 
 Post subject: Re: Uploading Code - Finicky
PostPosted: Sun Apr 10, 2011 5:57 pm 

Joined: Sun Feb 27, 2011 11:32 am
Posts: 71
MonkeyEnFuego wrote:
Is there a foolproof way to alway go back to the VLF screen?

My experience after a few hundred reflashings was that 20 seconds was the length of time: at ten seconds it would reboot to the app, and then at twenty it would print "Loading..." and I would release the button as it started the VLF. If I continued to hold the button beyond the loading message, it would give me the same unhappy 0xbbbb message.


Offline
 Profile  
 
Display posts from previous:  Sort by  
 Page 1 of 1 [ 5 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: