Author Topic: FNIRSI-1013D "100MHz" tablet oscilloscope  (Read 805337 times)

dimorlus and 5 Guests are viewing this topic.

Offline Russell2024UK

  • Contributor
  • Posts: 15
  • Country: gb
Re: FNIRSI-1013D "100MHz" tablet oscilloscope
« Reply #2325 on: August 22, 2024, 10:51:25 am »
Sleo sorry i did not see your comment till now .. It works when i import as text file just change to all " " I now i have V0.025h Thank you so so Much  :) thanks all
 

Offline Russell2024UK

  • Contributor
  • Posts: 15
  • Country: gb
Re: FNIRSI-1013D "100MHz" tablet oscilloscope
« Reply #2326 on: August 22, 2024, 04:22:17 pm »
Hi Would you know if the firmware for the 1013D have any newer than v0.025h ? Thanks
 

Online pcprogrammer

  • Super Contributor
  • ***
  • Posts: 4135
  • Country: nl
Re: FNIRSI-1013D "100MHz" tablet oscilloscope
« Reply #2327 on: August 22, 2024, 04:43:43 pm »
Hi Would you know if the firmware for the 1013D have any newer than v0.025h ? Thanks

If it is not in this thread, chances are that there is not. Atlan is the only one I know of who is working on the software, so you will have to be patient and wait for him to bring something new.  :)

There are multiple forks on github of my original repository, so maybe there is something new in one of those, but I have not checked.

Offline Russell2024UK

  • Contributor
  • Posts: 15
  • Country: gb
Re: FNIRSI-1013D "100MHz" tablet oscilloscope
« Reply #2328 on: August 22, 2024, 04:49:26 pm »
Thank you for a prompt detailed helpful reply ... All noted .. For the cost with new firmware's its a great inexpensive scope ... 
 

Offline Feux

  • Newbie
  • Posts: 2
  • Country: ua
Re: FNIRSI-1013D "100MHz" tablet oscilloscope
« Reply #2329 on: August 22, 2024, 07:57:36 pm »
Could you please tell me if there is a bin file for FPGA firmware?
And if there is, how does the FPGA programming process work, via USB or is a programmer needed for this?
And where exactly is it stored after programming, in the FPGA chip itself?
 

Offline Russell2024UK

  • Contributor
  • Posts: 15
  • Country: gb
Re: FNIRSI-1013D "100MHz" tablet oscilloscope
« Reply #2330 on: August 22, 2024, 08:23:31 pm »
Hi i have a DGE2070 Owon function generator set to sine wave of 22MHZ and the Fnirsi-1013D version 0.025h is not a nice clean sine wave !!!.. if you look at the original firmware from Fnirsi 1013D all is very good .. Has anyone else noticed this ?
« Last Edit: August 22, 2024, 08:25:03 pm by Russell2024UK »
 

Offline Feux

  • Newbie
  • Posts: 2
  • Country: ua
Re: FNIRSI-1013D "100MHz" tablet oscilloscope
« Reply #2331 on: August 22, 2024, 09:13:27 pm »
Hi i have a DGE2070 Owon function generator set to sine wave of 22MHZ and the Fnirsi-1013D version 0.025h is not a nice clean sine wave !!!.. if you look at the original firmware from Fnirsi 1013D all is very good .. Has anyone else noticed this ?
The problem might be that the original firmware embellishes the signal on the oscilloscope to make it look nice, while the modified firmware shows it as it is.

A frequency of 22 MHz is already at the limit for this oscilloscope, and it cannot display it perfectly.
 
The following users thanked this post: Russell2024UK

Offline bffargo

  • Contributor
  • Posts: 49
  • Country: us
Re: FNIRSI-1013D "100MHz" tablet oscilloscope
« Reply #2332 on: August 23, 2024, 03:01:18 am »
I have tried to change the end of my text file to .bin but the type does not change unsure why ..

Reread my post above. You haven't enabled windows to show the file extension as part of the filename. It's hiding that and only conveying that info in the column to the right. It's still physically ending in ".txt" even though you add ".bin".  Literally it is now ".bin.txt" but Windows Explorer is hiding the ".txt" part from you due to the default options of hiding the extension.

My image posted shows where the checkbox is to click that then will show that extension as part of the filename.
 
The following users thanked this post: Russell2024UK

Online pcprogrammer

  • Super Contributor
  • ***
  • Posts: 4135
  • Country: nl
Re: FNIRSI-1013D "100MHz" tablet oscilloscope
« Reply #2333 on: August 23, 2024, 07:12:28 am »
Hi i have a DGE2070 Owon function generator set to sine wave of 22MHZ and the Fnirsi-1013D version 0.025h is not a nice clean sine wave !!!.. if you look at the original firmware from Fnirsi 1013D all is very good .. Has anyone else noticed this ?
The problem might be that the original firmware embellishes the signal on the oscilloscope to make it look nice, while the modified firmware shows it as it is.

A frequency of 22 MHz is already at the limit for this oscilloscope, and it cannot display it perfectly.

Yep, the original firmware is even worse when you go up to >40MHz. It just calculates a sine wave to display and only uses the captured signal to determine the frequency and amplitude, but fails on the latter. The amplitude goes up instead of down.  :-DD

It is all described in this thread starting from page 19 or so, when I picked up the reverse engineering of the device. The original firmware is full of tricks to make the signal look good, but makes it less useful in at least my opinion.

Online pcprogrammer

  • Super Contributor
  • ***
  • Posts: 4135
  • Country: nl
Re: FNIRSI-1013D "100MHz" tablet oscilloscope
« Reply #2334 on: August 23, 2024, 07:22:53 am »
Could you please tell me if there is a bin file for FPGA firmware?
And if there is, how does the FPGA programming process work, via USB or is a programmer needed for this?
And where exactly is it stored after programming, in the FPGA chip itself?

The FPGA uses a separate FLASH chip to load it's configuration from. There is no way to load a new configuration, other than opening the device and connecting a programmer to the FPGA FLASH chip or via the JTAG connection of the FPGA.

It depends a bit on the version of the scope which FPGA is used. Older versions have an Altera FPGA and newer ones use Anlogic FPGA's.

The binaries can be found here: https://github.com/pecostm32/FNIRSI-1013D-1014D-Hack/tree/main/Binaries/Original%20files/FPGA%20Flash

I reverse engineered the Anlogic AL3-10 one. Read about it here: https://www.eevblog.com/forum/fpga/reverse-engineering-anlogic-al3_10-fpga/

The code I used for the reverse engineering is open source and can be found here: https://github.com/pecostm32/Anlogic_AL3-10_Analyzing

Offline Russell2024UK

  • Contributor
  • Posts: 15
  • Country: gb
Re: FNIRSI-1013D "100MHz" tablet oscilloscope
« Reply #2335 on: August 23, 2024, 07:50:01 am »
bffargo  thank you my fault i did not read your post fully . your right now it shows .bin from text file thanks again .
 

Offline Russell2024UK

  • Contributor
  • Posts: 15
  • Country: gb
Re: FNIRSI-1013D "100MHz" tablet oscilloscope
« Reply #2336 on: August 23, 2024, 07:58:27 am »
Hi Thanks .. Cheers for the details I will have a look at page 19 onwards Glad you started to help.. Ive not  tested 40 MHz as yet ...  its strange as when i input the same sine wave at 22 Mhz into my Owon XDS2102A Scope the sine seen is like the original Firmware of the Fnirsi 1013D not like the version 0.025h strange which looks poor .. fully understand Fnirsi 1013D has a limit at 20Mhz approx how ever still a good scope for the money..



 

Online pcprogrammer

  • Super Contributor
  • ***
  • Posts: 4135
  • Country: nl
Re: FNIRSI-1013D "100MHz" tablet oscilloscope
« Reply #2337 on: August 23, 2024, 08:56:47 am »
Hi Thanks .. Cheers for the details I will have a look at page 19 onwards Glad you started to help.. Ive not  tested 40 MHz as yet ...  its strange as when i input the same sine wave at 22 Mhz into my Owon XDS2102A Scope the sine seen is like the original Firmware of the Fnirsi 1013D not like the version 0.025h strange which looks poor .. fully understand Fnirsi 1013D has a limit at 20Mhz approx how ever still a good scope for the money..

That is like comparing apples with oranges. The Owon has 12 bits resolution versus 8 bits on the 1013D, 1GSa/s versus 200MSa/s and it might well be that the Owon uses sin(x)/x interpolation to clean up the signal shown on the display.

The new firmware written by me and adapted by Atlan has nothing to improve on the signal, it just plots straight lines between the sample points.  :)

Offline Russell2024UK

  • Contributor
  • Posts: 15
  • Country: gb
Re: FNIRSI-1013D "100MHz" tablet oscilloscope
« Reply #2338 on: August 23, 2024, 10:05:11 am »
Thank you and makes perfect sense .. Your help with others offering us all updates for the Fnirsi 1013D is great which i am very pleased with and will continue to upgrade mine with you with time. Ps thank you for your hard work It makes it easy for folks like me to add updates as a none programmer just an Electronics Engineer ..
 

Offline Sleo

  • Contributor
  • Posts: 22
  • Country: ru
Re: FNIRSI-1013D "100MHz" tablet oscilloscope
« Reply #2339 on: August 23, 2024, 11:09:12 am »
As requested by Atlan, saving and restoring the calibration sector has been added.
 
The following users thanked this post: bffargo, Atlan, Russell2024UK

Offline Russell2024UK

  • Contributor
  • Posts: 15
  • Country: gb
Re: FNIRSI-1013D "100MHz" tablet oscilloscope
« Reply #2340 on: August 23, 2024, 11:50:51 am »
Sleo WOW that's fantastic work thank you .. Tested works well so far all good/ Ps Atlan thanks for asking for this upgrade to the software ..
« Last Edit: August 23, 2024, 02:02:49 pm by Russell2024UK »
 
The following users thanked this post: Atlan

Offline Sleo

  • Contributor
  • Posts: 22
  • Country: ru
Re: FNIRSI-1013D "100MHz" tablet oscilloscope
« Reply #2341 on: Yesterday at 01:16:50 am »
Minor bug fix release.
Reformatting the card doesn't work yet, but I've added a first version of repartitioning procedure. It overwrites the MBR and creates a single FAT32-LBA partition with the required number of hidden sectors regardless of the SD card size. You'll need to unplug and replug the device after resizing, Windows should prompt you to format it. After format reselect the device in the loader. This feature won't work for GPT-partitioned cards, for now you have to repartition it with Rufus etc.
You can now use old small SD cards (1GB or less) that have too few hidden sectors, just change its count. The correct number of hidden sectors is 1023 (for the current alternative firmware) or more.
THIS FEATURE IS DESTRUCTIVE for files on the card, is not finished and not fully tested yet, use with caution.
« Last Edit: Yesterday at 01:19:13 am by Sleo »
 
The following users thanked this post: Atlan, Russell2024UK

Offline Russell2024UK

  • Contributor
  • Posts: 15
  • Country: gb
Re: FNIRSI-1013D "100MHz" tablet oscilloscope
« Reply #2342 on: Yesterday at 12:08:41 pm »
Hi Sleo i tested a 8gb SanDisk card via a card reader via my windows 11 laptop ( formatted the old way via disk part ) using your firmware loader V1.1 which sees your write function icon and works well including calibration import function all good - However when i use your firmware loader V1.1.1 it does not show write function icon .. unsure if this helps or i may be doing something wrong .. Ps keep up the great work ..
 

Offline Sleo

  • Contributor
  • Posts: 22
  • Country: ru
Re: FNIRSI-1013D "100MHz" tablet oscilloscope
« Reply #2343 on: Yesterday at 02:01:02 pm »
*+
r V1.1.1 it does not show write function icon
I just tried to preserve the file system for non-FAT32 formatted cards, so buttons were disabled if partition type is 'Unknown'. Firmware binaries and config/calibration sectors can be written regardless of the filesystem, alternative firmware should be load anyway, but oscilloscope may not recognize the storage for screenshots etc.
Test modification: buttons enabled for any partition type; partition type code displayed. Can you make one more screenshot with this version and the same SD-card? Thanks for beta-testing :-)
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf