On 2/04/2014 7:57 PM, Andreas Fritiofson wrote:



On Wed, Apr 2, 2014 at 10:44 AM, Andreas Fritiofson <[email protected] <mailto:[email protected]>> wrote:


    I just noticed that I can switch between the applications from
    Pemicro, but none of the ones in the Quick Start Package, even the
    one with the same name/version. I'll try the mbed too. Maybe I can
    downgrade the bootloader if the applications depend on a specific
    version.


WTF, just compared the files with the same name, one worked, one didn't. The were in fact identical! I was just dragging them from file-roller to the bootloader volume. I guess the bootloader is very dependent on how the copying is done and that file-roller does thing differently for the different zip files. Because if I extract the CMSIS-DAP file and do a regular cp, it works just like with your device.

Now the question is which CMSIS-DAP fw to use...

/Andreas


I've been using these boards recently and found the same thing on windows, copying a .bin with explorer / teracopy resulted in it not working (I could read the file back off the drive, but it never flashed) however copying from command prompt works every time.

I'm a big fan of mbed these days, great community support, but I'm not using their debug firmware for frdm as on mac the mbed freedom code mounts on the computer as a drive for about 10 seconds then the board resets. Also on linux the cmsis-dap wasn't working for me with openocd, giving lots of strange errors, while the keil cmsis-dap code was working ok. Sounds similar to the problem Paul had under linux with the failed mount, not sure if there's any way for me to get around it on mac though (my primary platform) other than running the debugger in a vm which I've done plenty of times.

Just quietly though, after trying everything I could find, right now I'm using USBDM for board firmware and debug host instead and not using openocd at all, it's debugging quicker and more stably for me. Gives the virtual usb serial port as well like mbed as a simple comms channel from target chip to pc too. After I settled on this as my preferred choice I found out it's written by my old uni professor too, which I quite like.

Cheers,
Andrew
------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to