Return-Path: Date: Sun, 26 Nov 2006 15:02:56 +0100 (CET) From: Peter Wippich To: BlueZ development In-Reply-To: <456937F3.7090107@xmission.com> Message-ID: References: <456937F3.7090107@xmission.com> MIME-Version: 1.0 Subject: Re: [Bluez-devel] bccmd and usb/uart switching Reply-To: BlueZ development List-Id: BlueZ development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Sender: bluez-devel-bounces@lists.sourceforge.net Errors-To: bluez-devel-bounces@lists.sourceforge.net Hi Brad, On Sat, 25 Nov 2006, Brad Midgley wrote: > Hey > > I am about to switch a bluegiga bluecore4 module from usb to uart/h4 so > I can use it to work on audio stuff using a gumstix. I really can't > afford to brick this thing and documentation is hard to come by... does > it look like > > bccmd psset 0x1f9 3 > bccmd psset 0x3cd 4 > > (to change HOST_INTERFACE & INITIAL_BOOTMODE respectively) is what I > need so the module will respond on the uart at 115k with hw flow control? Be carefull with this module when you want to change configuration !!! They use different "bootmodes" (boot configurations) to switch between different operation modes. If you change anything this will only be changed for the mode you are currently in. According to what I can see from your PS dump the default bootmode (3) configures the module for UART/H4. However, when the module is currently in USB mode either the default bootmode isn't 3 or it must have been rebootet from the VM (wich again is strange because bootmode 3 disables the VM). If you realy want to play with this module only change the bootmode (0x3CD) to 3. This will set up anything to boot for UARt / H4. And to make the change permanent you need to use the default store (see source for bccmd, I never can remember the command options). Good luck, Peter | Peter Wippich Voice: +49 30 46776411 | | G&W Instruments GmbH fax: +49 30 46776419 | | Gustav-Meyer-Allee 25, Geb. 12 Email: pewi@gw-instruments.de | | D-13355 Berlin / Germany | ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Bluez-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel