Re: [avrdude-dev] Remote programming

2013-02-20 Thread Pink Boy
Ing. Daniel Rozsnyó sez,


Is there any way to realise a remote programming with avrdude?

Use case: our AVR device with a bootloader (emulating a programmer) will be 
connected to an ethernet-to-serial converter (well, one which operates over 
cellular network), so on the server side I need to connect to a specific TCP 
port with avrdude, instead of /dev/ttySx or ttyUSBx.

I do just that under Windows (don't tell Joerg) using AVRDude and a Moxa 8 
channel Ethernet to serial converter and a virtual com port driver.  Seems to 
work okay if you're emulating the STK500 protocol.  The STK500.exe utility 
works as well except for it's brain dead limit on ports, COM1-COM8 only.  For 
Xmega's (spit) we had to patch AVRDude to be able to use PDI with a serial port 
not a USB port.

Matt
___
avrdude-dev mailing list
avrdude-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/avrdude-dev


Re: [avrdude-dev] Remote programming

2013-02-20 Thread Erik Walthinsen

On 02/20/2013 10:59 AM, Pink Boy wrote:

For Xmega's (spit) we had to patch AVRDude to be able to use PDI with a serial 
port not a USB port.


I built a gang programmer that uses a PC-side multiplexer program, 
exposing each programming interface as a network socket.  I also had to 
hack avrdude to switch from the unencapsulated USB-based stk500v2 
protocol to an encapsulated protocol when *not* using USB. ;-(


___
avrdude-dev mailing list
avrdude-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/avrdude-dev


[avrdude-dev] Remote programming

2013-02-17 Thread Ing. Daniel Rozsnyó

Is there any way to realise a remote programming with avrdude?

Use case: our AVR device with a bootloader (emulating a programmer) will 
be connected to an ethernet-to-serial converter (well, one which 
operates over cellular network), so on the server side I need to connect 
to a specific TCP port with avrdude, instead of /dev/ttySx or ttyUSBx.


Does anybody want to get sponsored for creating such a patch?

Or would something like remserial be better?
http://lpccomp.bc.ca/remserial/

Thanks,

Daniel


___
avrdude-dev mailing list
avrdude-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/avrdude-dev


Re: [avrdude-dev] Remote programming

2013-02-17 Thread René Liebscher
   Hi,
   in the online documentation of avrdude you find
   ([1]http://www.nongnu.org/avrdude/user-manual/avrdude_4.html#Option-Des
   criptions):
   --
   -P port

   Use port to identify the device to which the programmer is attached.
   Normally, the default parallel port is used, but if the programmer type
   normally connects to the serial port, the default serial port will be
   used. See Appendix A, Platform Dependent Information, to find out the
   default port names for your platform. If you need to use a different
   parallel or serial port, use this option to specify the alternate port
   name.
   ...

   For programmers that attach to a serial port using some kind of higher
   level protocol (as opposed to bit-bang style programmers), port can be
   specified as net:host:port. In this case, instead of trying to open a
   local device, a TCP network connection to (TCP) porton host is
   established. The remote endpoint is assumed to be a terminal or console
   server that connects the network stream to a local serial port where
   the actual programmer has been attached to. The port is assumed to be
   properly configured, for example using a transparent 8-bit data
   connection without parity at 115200 Baud for a STK500.

   This feature is currently not implemented for Win32 systems.
   --
   Did you already try this?
   Kind regards
   Rene
   Am 17.02.2013 18:25, schrieb Ing. Daniel Rozsnyo:

 Is there any way to realise a remote programming with avrdude?
 Use case: our AVR device with a bootloader (emulating a programmer)
 will be connected to an ethernet-to-serial converter (well, one
 which operates over cellular network), so on the server side I need
 to connect to a specific TCP port with avrdude, instead of
 /dev/ttySx or ttyUSBx.
 Does anybody want to get sponsored for creating such a patch?
 Or would something like remserial be better?
 [2]http://lpccomp.bc.ca/remserial/
 Thanks,
 Daniel
 ___
 avrdude-dev mailing list
 [3]avrdude-dev@nongnu.org
 [4]https://lists.nongnu.org/mailman/listinfo/avrdude-dev

References

   1. 
http://www.nongnu.org/avrdude/user-manual/avrdude_4.html#Option-Descriptions
   2. http://lpccomp.bc.ca/remserial/
   3. mailto:avrdude-dev@nongnu.org
   4. https://lists.nongnu.org/mailman/listinfo/avrdude-dev
___
avrdude-dev mailing list
avrdude-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/avrdude-dev