newaetech / chipwhisperer

ChipWhisperer - the complete open-source toolchain for side-channel power analysis and glitching attacks
http://chipwhisperer.com
Other
1.12k stars 284 forks source link

Multiple Programmers/Tools added #139

Closed colinoflynn closed 5 years ago

colinoflynn commented 6 years ago

It seems the 'Tools' (XMEGA programmer, STM programmer, etc) are sometimes duplicated. Assume related to multiple scope objects being created when you disconnect/reconnect. Should somehow make this less insane.

FranzHeubach commented 6 years ago

Did some research: Every time a new scope object is added new menu items are added to the parameter list in the background as menu items. There is no easy way to tell which instance of the scope created which menu item. So there is no good way to refresh these every time without deleting the ones of the currently active scope. I am not saying it is not possible to fix but I did not see any non-insane way. Fixing this issue will require a rethinking of the way parts of the backend of chipwhisperer function.