Author Topic: EEVBlog 121GW Multimeter Firmware Details  (Read 28989 times)

Antonov225 and 1 Guest are viewing this topic.

Offline amspire

  • Super Contributor
  • ***
  • Posts: 3633
  • Country: au
Re: EEVBlog 121GW Multimeter Firmware Details
« Reply #50 on: February 15, 2018, 10:29:42 pm »
With a GPL license, UEI and other companies can still use the code. However, they need to share their improvements to the code, which is just fair. Therefore, I strongly support the use of a GPL license for this.
If for internal reasons which is their business, UEi just cannot GPL code, is it better if they can make use of our code and so everybody gets our improvements, plus their secret source, or is it better that they ignore our code.

In projects like this, there will always be one person who does the bulk of the work and I am totally happy if that person picks any license they want to. However GPL is open, but it is very dictatorial. There are many open source projects that pick permissive license for the reason that they want others to be able to use the code without any demands. It may be UEi have some secret source relating to their in-house calibration methods that they absolutely cannot make open source.

Remember, UEi are giving us something - they designed the meter with the features Dave asked for and they have given us the schematic. Through Dave, we have direct contact with someone who can talk to the developers. That is probably more then any other multimeter company has given. We want to encourage UEi to continue to make the meter, otherwise any code we produce will only be useful to a few hundred people (assuming most only use official firmware) and the project may die in a year or two.
« Last Edit: February 15, 2018, 10:35:04 pm by amspire »
 
The following users thanked this post: cjs

Offline glarsson

  • Frequent Contributor
  • **
  • Posts: 677
  • Country: se
Re: EEVBlog 121GW Multimeter Firmware Details
« Reply #51 on: February 15, 2018, 10:32:24 pm »
The GPL license also requires them to share everything the GPL code is linked to. In the case of this multimeter it is everything. If they can't share everything (licensed 3:rd party libraries) then they can't use the GPL code, will not make improvements and have nothing to share. A loss for everyone.
 
The following users thanked this post: newbrain, cjs

Online Brumby

  • Supporter
  • ****
  • Posts: 7688
  • Country: au
Re: EEVBlog 121GW Multimeter Firmware Details
« Reply #52 on: February 16, 2018, 12:54:44 am »
There is an alternative...

They can take the improvements as seen from the User perspective - and then code their own changes to deliver the same, or similar (or better?) benefits.

While they may not have the benefit of the coding, they will have the benefit of knowing something is possible and - as is typical of this community - the issues addressed along the way.

As a further advantage and incentive - by seeing what features/fixes get support here, they will have a better idea of what is worth the effort.
 

Offline cjs

  • Contributor
  • Posts: 16
  • Country: jp
  • Software geek
Re: EEVBlog 121GW Multimeter Firmware Details
« Reply #53 on: February 18, 2018, 04:20:31 pm »
One more thing to keep in mind with your license:

Unless you're getting copyright assignments for all contributed code, that code not assigned to you or your project remains owned by the contributor and only he or she can relicense it under any other terms. Once your project starts to grow this can effectively preclude changing the license even if everyone agrees that they want to change it. This happened to us with NetBSD; although everybody wants to move all the code to a two-clause BSD license (in part because the advertising clause of the 4-clause license is especially annoying) there is a great deal of code that cannot have the licence changed because we can't track down the owners of the copyright. (The owner may not even be the author, such as in cases where the author is deceased.)

Regarding inability to use GPL code, that can go beyond amspire's points that a company may have internal reasons that they don't want to open all the source in their devices. Source code licensed from external vendors may not allow it even if the company would prefer to do it. Or, worse yet, certain open source licences are incompatible with the GPL, meaning that there are cases where you can't combine code from two different open source projects.

Personally, as someone who's been writing both opens-source and commercial software for a couple of decades now, I use GPL and accept only code with a copyright assignment to me when I'm interested in preserving my own ability to exploit the code commercially at a later date. The GPL in this case is essentially a commercial profit protection mechanism. If I don't anticipate that I'd want to commercialize a product, I use a much less restrictive license so that the code can do maximum good in the world.
 

Offline amspire

  • Super Contributor
  • ***
  • Posts: 3633
  • Country: au
Re: EEVBlog 121GW Multimeter Firmware Details
« Reply #54 on: February 18, 2018, 05:03:58 pm »
Personally, as someone who's been writing both opens-source and commercial software for a couple of decades now, I use GPL and accept only code with a copyright assignment to me when I'm interested in preserving my own ability to exploit the code commercially at a later date.
If the GPL license is used, this is the exact model I would like to see. Almost certainly, one person will be responsible for making this code into a quality reality and they deserve to have the copyright assignment. It would mean that they would be able to offer companies an alternate paid commercial license if that is what the companies need.

It might be that the SQLite3 model is the best one to follow. SQLite is open source but is not open contribution. They do not even accept patches. With this model, anyone can go and make their own variant, but if you want to use the official SQLite code, you are using code that has almost fully been written by just two people.

With one person or one team writing the 121GW code, you can get a consistent coding quality and the finally reliability is totally in the hand of the programmers who know the code the best. They can take suggestions and bug reports, but they then make the changes themselves.

One direction this code could go would be towards general purpose multimeter code with a big config.h file which allows you to set pin assignments, multimeter A/D chip choice and so on. The code does not have to be only for the 121GW multimeter. Something like the OpenWRT project that at the start only worked on one Linksys WRT54 router. Now it works on many different processors with many different chipset options.
« Last Edit: February 18, 2018, 05:16:08 pm by amspire »
 

Offline tpw_rules

  • Regular Contributor
  • *
  • Posts: 50
Re: EEVBlog 121GW Multimeter Firmware Details
« Reply #55 on: February 19, 2018, 04:46:17 am »
So I've been looking and a BSD 3-clause license doesn't seem entirely unreasonable. I thought GPL initially because I didn't really want UEI taking our code for nothing in return to improve their meters, but if they can't do that I guess it becomes a kind of pointless exercise.

Now how do I license the code under that? Can I just drop LICENSE.md in the Git root? How does this affect all the STMicro library code?
 

Offline Diosol

  • Newbie
  • Posts: 4
  • Country: fi
Re: EEVBlog 121GW Multimeter Firmware Details
« Reply #56 on: February 20, 2018, 09:17:51 am »
I'm kinda blind and don't know how to use google. But I just haven't found where to download the newest firmware. Like 1.05 shown in newest video. At the moment this is just a blue expensive brick in my hands.

Does anyone have a link where the newest firmware's are hosted or can be downloaded?
 

Online lowimpedance

  • Frequent Contributor
  • **
  • Posts: 989
  • Country: au
  • Watts in an ohm?
Re: EEVBlog 121GW Multimeter Firmware Details
« Reply #57 on: February 20, 2018, 10:04:43 am »
 The later revision firmware is being tested and refined thus has not been released yet, so no download links exist. (vers 1.05 may even be no longer the current one).
The meter is still usable and is hardly a complete brick. As stated this testing (inside UEI currently) takes time and its best to wait for the currently reported bugs to be fixed.
And then a new much improved firmware be made available.
The odd multimeter or 2 or 3 or 4...or........can't remember !.
 

Offline Yannik

  • Supporter
  • ****
  • Posts: 18
  • Country: de
Re: EEVBlog 121GW Multimeter Firmware Details
« Reply #58 on: February 24, 2018, 08:50:39 pm »
I'd still be in favour of a copyleft license. Maybe LGPL is a good compromise?
 
The following users thanked this post: Scottjd

Offline newbrain

  • Frequent Contributor
  • **
  • Posts: 610
  • Country: se
Re: EEVBlog 121GW Multimeter Firmware Details
« Reply #59 on: February 25, 2018, 07:26:29 pm »
I'd still be in favour of a copyleft license. Maybe LGPL is a good compromise?
It could be used, but given that static linking is used:
Quote
(1) If you statically link against an LGPL'd library, you must also provide your application in an object (not necessarily source) format, so that a user has the opportunity to modify the library and relink the application.
UEI (or anyone else using the code) would be forced to distribute the objects from its application (and possibly any special tool needed for the relinking, but not 100% sure).

This is not an unreasonable burden, but can still be seen as showstopper in a corporate environment.
LGPL is ok when you can dinamically link or use a form of IPC, but that rarely applies to embedded code.
Nandemo wa shiranai wa yo, shitteru koto dake.
 

Online Halcyon

  • Super Contributor
  • ***
  • Posts: 3188
  • Country: au
Re: EEVBlog 121GW Multimeter Firmware Details
« Reply #60 on: May 17, 2018, 03:59:56 pm »
On the subject of firmware, has there been any official/stable release of firmware beyond 1.01? Forgive me if details have been posted elsewhere.
 

Offline firewalker

  • Super Contributor
  • ***
  • Posts: 2298
  • Country: gr
Re: EEVBlog 121GW Multimeter Firmware Details
« Reply #61 on: May 17, 2018, 05:47:04 pm »
On the subject of firmware, has there been any official/stable release of firmware beyond 1.01? Forgive me if details have been posted elsewhere.

Yes. 1.15

https://www.eevblog.com/wp-content/plugins/download-attachments/includes/download.php?id=12211
Become a realist, stay a dreamer.

 

Offline Candid

  • Regular Contributor
  • *
  • Posts: 133
  • Country: de
« Last Edit: May 25, 2018, 01:29:07 am by Candid »
 
The following users thanked this post: Cliff Matthews, ChunkyPastaSauce

Online ChunkyPastaSauce

  • Supporter
  • ****
  • Posts: 493
  • Country: us
Re: EEVBlog 121GW Multimeter Firmware Details
« Reply #63 on: May 25, 2018, 01:40:23 am »
Change log is in new manual  1.17: "Improved accuracy of voltage measurement in AC and DC VA modes."
 

Offline Candid

  • Regular Contributor
  • *
  • Posts: 133
  • Country: de
Re: EEVBlog 121GW Multimeter Firmware Details
« Reply #64 on: June 15, 2018, 08:01:15 pm »
 
The following users thanked this post: ChunkyPastaSauce

Offline Dampmaskin

  • Newbie
  • Posts: 2
  • Country: no
    • Steam Engine
 
The following users thanked this post: ChunkyPastaSauce, btgdaniel

Offline Seppy

  • Administrator
  • *****
  • Posts: 176
  • Country: au
  • Curious
Re: EEVBlog 121GW Multimeter Firmware Details
« Reply #66 on: June 25, 2018, 12:07:27 pm »
Manual has been updated with the changes that occured in 1.21 and 1.22.
 
The following users thanked this post: Dampmaskin

Offline Jon.C

  • Supporter
  • ****
  • Posts: 100
  • Country: ad
 
The following users thanked this post: ChunkyPastaSauce, 1anX, Dampmaskin

Offline joeqsmith

  • Super Contributor
  • ***
  • Posts: 4921
  • Country: us
Re: EEVBlog 121GW Multimeter Firmware Details
« Reply #68 on: August 02, 2018, 08:17:49 am »
Any chance we will see the images for the BLE112 released as well?   
How electrically robust is your meter?? http://www.youtube.com/channel/UCsK99WXk9VhcghnAauTBsbg
 

Offline tpw_rules

  • Regular Contributor
  • *
  • Posts: 50
Re: EEVBlog 121GW Multimeter Firmware Details
« Reply #69 on: August 06, 2018, 02:33:49 am »
Any chance we will see the images for the BLE112 released as well?

For the record, there's nothing particularly interesting in the BLE112, but I believe it is 121GW specific. The STM32 talks to it over RS232 at 19200 baud using the following format (sans quotes): "=<packet data as documented, in hex>\r\n". It can also receive raw bytes from the bluetooth connection. I imagine this firmware is an example somewhere in the SI stuff, but I haven't found it.
 

Offline joeqsmith

  • Super Contributor
  • ***
  • Posts: 4921
  • Country: us
Re: EEVBlog 121GW Multimeter Firmware Details
« Reply #70 on: August 06, 2018, 06:03:56 am »
Any chance we will see the images for the BLE112 released as well?

For the record, there's nothing particularly interesting in the BLE112, but I believe it is 121GW specific. The STM32 talks to it over RS232 at 19200 baud using the following format (sans quotes): "=<packet data as documented, in hex>\r\n". It can also receive raw bytes from the bluetooth connection. I imagine this firmware is an example somewhere in the SI stuff, but I haven't found it.
I am working with a pre-production meter.  Dave had told me that the BT was not working.  After installing the later firmware, I noticed that the radio is still not active and assume it was never programmed.   I would buy the programmer if the image was available.  If the BT was working, I would try to get it working with LabVIEW. 
« Last Edit: August 06, 2018, 07:42:59 am by joeqsmith »
How electrically robust is your meter?? http://www.youtube.com/channel/UCsK99WXk9VhcghnAauTBsbg
 

Offline Candid

  • Regular Contributor
  • *
  • Posts: 133
  • Country: de
Re: EEVBlog 121GW Multimeter Firmware Details
« Reply #71 on: August 08, 2018, 12:47:41 am »
v1.25 is out and new manual with changelog...

https://www.eevblog.com/product/121gw/
 

Offline cmumford

  • Contributor
  • Posts: 6
  • Country: us
Re: EEVBlog 121GW Multimeter Firmware Details
« Reply #72 on: August 08, 2018, 01:46:12 am »
v1.25 is out and new manual with changelog...

https://www.eevblog.com/product/121gw/

Changes since 1.22:

  • Auto-ranging loop in M Ohms range resolved..
  • Burden Voltage glitch resolved.
 
The following users thanked this post: Dampmaskin

Online 1anX

  • Regular Contributor
  • *
  • Posts: 113
  • Country: au
Re: EEVBlog 121GW Multimeter Firmware Details
« Reply #73 on: August 11, 2018, 08:25:18 pm »
I just tried loading in the latest V1.26 but unfortunately after many attempts had to give up on it.
Loaded V1.25 back on to the SD card and it loaded onto the meter without a problem.
Maybe the image of the V1.26 file Dave has placed to download is the problem?
Anyone else tried to install the new firmware yet?
 

Offline firewalker

  • Super Contributor
  • ***
  • Posts: 2298
  • Country: gr
Re: EEVBlog 121GW Multimeter Firmware Details
« Reply #74 on: August 11, 2018, 08:51:54 pm »
No problem for me. Did you rename the file to EEVBlog.bin?

Alexander.
Become a realist, stay a dreamer.

 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf