Author Topic: Which multimeters use the STM32 Micro? Ive just reviewed one.  (Read 6234 times)

0 Members and 1 Guest are viewing this topic.

Offline Perrin21Topic starter

  • Regular Contributor
  • *
  • Posts: 92
Which multimeters use the STM32 Micro? Ive just reviewed one.
« on: August 07, 2019, 07:59:27 am »
Hi, does anyone know which multimeters are using the STM32 Microcontroller?  I have recently been testing one out (a multimeter based on this micro) and wondered how common this microcontroller is in DMMs.  I have noticed there is a large hacking community for these microcontrollers and have just watched Dave's STM32 video showing how the chips can be reprogrammed.  Could this be the ultimate hackable DMM?  or am i barking up the wrong tree and its quite common? Its not what i expected to find when i tore it apart.

Review here https://youtu.be/xRkMdbNCBWo
« Last Edit: August 12, 2019, 08:25:32 pm by Perrin21 »
 

Offline ogden

  • Super Contributor
  • ***
  • Posts: 3731
  • Country: lv
Re: Which multimeters use the STM32 Micro?
« Reply #1 on: August 07, 2019, 08:39:10 am »
Hi, does anyone know which multimeters are using the STM32 Microcontroller?  I have recently been testing one out (a multimeter based on this micro)

I don't know any, but you can tell more about the one you tested. PCB pictures will help too.

Quote
I have noticed there is a large hacking community for these microcontrollers

Any pointers to stm32 *hacking* community?
 

Offline Perrin21Topic starter

  • Regular Contributor
  • *
  • Posts: 92
Re: Which multimeters use the STM32 Micro?
« Reply #2 on: August 07, 2019, 09:42:39 am »
That's interesting.  I have one here.  Very cool.  That should at least make the teardown more interesting.  Will share more details very soon, I'm just working on the video now.  Could be a nice hackable meter then :) 1000V Cat 4 too.
 

Offline Perrin21Topic starter

  • Regular Contributor
  • *
  • Posts: 92
Re: Which multimeters use the STM32 Micro?
« Reply #3 on: August 07, 2019, 09:54:45 am »
here is a teaser
 

Offline ogden

  • Super Contributor
  • ***
  • Posts: 3731
  • Country: lv
Re: Which multimeters use the STM32 Micro?
« Reply #4 on: August 07, 2019, 11:11:57 am »
here is a teaser

Teaser? :) Can't you tell make and model of multimeter? Yes, indeed there is stm32 inside. So what? Most likely you can't read-out it's firmware anyway (unless you are ready to invest significant amount of money). It means no *hacking*. You have to swap chip on PCB with new one and *develop* stm32 code from grounds-up. Before that you have to reverse-engineer and analyze circuit of device to fully understand it's operation so you can write code that actually works. All that for what exactly? - To prove that you can do it? Good luck with that. I mean it.

"Improvement"of instruments is recurring topic here. Most of those who actually want to use instruments will just use them as is. Serious engineer do not want to debug device he is building with tool he can't rely-on, that needs to be debugged itself.
 

Online Kean

  • Supporter
  • ****
  • Posts: 2089
  • Country: au
  • Embedded systems & IT consultant
    • Kean Electronics
Re: Which multimeters use the STM32 Micro?
« Reply #5 on: August 07, 2019, 11:16:06 am »
Hi, does anyone know which multimeters are using the STM32 Microcontroller?

You know that Dave's 121GW DMM uses an STM32L152 don't you?
 
The following users thanked this post: Marco1971

Offline 001

  • Super Contributor
  • ***
  • Posts: 1170
  • Country: aq
Re: Which multimeters use the STM32 Micro?
« Reply #6 on: August 07, 2019, 11:55:03 am »
here is a teaser

Why so pathetic? It is only EE forum
 

Online ebastler

  • Super Contributor
  • ***
  • Posts: 6405
  • Country: de
Re: Which multimeters use the STM32 Micro?
« Reply #7 on: August 07, 2019, 12:14:41 pm »
here is a teaser

Yeah, man, you have uncovered the ultimate business model. Buy those secret multimeters, hack them up to 10 times better resolution and add an on-board Tetris game, then sell them for twice the price. Better make sure nobody figures out the DMM brand!

 ???
 
The following users thanked this post: 001

Offline coromonadalix

  • Super Contributor
  • ***
  • Posts: 5858
  • Country: ca
Re: Which multimeters use the STM32 Micro?
« Reply #8 on: August 07, 2019, 12:20:42 pm »
Why double posting  in the microcontroller section ? 

Annoying to say the least.  thread removed
« Last Edit: August 07, 2019, 03:22:10 pm by coromonadalix »
 

Offline ogden

  • Super Contributor
  • ***
  • Posts: 3731
  • Country: lv
Re: Which multimeters use the STM32 Micro?
« Reply #9 on: August 07, 2019, 01:27:15 pm »
As we know that Dave's DMM uses this exact stm32 kind, it could be Brymen 869S? Other option would be Megger AVO835?
 
The following users thanked this post: Perrin21

Offline coromonadalix

  • Super Contributor
  • ***
  • Posts: 5858
  • Country: ca
Re: Which multimeters use the STM32 Micro?
« Reply #10 on: August 07, 2019, 03:24:56 pm »
Another going nowhere thread .......  unless Perrin21  show us a video of photo(s) or model name and brand,  this thread should stop here.



 

Offline gamalot

  • Super Contributor
  • ***
  • Posts: 1303
  • Country: au
  • Correct my English
    • Youtube
Re: Which multimeters use the STM32 Micro?
« Reply #11 on: August 07, 2019, 04:36:29 pm »
EEVBlog 121GW  :)

Offline MosherIV

  • Super Contributor
  • ***
  • Posts: 1530
  • Country: gb
Re: Which multimeters use the STM32 Micro?
« Reply #12 on: August 07, 2019, 09:16:57 pm »
I think the Fluke 287/289 both use an STM32F of some kind.

How hackable are they?
Firstly, someone has already mentioned that the firmware is likely to be protected, it is near impossible to read out.
Secondly, there are over 100 variants of the STM32F line of micros. Even if you know the specific micro, with all the peripheral options,  knowing what all the io pins are doing means reverse engineering the entire circuit.
Thirdly, The original source code is likely to be in high level language like C. So the amount of binary/assembly code is likley in 100s Kbytes. Then you have compiler optimisation to get your head around.

Simple answer - not very. Only the really, really, really, really determined will even try!
 

Offline gamalot

  • Super Contributor
  • ***
  • Posts: 1303
  • Country: au
  • Correct my English
    • Youtube
Re: Which multimeters use the STM32 Micro?
« Reply #13 on: August 07, 2019, 11:35:59 pm »
I think the Fluke 287/289 both use an STM32F of some kind.

How hackable are they?
Firstly, someone has already mentioned that the firmware is likely to be protected, it is near impossible to read out.
Secondly, there are over 100 variants of the STM32F line of micros. Even if you know the specific micro, with all the peripheral options,  knowing what all the io pins are doing means reverse engineering the entire circuit.
Thirdly, The original source code is likely to be in high level language like C. So the amount of binary/assembly code is likley in 100s Kbytes. Then you have compiler optimisation to get your head around.

Simple answer - not very. Only the really, really, really, really determined will even try!

MCU used in Fluke 287/289 is MSP430 from TI:

https://www.eevblog.com/forum/reviews/fluke-287-dmm-teardown-and-photos/

Offline Mr. Scram

  • Super Contributor
  • ***
  • Posts: 9810
  • Country: 00
  • Display aficionado
Re: Which multimeters use the STM32 Micro?
« Reply #14 on: August 07, 2019, 11:42:16 pm »
Guess what I had for supper last night? I'm not going to tell you but I'll give you a hint. It came on a plate.
 
The following users thanked this post: Perrin21

Offline ogden

  • Super Contributor
  • ***
  • Posts: 3731
  • Country: lv
Re: Which multimeters use the STM32 Micro?
« Reply #15 on: August 08, 2019, 01:01:15 am »
Guess what I had for supper last night?

You think we want to know but whole sensation of revelation is just your illusion
 

Offline Mr. Scram

  • Super Contributor
  • ***
  • Posts: 9810
  • Country: 00
  • Display aficionado
Re: Which multimeters use the STM32 Micro?
« Reply #16 on: August 08, 2019, 07:01:29 am »
You think we want to know but whole sensation of revelation is just your illusion
Considering the number of revelation teaser threads lately that can't be right.
 
The following users thanked this post: 001

Offline DaJMasta

  • Super Contributor
  • ***
  • Posts: 2296
  • Country: us
    • medpants.com
Re: Which multimeters use the STM32 Micro?
« Reply #17 on: August 08, 2019, 06:21:28 pm »
Guess what I had for supper last night? I'm not going to tell you but I'll give you a hint. It came on a plate.

Fancy schmancy, you didn't have to eat it off some wax paper/paper bag?


I also don't understand the secrecy.  As far as I know, every STM32 is reprogrammable, so it would be hackable with commonly available tools.  Also not uncommon among meters, it's a fairly standard, fairly good, fairly cheap micro from a reputable brand name, and it makes for a good light-duty low power application processor.
 

Offline ogden

  • Super Contributor
  • ***
  • Posts: 3731
  • Country: lv
Re: Which multimeters use the STM32 Micro?
« Reply #18 on: August 08, 2019, 06:55:13 pm »
You think we want to know but whole sensation of revelation is just your illusion
Considering the number of revelation teaser threads lately that can't be right.
Teaser of revelation does not guarantee that it will be delivered in the end. That's actually The Point.
 

Offline ogden

  • Super Contributor
  • ***
  • Posts: 3731
  • Country: lv
Re: Which multimeters use the STM32 Micro?
« Reply #19 on: August 08, 2019, 07:06:15 pm »
As far as I know, every STM32 is reprogrammable, so it would be hackable with commonly available tools.

Incorrect. Read-out protection level-2 disables all debug interfaces leaving only bootloader as means for reprogramming. If bootloader is vendor-specific or what's worse - uses firmware encryption, you are out of luck reusing such stm32 IC especially "with commonly available tools".
 

Offline MosherIV

  • Super Contributor
  • ***
  • Posts: 1530
  • Country: gb
Re: Which multimeters use the STM32 Micro?
« Reply #20 on: August 08, 2019, 08:23:54 pm »
Quote
As far as I know, every STM32 is reprogrammable, so it would be hackable with commonly available tools.
If by 'hackable' you mean wipe and re-program from scratch. Yes.

If you mean read out and modify single bytes to modify the existing program -  :palm:
NO.

I refer you to ogden's comment and if you manage to read out the existing code I refer you to my ealier post
Quote
Secondly, there are over 100 variants of the STM32F line of micros. Even if you know the specific micro, with all the peripheral options,  knowing what all the io pins are doing means reverse engineering the entire circuit.
Thirdly, The original source code is likely to be in high level language like C. So the amount of binary/assembly code is likley in 100s Kbytes. Then you have compiler optimisation to get your head around.
« Last Edit: August 08, 2019, 08:32:56 pm by MosherIV »
 

Offline Nornand

  • Newbie
  • Posts: 7
  • Country: de
Re: Which multimeters use the STM32 Micro?
« Reply #21 on: August 08, 2019, 08:50:53 pm »
 

Offline ogden

  • Super Contributor
  • ***
  • Posts: 3731
  • Country: lv
Re: Which multimeters use the STM32 Micro?
« Reply #22 on: August 08, 2019, 09:07:11 pm »
Hacking a secured STM32FO

https://www.aisec.fraunhofer.de/en/FirmwareProtection.html

To do the "hacking", in this case flash readout, protection level must be downgraded from RDP2 to RDP1 using UV EEPROM eraser on previously decapsulated chip. It can't be considered as "reprogramming with commonly available tools" :)

Quote
As far as I know, every STM32 is reprogrammable, so it would be hackable with commonly available tools.
If by 'hackable' you mean wipe and re-program from scratch. Yes.

No. You can't wipe nor reprogram RDP2-protected stm32.
« Last Edit: August 10, 2019, 09:25:29 am by ogden »
 
The following users thanked this post: Nornand

Offline MosherIV

  • Super Contributor
  • ***
  • Posts: 1530
  • Country: gb
Re: Which multimeters use the STM32 Micro?
« Reply #23 on: August 10, 2019, 09:54:46 am »
Quote
No. You can't wipe nor reprogram RDP2-protected stm32.
I have not worked with ST parts now for more than 5 years but I thought that using SWD/JTAG to disable RDP2 would result in wiping the flash and hence allow reprogramming. My bad if I am wrong.
 

Offline ogden

  • Super Contributor
  • ***
  • Posts: 3731
  • Country: lv
Re: Which multimeters use the STM32 Micro?
« Reply #24 on: August 10, 2019, 10:34:17 am »
Quote
No. You can't wipe nor reprogram RDP2-protected stm32.
I have not worked with ST parts now for more than 5 years but I thought that using SWD/JTAG to disable RDP2 would result in wiping the flash and hence allow reprogramming. My bad if I am wrong.

How could you disable RDP2 with SWD/JTAG when main function of RDP2 is to disable SWD/JTAG?!  :-DD
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf