From: simonqian.openocd <sim...@gm...> - 2012-11-30 04:31:24
|
Hello, OK, I think I will be able to port Versaloon into the new interface organization. > ps/2: Where did you see A9xCPU for $40? :-) Not A9xCPU for $40, but a total solution for $40, of course it's the price for large quantity order. It's not open to the public now, I'll get contact with them these days. On taobao.com (which is something like ebay in China), you can even find some miniPC (android based console without screen, but has hdmi) are sold at $30 - $40. I have ported Versaloon driver to Android 4.0+ with Usb OTG feature, aims at some industry solutions, which will be a great cost down to original solutions. Users can simply develop applications on Android with my library to communicate with some specified peripherals. simonqian.openocd From: CeDeROM Date: 2012-11-30 03:38 To: simonqian.openocd CC: openocd-devel Subject: Re: Re: [OpenOCD-devel] openocd+libswd call for testing work in progress... On Thu, Nov 29, 2012 at 6:55 AM, simonqian.openocd <sim...@gm...> wrote: > For SWD, some more wise device is necessary to speed up. > I'll try to add my code into the latest libswd when ready. Hello Simon :-) I have made some preparations for the OpenOCD to accept different solutions for transport implementation - its called Interface Feature. When you do a Setup of a Transport, a feature will be searched on a currently selected Interface. You should provide your own feature definition for a Versaloon (this was previously named dap_ops and you probably already have it working). If no SWD feature is provided by an Interface, by default LibSWD is tried. If your Interface provide "transfer" and "bitbang" methods, LibSWD will work on that too :-) In this new Interface organization all interfaces should provide minimal generic "transfer" and "bitbang" functions, and they can provide their own Features for additional tasks. If the feature has no dedicated implementation for that given interface, a generic one will be used based on "transfer" and "bitbang" methods and some generic feature. Best regards :-) Tomek ps/2: Where did you see A9xCPU for $40? :-) -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info |