> There is no requirement that device names be unique, but of course they are > less useful when they are not. I consider duplicated device names to be a > user error and don't go out of my way to deal with them. If you named two > USBProgs both "Foo", PICPRG_LIST would show two devices named Foo, and if > you specified "-N Foo" on a command line it would pick the first one that > wasn't already in use. There would be no guarantee which one it would pick. > If that's a problem, don't name two devices the same. I see. So it requires some device serialization if you want to use multiple identical devices, which is OK. Probably what I would do (for one particular project on the back burner) would be to modify it to generate a unique ID on the driver side when a device is first enumerated, and store that in EEPROM on the device side. That way you can burn the device PICs identically, but you can still tell individual devices apart consistently. -- Timothy J. Weber http://timothyweber.org -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist