TCP to ISP programmer

Go To Last Post
17 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Dear All,

I am looking for a programmer that be used for the implementation of a remote upgrade tool for ATmega devices (using the ISP peripheral).

This programmer should have a TCP interface to download the new file and to control the upgrade process.

Any ideias where I can find this kind of programmer?

Best regards,

Matias

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 1

RaspberryPi? SSH into the RPi, run avrdude or what-ever through your favorite hardware programming device.

 

Jim

Jim Wagner Oregon Research Electronics, Consulting Div. Tangent, OR, USA http://www.orelectronics.net

Last Edited: Fri. Feb 14, 2020 - 12:52 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I have also done that with R-Pi, here are my notes (they have collected some dust).

 

https://github.com/epccs/Driver/...

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

"Dare to be naïve." - Buckminster Fuller

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

matias1234 wrote:
Any ideias where I can find this kind of programmer?
A subset of MPLAB X :

Remote USB Debugging Plugin Overview - Developer Help

...

 

Benefits and Considerations

Although a VNC service may be used to connect a host and remote computer to access remote tools, the Remote USB Debugging plug-in provides a lightweight remote solution with better debugging response time. This means the remote machine does not require the MPLAB X IDE to be installed.

All that is required on the remote machine are the MPLAB Communications Library and JRE from MPLAB X IDE v3.40 (or later), but not the entire MPLAB X IDE application. This means the remote machine can be small like a Raspberry Pi.

The support of an Ethernet connection means you can work from your office desk and communicate with a remote system in the lab. However, attempting to communicate over long distances can produce delays and glitches inherent in long-distance connections.

 

...

 

    • Raspberry Pi 3

 

...

MPLAB X v5.30 is beta for most AVR though may be functional for your megaAVR.

https://www.avrfreaks.net/forum/come-join-us-mplab-now-supports-avrs?page=5#comment-2789911

 

"Dare to be naïve." - Buckminster Fuller

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0


Can you draw a "system diagram" of your proposed design? is it something like:

 

 

or is it more like:

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

 

clawson wrote:

Wouldn't necessarily need to be a "Big" micro ...

 

EDIT

 

I'm not sure if  matias1234 is interested in how to make one - or just want to buy one ready made?

 

Also, whether this is something that needs to be integrated into the "product" ?

 

Top Tips:

  1. How to properly post source code - see: https://www.avrfreaks.net/comment... - also how to properly include images/pictures
  2. "Garbage" characters on a serial terminal are (almost?) invariably due to wrong baud rate - see: https://learn.sparkfun.com/tutorials/serial-communication
  3. Wrong baud rate is usually due to not running at the speed you thought; check by blinking a LED to see if you get the speed you expected
  4. Difference between a crystal, and a crystal oscillatorhttps://www.avrfreaks.net/comment...
  5. When your question is resolved, mark the solution: https://www.avrfreaks.net/comment...
  6. Beginner's "Getting Started" tips: https://www.avrfreaks.net/comment...
Last Edited: Fri. Feb 14, 2020 - 10:13 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

If it's got a MAC/Phy (for example) the chances are that it is.

 

PS what I'm basically trying to get at is whether an Ethernet/WiFi bootloader within the AVR is a possible solution?

Last Edited: Fri. Feb 14, 2020 - 10:15 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 2

matias1234 wrote:

I am looking for a programmer that be used for the implementation of a remote upgrade tool for ATmega devices (using the ISP peripheral).

This programmer should have a TCP interface to download the new file and to control the upgrade process.

Any ideias where I can find this kind of programmer?

I hope no-one is offended if I toot my own horn here: https://www.tindie.com/products/...

 

Works great with avrdude. Feel free to contact me for more details.

 

Steve

Maverick Embedded Technologies Ltd. Home of wAVR and Maven.

wAVR: WiFi AVR ISP/PDI/uPDI Programmer.

Maven: WiFi ARM Cortex-M Debugger/Programmer

https://www.maverick-embedded.co...

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I hope no-one is offended if I toot my own horn here: https://www.tindie.com/products/...

 

This looks interesting...can it wirelessly program my chip while using Atmel Studio to write my code (using the standard studio popups for programming code & fuses)?

 

I see some vague mention that this is not the preferred way...why?  Is there something wrong?  please explain

 

I have no interest in avrdude, unless someone can give me a reason why I should have an interest.

When in the dark remember-the future looks brighter than ever.   I look forward to being able to predict the future!

Last Edited: Fri. Feb 14, 2020 - 10:11 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

avrcandies wrote:

can it wirelessly program my chip while using Atmel Studio to write my code (using the standard studio popups for programming code & fuses)?

 

Maybe. If Atmel Studio can invoke an external tool to program the target device then it might be usable.

 

The preferred way is avrdude from the command line, but that's just my preference and I know this isn't for everyone.

 

Its sister product (Cortex-M debugger/programmer) is much more usable from GUI IDEs since the GDB Server protocol is more widely supported.

 

Steve

 

Maverick Embedded Technologies Ltd. Home of wAVR and Maven.

wAVR: WiFi AVR ISP/PDI/uPDI Programmer.

Maven: WiFi ARM Cortex-M Debugger/Programmer

https://www.maverick-embedded.co...

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Maybe. If Atmel Studio can ...

it might be usable.

 

Maybe?  Seems like a simple question that would be well known for a product touted as a better AVR programmer...does this work with the standard Atmel development system programming menus?  If not, why not?--would seem like a serious oversight.  Or simply state that it does not workl --no one want's to purchase based upon maybe!

When in the dark remember-the future looks brighter than ever.   I look forward to being able to predict the future!

Last Edited: Sat. Feb 15, 2020 - 12:57 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

The "maybe" was in response to you asking if it worked natively (which I took to mean WiFi) with AS. It has been tested with AS over USB and is functional as a programmer, but I'm fully aware that it can't compete price-wise with the cheap eBay USB programmers. That's not its purpose. To take advantage of the WiFi interface, avrdude is the way to go. I understand this isn't for everyone. It's a very low-volume hobby project of mine to fill in the gaps between contracts. Nothing more.

 

I'll desist from horn tooting here from now on.

 

Steve

Maverick Embedded Technologies Ltd. Home of wAVR and Maven.

wAVR: WiFi AVR ISP/PDI/uPDI Programmer.

Maven: WiFi ARM Cortex-M Debugger/Programmer

https://www.maverick-embedded.co...

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

 I'm fully aware that it can't compete price-wise with the cheap eBay USB programmers. 

 Who said anything at all about cheap programmers?  I am only possibly interested in it as a wireless programmer for my Atmel studio setup (since I've got plenty of wired programmers: five stk500's and 2 or 3 official AVRISP MKII  programmers & a handful of dragons). So (and still unclear), can this other unit be a wireless replacement?  OK, it (somewhat evasively) sounds like only through avrdude, but why the shortcoming?  I am interested in a wireless programmer that works like any wired studio programmer.

When in the dark remember-the future looks brighter than ever.   I look forward to being able to predict the future!

Last Edited: Sat. Feb 15, 2020 - 03:08 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

avrcandies wrote:
sounds like only through avrdude

 

I have used avrdude with AS7, but I prefer using it in my Makefile, the way AS7 works with avrdude is too clever for my taste, it's like any GUI that tries to use a CLI tool.

 

update: the qute was wrong

Last Edited: Sat. Feb 15, 2020 - 04:46 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

"Dare to be naïve." - Buckminster Fuller

Last Edited: Sat. Feb 15, 2020 - 06:40 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

"Dare to be naïve." - Buckminster Fuller

Last Edited: Sun. Feb 16, 2020 - 01:03 AM