WTS: Standalone PDI/ISP Auto Programmers

Go To Last Post
88 posts / 0 new

Pages

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

With my old keyfob programmers I had several with version STICKERS on them, didn't trust the production line programmer to get it right otherwise (..that would be me...).

John Samperi

Ampertronics Pty. Ltd.

www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly

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

js wrote:

With my old keyfob programmers I had several with version STICKERS on them, didn't trust the production line programmer to get it right otherwise (..that would be me...).

 

I thought about doing that too.  The price of this automatic programmer is so reasonable you can easily afford to have multiple quantities.

 

GTO_04

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

GTO_04 - I do sell them on eBay, but I prefer not to pay their fees if you don't mind contacting me via PM here.  Let me know what you need and can send a Paypal payment request.

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

alank2 wrote:

It starts with 3 to let you know how many there are, and if you hold the button right then, it will program #3.  A single tap will rollover to #1.

 

Generally you don't want to use the MMS feature with someone who isn't savvy.  Alternatively you could provide instructions.  Yes, disconnect/reconnect will return to the 3 blinks again.

 

There are ways to prevent a MMS - for example, you can differentiate the two versions by setting a different fuse (preferrably one that doesn't affect feature you are using).  Then you can match each version on the signature of the AVR and that particular fuse and have the autoprogrammer "decide" which firmware to upload based on that.  Take a look at the manual as it has a ton of examples on how to do this!

 

Thanks,

 

Alan

 

 

Could the extended fuse bits (which are not used in the 84A) be used to differentiate between versions?

 

Are the fuse bits included in the hex file?  When I program a target board with Atmel-Ice, the fuse bits are set manually during the programming of the target board, separate from programming memories and lock bits.

 

GTO_04 

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

Usually when fuse bits are not used, they are not implemented, so it depends on whether they are implemented and can be set or not on the AVR itself for the first question.

 

As far as the HEX file, it can't contains fuse bits, but the ELF file can contain fuse bits/lock bits along with code _if_ they are compiled into it

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

alank2 wrote:

Usually when fuse bits are not used, they are not implemented, so it depends on whether they are implemented and can be set or not on the AVR itself for the first question.

 

As far as the HEX file, it can't contains fuse bits, but the ELF file can contain fuse bits/lock bits along with code _if_ they are compiled into it

 

Thanks for the explanation.   I haven't done much with ELF files until now, but I read through the Atmel description and it makes sense.  BTW there are some $500 programmers like the MPQ that don't do what your programmer

does without adding extra hardware at additional cost!

 

I am using this connector for the Atmel-Ice to connect to my target board:

 

It looks like you are using the same connector on the V4.  Is it the male or female part on te V4?  I am trying to figure out what I need for a programming cable.

 

GTO_04

Last Edited: Tue. May 30, 2017 - 04:27 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I 99% of the time use a right angle female connector that allows you to plug it directly to the pcb being programmed.

 

I have also used a male connector (regular or right angle) which allows for ribbon cable use.  If you need that just let me know.

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

 

Hello Alan,

 

The female connector will work fine.  I already have a cable that matches it that I can use right out of the box, plus I will have a spare made.  If I (or my company) orders tomorrow (Wed 5-31) what would be the lead time approximately? Thanks for all the help I appreciate it.  The production people feel totally OK using this interface, which I expected would be the case.

 

Best regards,

Roger

Last Edited: Wed. May 31, 2017 - 02:01 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 1

I modified mine a little with an expensive case......

 

John Samperi

Ampertronics Pty. Ltd.

www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly

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

Ticcy taccy... expensive, my a&%#  cheeky

Ross McKenzie ValuSoft Melbourne Australia

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

I like the impressive application/use of the pink foam!

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

And it's anti-static too.

John Samperi

Ampertronics Pty. Ltd.

www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly

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

ImageCraft Embedded Systems Tools

ImageCraft InfoBytes Blog

Six Weeks and Counting

by Richard Man

01 June 2017

https://imagecraft.com/company/blog/smart-io-hardware-production-commences

 

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

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

John, having a look at your board I'd guess you have more days in the month in Sydney than we have in Cleveland.

 

I only need to digits two count'em!

 

JC

 

Edit: Typo

Last Edited: Sun. Jun 4, 2017 - 12:33 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Current next serial number is 26023 with about 200 boards coming in tomorrow, more to follow during the month. wink

 

If you are referring to the date then that's May 2013 with batch number 0001 for the year for that product....just in case I have an extremely good year and need to make lots of batches, in which case I will fly to Ohio during the year in my sneer jet and I'll take you out for dinner.devil

 

There is actually another few hundred of the old version board that the client decided to make elsewhere so I'm not counting them...let say that things went a bit sour after that.

John Samperi

Ampertronics Pty. Ltd.

www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly

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

Wow js that is great; tell me you are using the SN feature of the autoprogrammer, which is implemented as a uint32_t and should handle your future endeavors!!!

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

No digital SN has even been used just the sticker. It would not be of much use in this application.

John Samperi

Ampertronics Pty. Ltd.

www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly

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

Too bad!  So have you programmed that many with the same single programmer?  If you do an "identify" on it, how high is the flash count?

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

Different programmers, early boards were 68HC11 based since about 1993 with PLCC chips. (Maybe 15,000 or more)

If you do an "identify" on it, how high is the flash count?

Don't quite understand either sentences. surprise

John Samperi

Ampertronics Pty. Ltd.

www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly

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

The PC Programmer tool has a button called "Identify".  It will tell you the board version, firmware version, and also a flash count for each firmware it is programmed with.

 

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

I see, the stickers tell me (and other humans without any tools)  the same info...well almost.. smiley

 

How is the serial numbering controlled? Can the number be changed/deleted? ie a board fails in testing and put aside for a few days, then it gets fixed but don't want the old serial number and don't want a false number of boards to be reported.

John Samperi

Ampertronics Pty. Ltd.

www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly

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

The serial number is embedded in the flash during programming.  It can be changed easily in the PC Programmer application unless the configuration is locked.

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

js wrote:

 I will fly to Ohio during the year in my sneer jet and I'll take you out for dinner.devil

 

Can I hitch a ride? Am happy to pay for the meal. laugh

 

Ross McKenzie ValuSoft Melbourne Australia

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

If you guys would simply schedule your next meet up for Ohio I'll buy dinner for the group.

Carl will drive up from Cincinnati to join us, and (East coast) Jim will drive in from NY.

There was a new poster from Stow, OH, which is right next door to Hudson, but I don't recall his handle.

I'm sure he would join the group.

 

So, I'll buy the dinner, you buy the jet fuel!

 

JC

 

Edit: Typo

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

Jay, was that "you buy the jet fool" before the typo? devil

Ross McKenzie ValuSoft Melbourne Australia

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

Where in the Flash memory is the serial number stored - can it be at a predefined location - how many bytes is it - what format etc.

Can it be auto incremented?

Where to buy in UK.

Thanks

 

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

There is a tag that is compiled into the HEX/ELF.  The programmer itself keeps track of the next value in its EEPROM and autoincrements it.  You can retrieve the next value with the PC tool and change it unless you locked the configuration on the programmer.  Contact me via PM - I take payment via Paypal and ship to the UK.

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

Bump!

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

Hi Alan,

 

any plans to support uPDI as used on the newer tiny chips?

'This forum helps those who help themselves.'

 

pragmatic  adjective dealing with things sensibly and realistically in a way that is based on practical rather than theoretical consideration.

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

Hi Brian,

 

I haven't taken a look at it yet.  Is there an AVRxxx document on it?  I somewhat remember thinking about TPI, but it seems like there was a hardware reason (such as I'd have to add something that would swap pins on the programming connecotr) so I didn't look too much into it.

 

Thanks,

 

Alan

 

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

It's a 'propriety' interface using a single pin. There's a python script to drive it here...

 

https://github.com/mraardvark/py...

'This forum helps those who help themselves.'

 

pragmatic  adjective dealing with things sensibly and realistically in a way that is based on practical rather than theoretical consideration.

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

Well, looking at the uPDI physical interface in the atmel ice manual, it looks like they put it on pin 1 so that means the autoprogrammer hardware shouldn't be a road block.  I can probably add support for it, but I am buried in projects right now.  Is there an AVRxxx document that covers the uPDI protocol somewhere?

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

Could not locate a document like AVR910 for UPDI.

Maybe the UPDI section of a tinyAVR 1-series datasheet :

http://ww1.microchip.com/downloads/en/DeviceDoc/40001893B.pdf

(page 395)

33.3.3  UPDI Instruction Set

via http://www.microchip.com/wwwproducts/en/attiny1617

 

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

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

I've looked at it and it looks like a bit of work to implement, but I think it is doable.

 

Curiously, does anyone know why another programming interface?  It seems like they are always coming out with another one!!!! :)

 

Any recommendations for a devkit for a uPDI device?

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

I am thinking about adding support for uPDI - how many uc's are using uPDI now?

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

alank2 wrote:
Curiously, does anyone know why another programming interface?
UPDI :

  • faster than debugWIRE
  • not dependent on AVR clock
  • run-time profiling via PC, SP, and SR
  • run-time CRC status

alank2 wrote:
Any recommendations for a devkit for a uPDI device?
Which package?  (QFN, SOIC)

http://www.microchip.com/developmenttools/productdetails.aspx?partno=attiny817-xmini

http://www.microchip.com/developmenttools/productdetails.aspx?partno=attiny817-xpro (3.3V only)

http://www.microchip.com/developmenttools/productdetails.aspx?partno=attiny416-xnano

 

roll your own; SOIC is easy for protoboard.

No Microchip dev boards for the 16KB tinyAVR 1-series.

32KB tinyAVR 1-series are in Atmel Studio's simulator.

 

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

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

http://www.avrfreaks.net/forum/questions-about-updi-programmers#comment-2289746

...

 

avrcandies wrote:

Also, is there a complete list of which chips require this UPDI

...

 

Total :

...

I count 15 though some are in-plan or maybe in first sampling (a guess; likely alpha testing by the creators and such)

IIRC, engineering samples arrive by Xplained.

 

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

Pages