simonqian.openocd wrote:
> Yes, the MCU I will use is SAM3U.

You may be able to reuse some code from OsmoSDR in that case.


> > DHCP server in the MCU is important for usability. I think the CDC
> > Ethernet interface class is quite widely compatible and is also a
> > good choice for good usability.
> 
> A static IP address can be used, and add an entry to the route
> table will do it.

That is really really bad usability.


> Of course, DHCP can be a plus, but there is possibility of conflict
> with current internet network.

Yes.

I would also consider vendor specific class. Starting with Windows 8
you can implement some Microsoft-specific USB extensions (0xee string
descriptor and one type=vendor recipient=device control request) to
make WinUSB bind and load to the device automatically within
milliseconds without .inf .cat .sys files, device drivers, or user
prompts.

It can also be made to work on XPsp2 and later, with a preparatory
one-time driver install.

Once WinUSB is in place libusb can be used without risk for
conflicts and without any system settings.

Would then use a very simple TCP server that proxies GDB
communication to the device.

User experience on all systems becomes:

Plug in device
Double click GDB server icon
=> Done


The only way to do something better is IMO with a device that joins
an existing network, as opposed to one that creates a new network.
The Carambola hardware is really a good fit for that type solution.
USB could be used for power supply, while GDB communication uses wifi.

If OpenOCD already interfaces Linux gpio to bitbang JTAG then the
entire software development effort is less than 10 hours.


//Peter

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to