Evaluation and multiple programming

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

Hello all!

I got to a phase where need to program several avrs (tiny) and afterwards evaluate how good is my board performing. Therefore, how to approach multiple board programming?

Have tried simple connection with bringing MOSI as synchronous connection while switching power and ground to individual board, but it does not work due to pull-up resistors...

Therefore, how to tackle this? One idea is to “isolate” each board to make a discrete connection... with a simple analog rotary switch...

Indeed, my evaluation is still far away, need to firstly find a way to program several units at once...

Any ideas are welcome,

Best.

PS I know there are services where (eg PIC) programs delivered chips... but this is out of the question atm.

Bravo!!!

Last Edited: Wed. Apr 3, 2019 - 10:47 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

How many boards are you talking about? Surely it's ust easy to plug the programmer into each one in turn and program them separately?

 

(ISP is a two way dialog so once you put more than one (active) slave in the mix you are in for a fun time!)

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

Thank you for your reply, thinking to program about 400...

 

BTW are there companies that provide such programmers?

 

Best.

Bravo!!!

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

mu234 wrote:
Thank you for your reply, thinking to program about 400...

Why your need for speed?   At a minute for each unit,  your looking at less then a day to program all your boards assuming only one person doing the programming.

With four or five stations, that is less then an hour....

Yes there are gang programmers, but for only 400 units, it will be cost prohibitive!!! 

 

 

Jim

 

Click Link: Get Free Stock: Retire early! PM for strategy

share.robinhood.com/jamesc3274

 

 

 

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

If you put programming pads on the bottom of your board, then you can have a bed of nails programming fixture.

Hold the board & press it down onto the programming pins.

While holding board down,click on program. Wait 5 seconds for program to download.

Put board aside & grab next board.

repeat

 

You could probably program 6 boards a minute that way.  Its much faster than fooling around with cables (though that probably only doubles the time)

 

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

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

Thanks, plan no. 2 ,

However, somehow I need to first try and see how to upload code in 5 sec, I am on usbasp and have not yet tried to upload the code the fastest way with avrdude. In addition, will it work for at tiny?

Best.

best.

Bravo!!!

Last Edited: Thu. Apr 4, 2019 - 01:59 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hello!

 

I have sorted fast programming, less than 3sec, which is very good,

it looks I will program each board individually,

indeed, Gang programmers are prohibitively expensive,

 

anyway, I am wondering, will I be able to program at that speed the chip straight from the factory (on 1Mhz by default)...?

 

Best.

Bravo!!!

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

That depends, what speed did you use to program the current chip that you did in 3 secs?

At default speed of 1mhz your isp speed cannot exceed 250khz

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

You could put a special boot loader in each of the 400 chips.  Have a terminal program transmit the hex ascii to all 400 at the same time with a fixed delay at the end of each text line.  That way there is only one way communication.  If the serial speed is slow enough it could be reliable.  Even if it takes ten times the 5 seconds, all 400 are done at once. 

 

You could put a serial number, an address, in each chip's eeprom.  That way you could, with some protocol, find out if they all were successful or which ones weren't.