Author Topic: East Tester ET4410&ET4510 Desktop LCR Meter  (Read 44072 times)

0 Members and 1 Guest are viewing this topic.

Offline w.v.s.

  • Regular Contributor
  • *
  • Posts: 187
  • Country: de
Re: East Tester ET4410&ET4510 Desktop LCR Meter
« Reply #300 on: June 27, 2024, 05:27:00 pm »

Quote
Did you try it it the directory with the .exe and the .hex?

Yes. I even tried by putting the .exe inside the system32 folder


Only the .ocx should go there, not the .exe. Better keep everything in the same folder like the .exe and rename the folders to non-chinese names of your personal taste.
 

Offline james38

  • Regular Contributor
  • *
  • Posts: 100
  • Country: de
Re: East Tester ET4410&ET4510 Desktop LCR Meter
« Reply #301 on: June 27, 2024, 05:29:46 pm »
Now in the update package there is a directory that contains a file called mscomm32.ocx.

Some programs need so-called runtime libraries to work.
The update tool here needs, among other things,
the mscomm32.ocx to communicate with the serial interface.

So that the program knows where it is and can access it,
it must be registered and you do this with the Windows tool regsvr32.exe


But there are a few things to note here.
If you register the library, the path where it is is also saved.
If you remove the file, delete the directory or rename something, there will be problems.

The correct way to do it is to copy it into the Windows system directory and register it there.
The update program is a 32-bit application, so the mscomm32.ocx goes
in the Windows/SYSWOW64 directory.

Under no circumstances in the System32 directory, this is only for 64-bit applications!

If a version already exists there, you do not need to carry out the registration process.

If the file did not exist there, register as follows:
regsvr32.exe c:\windows\syswow64\mscomm32.ocx
 

Offline pope

  • Frequent Contributor
  • **
  • Posts: 329
  • Country: pl
Re: East Tester ET4410&ET4510 Desktop LCR Meter
« Reply #302 on: June 27, 2024, 05:38:36 pm »
Thank you gents,

I will try a bit longer.

Just to double-check... this is the foldr/files we are talking about, right?

https://www.eevblog.com/forum/testgear/east-tester-et4410-desktop-lcr-meter/msg5522296/#msg5522296

I have a 4510 so I will use the .hex that Martin supplied instead of the one included in the folder.
 

Offline pope

  • Frequent Contributor
  • **
  • Posts: 329
  • Country: pl
Re: East Tester ET4410&ET4510 Desktop LCR Meter
« Reply #303 on: June 27, 2024, 05:52:28 pm »
Success!!!

james38's comment solved the issue.


It's 20% at the moment but I had to do it twice as Martin suggested. The screen is black but I think this is to be expected (?)

We shall see but it looks promising  :)
 

Offline w.v.s.

  • Regular Contributor
  • *
  • Posts: 187
  • Country: de
Re: East Tester ET4410&ET4510 Desktop LCR Meter
« Reply #304 on: June 27, 2024, 05:56:53 pm »
To be more specific: The \windows\syswow64 path finally made the difference on windows10?
 

Offline james38

  • Regular Contributor
  • *
  • Posts: 100
  • Country: de
Re: East Tester ET4410&ET4510 Desktop LCR Meter
« Reply #305 on: June 27, 2024, 06:01:27 pm »

The screen is black but I think this is to be expected (?)


Yes it is expected that the Screen went black on a running update.

As I mentioned in step 6 ;-)
https://www.eevblog.com/forum/testgear/east-tester-et4410-desktop-lcr-meter/msg5524615/#msg5524615
 

Online Martin72Topic starter

  • Super Contributor
  • ***
  • Posts: 6253
  • Country: de
  • Testfield Technician
Re: East Tester ET4410&ET4510 Desktop LCR Meter
« Reply #306 on: June 27, 2024, 06:08:11 pm »
In a hour or two, I could show how this is to be done.
Has probably settled.... ;)
Anyway, now I've made the effort, I'll post it too, maybe that's something for others in the future.


"Comparison is the end of happiness and the beginning of dissatisfaction."
(Kierkegaard)
Siglent SDS800X HD Deep Review
 
The following users thanked this post: pope

Offline pope

  • Frequent Contributor
  • **
  • Posts: 329
  • Country: pl
Re: East Tester ET4410&ET4510 Desktop LCR Meter
« Reply #307 on: June 27, 2024, 06:12:57 pm »
It works!!!

Many thanks to all of you. Much appreciated!

Martin, I sort it out but thank you for your post. I'm sure it'll help other people in the future  :-+
 

Online Martin72Topic starter

  • Super Contributor
  • ***
  • Posts: 6253
  • Country: de
  • Testfield Technician
Re: East Tester ET4410&ET4510 Desktop LCR Meter
« Reply #308 on: June 27, 2024, 07:44:55 pm »
After trying....Could be a too stupid idea. ;)

Was a stupid idea... ;)
I had hoped that the jumpers on the frontboard would decide which model is the meter.
This is not the case and furthermore, both frontboards, from the ET4410 and ET4510, are absolutely identical.
"Comparison is the end of happiness and the beginning of dissatisfaction."
(Kierkegaard)
Siglent SDS800X HD Deep Review
 
The following users thanked this post: thm_w

Offline w.v.s.

  • Regular Contributor
  • *
  • Posts: 187
  • Country: de
Re: East Tester ET4410&ET4510 Desktop LCR Meter
« Reply #309 on: June 27, 2024, 08:02:01 pm »
So you say display boards are identical, main boards are identical. Then it is all about rubber-like keys and memory content, right?
 

Online Martin72Topic starter

  • Super Contributor
  • ***
  • Posts: 6253
  • Country: de
  • Testfield Technician
Re: East Tester ET4410&ET4510 Desktop LCR Meter
« Reply #310 on: June 27, 2024, 08:09:49 pm »
Exactly...
I'll take pictures of the two boards at the weekend, I'll have to mark them so that I don't mix them up when I reinstall them... ;)
The secret could lie in the bootloader, the firmware probably leaves the part out.

« Last Edit: June 27, 2024, 08:13:44 pm by Martin72 »
"Comparison is the end of happiness and the beginning of dissatisfaction."
(Kierkegaard)
Siglent SDS800X HD Deep Review
 

Offline w.v.s.

  • Regular Contributor
  • *
  • Posts: 187
  • Country: de
Re: East Tester ET4410&ET4510 Desktop LCR Meter
« Reply #311 on: June 27, 2024, 08:14:52 pm »
Is it the black-to-blue flat cable, which is connecting those two boards?
 

Online Martin72Topic starter

  • Super Contributor
  • ***
  • Posts: 6253
  • Country: de
  • Testfield Technician
Re: East Tester ET4410&ET4510 Desktop LCR Meter
« Reply #312 on: June 27, 2024, 08:29:51 pm »
Yes.
The cable carries the power supply for the front board and the data connection to the chip on the signal board, separated via optocouplers on the signalboard.
« Last Edit: June 27, 2024, 08:36:10 pm by Martin72 »
"Comparison is the end of happiness and the beginning of dissatisfaction."
(Kierkegaard)
Siglent SDS800X HD Deep Review
 
The following users thanked this post: w.v.s.

Offline thm_w

  • Super Contributor
  • ***
  • Posts: 6687
  • Country: ca
  • Non-expert
Re: East Tester ET4410&ET4510 Desktop LCR Meter
« Reply #313 on: June 27, 2024, 11:08:34 pm »
The log is clipped and non-printing characters are shown as '.'. But it seems that the software selects option one from the bootloader menue. I'm afraid the Bootloader will talk Chinese, too.

Thats my fault, you have to setup portmon settings first: https://www.mathworks.com/matlabcentral/answers/103079-how-can-i-use-portmon-to-monitor-my-serial-port
If you want the full capture, I think its everything, in hex its attached.

It is in chinese, translation below
Code: [Select]
杭州中创 - Hangzhou Zhongchuang (easttester)
Bootloader Ver:3.00

----------------------
[1]下载程序  - Download the program
[2]运行程序 - Run the program
[?]帮助      - Help (just shows this screen)
----------------------

Flash is deleted after choosing 1 which is why we see black screen:
Code: [Select]
删除Flash... Deleting Flash
删除完成!  Deletion Complete
准备接收文件... Ready to receive files
--hex transferred here--
下载成功! Download successful
« Last Edit: June 27, 2024, 11:32:15 pm by thm_w »
Profile -> Modify profile -> Look and Layout ->  Don't show users' signatures
 

Offline james38

  • Regular Contributor
  • *
  • Posts: 100
  • Country: de
Re: East Tester ET4410&ET4510 Desktop LCR Meter
« Reply #314 on: June 27, 2024, 11:42:56 pm »
This is not the case and furthermore, both frontboards, from the ET4410 and ET4510, are absolutely identical.

Really identical?

When I look at the pictures of an ET4410 and a 4510, I see that the rubber studs are in different places and also have different names.
Take a look at the pictures or has that changed in the meantime?


If I understand correctly, you swapped the front panels but the model recognition remained the same, right?
Did you check to see if the firmware version changed, assuming you hadn't already flashed both with the same one?

That would at least detect that the Nation chip on the display board is being flashed.
From this we can conclude that the basic parameters such as serial number and model are somewhere on the board.
I haven't been able to identify all of the chips,
but I think that the 2nd Nation chip on the mainboard could contain the necessary information.

It would also be interesting to know if both received an update when flashing,
although as far as I know older boards had an STM32F103 on them.

That sounds rather unlikely because the firmware would also have to detect the chip separately.
« Last Edit: June 28, 2024, 12:11:39 am by james38 »
 

Online Martin72Topic starter

  • Super Contributor
  • ***
  • Posts: 6253
  • Country: de
  • Testfield Technician
Re: East Tester ET4410&ET4510 Desktop LCR Meter
« Reply #315 on: June 28, 2024, 05:43:13 am »
Quote
Really identical?

Same board number and version.
"Comparison is the end of happiness and the beginning of dissatisfaction."
(Kierkegaard)
Siglent SDS800X HD Deep Review
 

Offline w.v.s.

  • Regular Contributor
  • *
  • Posts: 187
  • Country: de
Re: East Tester ET4410&ET4510 Desktop LCR Meter
« Reply #316 on: June 28, 2024, 06:59:34 am »
If you want the full capture, I think its everything, in hex its attached.

It is in chinese, translation below
...
Code: [Select]
杭州中创 - Hangzhou Zhongchuang (easttester)
Bootloader Ver:3.00
...


Great, thank you! So no documented feature of the Bootloader to read from addresses. But the main firmware is deleted during update. So the risk to upload a patched firmware seems minor. An interesting one could modify an scpi command to poll data from memory.[/code]
 

Offline w.v.s.

  • Regular Contributor
  • *
  • Posts: 187
  • Country: de
Re: East Tester ET4410&ET4510 Desktop LCR Meter
« Reply #317 on: June 28, 2024, 06:52:12 pm »
I was wondering, why the code was first uploaded and than run. If it was directly written into the flash, it would run automatically after the next reset. So I looked into the datasheet, which type of memory there is at 0x40800, where we assume the firmware is written to. The answer of the datasheet is roughly "can be anything":
[qoute]Aliased to Flash, system
memory or SRAM
depending on BOOT pins[/qoute]
There are two pins BOOT0 and BOOT1 and three boot options in the datasheet. Let us know, if you observe anything related to these pins.
 

Offline w.v.s.

  • Regular Contributor
  • *
  • Posts: 187
  • Country: de
Re: East Tester ET4410&ET4510 Desktop LCR Meter
« Reply #318 on: June 28, 2024, 06:55:58 pm »
Here is a application note on booting this µC:
https://www.st.com/resource/en/application_note/an2606-stm32-microcontroller-system-memory-boot-mode-stmicroelectronics.pdf

What is written in 4.7 "ExitSecureMemory feature" might make things harder.
« Last Edit: June 28, 2024, 07:12:39 pm by w.v.s. »
 

Offline w.v.s.

  • Regular Contributor
  • *
  • Posts: 187
  • Country: de
Re: East Tester ET4410&ET4510 Desktop LCR Meter
« Reply #319 on: June 28, 2024, 11:16:31 pm »
I think the firmware checks for the model type in the 32bit memory location 0x200000b8. This happens quite often.
 
The following users thanked this post: thm_w

Online Martin72Topic starter

  • Super Contributor
  • ***
  • Posts: 6253
  • Country: de
  • Testfield Technician
Re: East Tester ET4410&ET4510 Desktop LCR Meter
« Reply #320 on: June 28, 2024, 11:23:33 pm »
I have now built myself a 5-pole cable that is long enough to connect the front of one to the signal board of the other without having to take everything apart.
Results will follow.
"Comparison is the end of happiness and the beginning of dissatisfaction."
(Kierkegaard)
Siglent SDS800X HD Deep Review
 
The following users thanked this post: egonotto, w.v.s.

Offline james38

  • Regular Contributor
  • *
  • Posts: 100
  • Country: de
Re: East Tester ET4410&ET4510 Desktop LCR Meter
« Reply #321 on: June 29, 2024, 12:28:07 am »
Here is a application note on booting this µC:
https://www.st.com/resource/en/application_note/an2606-stm32-microcontroller-system-memory-boot-mode-stmicroelectronics.pdf

What is written in 4.7 "ExitSecureMemory feature" might make things harder.

But that's a datasheet for an STM32.

As far as I know, it was in older models.
The new ones only have MCU from Nation.

So in mine there's an N32G455 on the mainboard
and an N32G457 on the frontboard.

Do you have an STM32 in there?

Datasheet N32G457:
https://www.nationstech.com/en/N32G457d/

Datasheet N32G455:
https://www.nationstech.com/en/N32G455MCUs/
« Last Edit: June 29, 2024, 12:38:25 am by james38 »
 

Offline w.v.s.

  • Regular Contributor
  • *
  • Posts: 187
  • Country: de
Re: East Tester ET4410&ET4510 Desktop LCR Meter
« Reply #322 on: June 29, 2024, 09:36:47 am »
Does not seem to make a big difference, neither the core, nor the general booting concept.

Quote
2.5 Boot mode
At BOOT time, the BOOT mode after reset can be selected with the BOOT0/1 pin.
« Last Edit: June 29, 2024, 09:38:29 am by w.v.s. »
 

Online Martin72Topic starter

  • Super Contributor
  • ***
  • Posts: 6253
  • Country: de
  • Testfield Technician
Re: East Tester ET4410&ET4510 Desktop LCR Meter
« Reply #323 on: June 29, 2024, 12:15:09 pm »
I have an N32G455 in both cases.
This is on the signal board AND the front panel.
I have just connected the front panel of the ET4410 to the rest of the ET4510....
It's still an ET4410, as we suspected it's up to the front panel whether you have an ET45 or ET44.
And I discovered something else, but first take pictures.
"Comparison is the end of happiness and the beginning of dissatisfaction."
(Kierkegaard)
Siglent SDS800X HD Deep Review
 
The following users thanked this post: egonotto

Offline w.v.s.

  • Regular Contributor
  • *
  • Posts: 187
  • Country: de
Re: East Tester ET4410&ET4510 Desktop LCR Meter
« Reply #324 on: June 29, 2024, 12:49:35 pm »
I did some firmware-digging and I think I've found a reason for the next possible update:

Code: [Select]
ub_80515b0 calls sub_8040612 with the model-number-string as second parameter
sub_80515b0 is called by:
sub_805148c
in this context
sub_8054b62
sub_8040980(r0_18, &data_80515d8) // 00 00 00 00
sub_8040980(r0_18, &data_80515e0) // "MEASUREMENT"
->sub_8040980(r0_18, sub_80515b0) // model number
sub_8040980(r0_18, &data_80515ec) // "COMP"
sub_8040980(r0_18, &data_80515f4) // "COMPSET"
sub_8040980(r0_18, &data_80515bc) // "COMPset"
sub_8040980(r0_18, &data_80515fc) // "SYST"
sub_8040980(r0_18, &data_8051604) // "SYSTEM"
!!sub_8040980(r0_18, &data_80515c4) // "STSTem"
sub_8040980(r0_18, &data_80515cc) // "LIST"

*(uint32_t*)0x20000114 = 4;
*(uint32_t*)0x2000142f = 1;
goto label_80515a2;
*(uint32_t*)0x20000114 = 1;
goto label_80515a2;
*(uint32_t*)0x20000114 = 2;
goto label_80515a2;

According to this, I would assume, that the device reacts on "SYST", "SYSTEM" and  "STSTem" but not on "SYSTem" via SCPI  :-DD. The model-number-string-subroutine is also fed into the same subroutine as these  SCPI-command-strings. So it might be worth trying how the devices react on model-name-commands.
 
The following users thanked this post: thm_w, Martin72


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf