Hi,

On Wed, Apr 02, 2014 at 09:08:37AM +0200, Andreas Fritiofson wrote:
> On Wed, Apr 2, 2014 at 7:54 AM, Paul Fertser <[1][email protected]> wrote:
>   The trick here is not only waiting but also not using any kind of
>   automouting as simple "mount /dev/sdb /mnt" results in a failure
>   (device apparently needs power-cycling after that) while
>   "mount -t vfat /dev/sdb /mnt" works.
> 
> I had no problems getting the device to mount in Ubuntu 12.04, it was really
> just plug'n'play. Both the bootloader volume and the default mass-storage
> flashing application. 

Strange, while the "opensda" emulated device was immediately
accessible and mountable (I do not remember if I was using -t vfat or
autodetection), the bootloader certainly wasn't.

> However, after upgrading the bootloader to the latest version (with
> support for linux and win 8.1) 

How did you do that? It seems like the way I upgraded to CMSIS-DAP
didn't affect the bootloader anyhow, I'm still getting exactly the
same behaviour as before if I power up the board while reset button is
pressed. I've tried that many times actually, works all the same.

> I managed to reload the latest version of the default application
> onto the blank debugger 

That's something I didn't try at all, I never tried blanking the
debugger itself, and I'm yet to try blanking the target.

> but I couldn't switch to CMSIS-DAP afterwards. Or any other
> application for that matter. The bootloader swallows the s19 file
> but still starts the default application.

I think I mentioned all the steps exactly as I performed them and now
after attaching the board I immediately get:

  idVendor           0xc251 Keil Software, Inc.
  idProduct          0xf002 
  bcdDevice            1.00
  iManufacturer           1 Keil Software
  iProduct                2 OpenSDA CMSIS-DAP
  iSerial                 3 A000000001
  bNumConfigurations      1

And am able to use cmsis-dap OpenOCD driver.

>   <input name="BOARD" type="hidden" id="BOARD" value="FRDM-KL25Z" />
>   <input name="BOOTVER" type="hidden" id="BOOTVER" value="1.01" />
> 
> This is older than the version said to support linux, which is 1.10 I think.

Yet it worked, sort of :)

-- 
Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software!
mailto:[email protected]

------------------------------------------------------------------------------
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to