atprogram hangs for several minutes, then works fine

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

I'm trying to do factory programming with atprogram (I know, use avrdude, this is a mature system so re-writing part of it is the last resort).

 

Most of the time it's fine, but occasionally it hangs after the "Firmware check" for several minutes. Then it continues and finishes as normal with no errors.

 

Has anyone else experienced this?

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

mojo-chan wrote:
... but occasionally it hangs after the "Firmware check" for several minutes. Then it continues and finishes as normal with no errors.
Windows 10 version 1803?

Is the following related to your issue?

Slow compiling - win10 update issue maybe?

by alank2

...

https://www.avrfreaks.net/forum/slow-compiling-win10-update-issue-maybe#comment-2467811

... though honestly the problem seems to be the finishing/closing of a process.  I could open a command prompt, but type exit and enter and you sit there waiting for it to close for some odd reason.  I wonder if that is what causes the slowness in Studio, waiting for processes to close and return their status, again and again.

 

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

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

Windows 7... I think I have fixed it.

 

I noticed that when you run it the first time it asks for network access. I tried blocking it in the Windows firewall so that it only has local (127.0.0.1) access and it doesn't hang any more.

 

Makes sense, long delays are often really long network timeouts.

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

mojo-chan wrote:
often really long network timeouts.

which are often caused by dns lookups with not dns server access!

 

 

Click Link: Get Free Stock: Retire early!

share.robinhood.com/jamesc3274

 

 

 

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

Spoke too soon, it's still not working.