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

0 Members and 43 Guests are viewing this topic.

Offline Atlan

  • Super Contributor
  • ***
  • Posts: 1049
  • Country: sk
Re: FNIRSI-1013D "100MHz" tablet oscilloscope
« Reply #3650 on: February 14, 2026, 02:14:01 am »
Don't change the version number, use 0x1632 for EF2. The DSO firmware does some things differently based on this.

32bit is divided into 2 channels. TJ 16bit into 1 channel. Adc takes 2 samples 8bit, So 6144*2 per channel. Rounded 12000.
Do you know what I forgot to copy into základ.v ?

« Last Edit: February 14, 2026, 05:47:52 am by Atlan »
FNIRSI 1013D Always provide a picture or video with the problem where the parameters of the oscilloscope are visible, and a picture of the diagnostic screen with the values.
Firmware is here (or not) https://github.com/Atlan4/Fnirsi1013D/tree/main/Guide%20to%20firmware
 

Offline ObsoleteDIY

  • Regular Contributor
  • *
  • Posts: 72
  • Country: sk
  • Sometimes you can teach an old dog new tricks.
Re: FNIRSI-1013D "100MHz" tablet oscilloscope
« Reply #3651 on: February 14, 2026, 11:03:45 am »
Don't change the version number, use 0x1632 for EF2. The DSO firmware does some things differently based on this.

32bit is divided into 2 channels. TJ 16bit into 1 channel. Adc takes 2 samples 8bit, So 6144*2 per channel. Rounded 12000.
Do you know what I forgot to copy into základ.v ?

OK, I will do the testing of FW DSO1.00o5 + new FW FPGA EF2L 0x1632.

The differences in the *zaklad.v* file are in the settings of the *triger_read_address* and *sample_read_offset* registers.
« Last Edit: February 14, 2026, 08:58:41 pm by ObsoleteDIY »
 

Offline Atlan

  • Super Contributor
  • ***
  • Posts: 1049
  • Country: sk
Re: FNIRSI-1013D "100MHz" tablet oscilloscope
« Reply #3652 on: February 14, 2026, 04:23:59 pm »
EP4 tester?

Fixed EF2, I hope it's okay now DIY
« Last Edit: February 14, 2026, 04:26:12 pm by Atlan »
FNIRSI 1013D Always provide a picture or video with the problem where the parameters of the oscilloscope are visible, and a picture of the diagnostic screen with the values.
Firmware is here (or not) https://github.com/Atlan4/Fnirsi1013D/tree/main/Guide%20to%20firmware
 

Offline ObsoleteDIY

  • Regular Contributor
  • *
  • Posts: 72
  • Country: sk
  • Sometimes you can teach an old dog new tricks.
Re: FNIRSI-1013D "100MHz" tablet oscilloscope
« Reply #3653 on: February 14, 2026, 09:08:41 pm »
Hi,

I checked the *.zaklad.v* file in the *FPGA_EF2L45 ubuntu* folder. The file already  contains all my changes. On Monday I will test FW DSO1.00o5 + new FW FPGA EF2L 0x1632. Thanks.
 

Offline Atlan

  • Super Contributor
  • ***
  • Posts: 1049
  • Country: sk
Re: FNIRSI-1013D "100MHz" tablet oscilloscope
« Reply #3654 on: February 15, 2026, 07:18:56 am »
The new firmware lists the fpga type, fpga firmware version, and fpga firmware limitations in the diagnostic menu
FNIRSI 1013D Always provide a picture or video with the problem where the parameters of the oscilloscope are visible, and a picture of the diagnostic screen with the values.
Firmware is here (or not) https://github.com/Atlan4/Fnirsi1013D/tree/main/Guide%20to%20firmware
 

Offline firefly-10

  • Contributor
  • Posts: 12
  • Country: de
Re: FNIRSI-1013D "100MHz" tablet oscilloscope
« Reply #3655 on: February 15, 2026, 07:09:13 pm »
Replace 432 it is a 1.25V reference.

Hello,
Replacing the 432 worked, and now the calibration functions are also working. Thank you for the tips.

Now I have a few small questions about the last update (without the FPGA extensions).

Am I correct in understanding that I...

need to install the updater on the card using the loader program?

How much space do I need to leave at the beginning of the card?

Do I need to create any folders on the card where the latest update needs to be stored?

I've tried to find the answer in the nearly 150 pages here, but with my poor English (the text here is translated by AI), it's really not that easy.

How do I proceed to install the latest update without the FPGA stuff?

Thanks for your help.  ;D

Best regards,
Dirk
 

Offline Atlan

  • Super Contributor
  • ***
  • Posts: 1049
  • Country: sk
FNIRSI 1013D Always provide a picture or video with the problem where the parameters of the oscilloscope are visible, and a picture of the diagnostic screen with the values.
Firmware is here (or not) https://github.com/Atlan4/Fnirsi1013D/tree/main/Guide%20to%20firmware
 

Offline ObsoleteDIY

  • Regular Contributor
  • *
  • Posts: 72
  • Country: sk
  • Sometimes you can teach an old dog new tricks.
Re: FNIRSI-1013D "100MHz" tablet oscilloscope
« Reply #3657 on: February 16, 2026, 08:10:43 am »
Hi,

I am testing FW DSO 1.00o5 + new FPGA FW 0x1632:

1. RUN mode: Set sampling rate = 100MSPS, memory = 12000, so the displayed waveform should be 120 µs long? But the waveform is displayed with a length of 150 µs, is this okay?. (Added Note: from 120 us to 150 us is just a line.)

2. STOP mode: unknown waveform is displayed. Please see the attached video. Unknown waveform is displayed/not displayed depending on the position of the "H" point on the screen.

https://drive.google.com/file/d/1cNr6mpR_6TJ_ZPV5Nne8NePrGolwKtSj/view?usp=sharing
« Last Edit: February 16, 2026, 08:24:34 am by ObsoleteDIY »
 

Offline Atlan

  • Super Contributor
  • ***
  • Posts: 1049
  • Country: sk
Re: FNIRSI-1013D "100MHz" tablet oscilloscope
« Reply #3658 on: February 16, 2026, 02:18:07 pm »
If you move the image sideways, the waveform will be drawn within the waveform memory. What you have on the screen is drawing data that is outside the sample memory. And it can be any data in the program.
I'll do something about it. It's especially noticeable when they choose 75% Trigger.
« Last Edit: February 16, 2026, 02:30:31 pm by Atlan »
FNIRSI 1013D Always provide a picture or video with the problem where the parameters of the oscilloscope are visible, and a picture of the diagnostic screen with the values.
Firmware is here (or not) https://github.com/Atlan4/Fnirsi1013D/tree/main/Guide%20to%20firmware
 

Offline ObsoleteDIY

  • Regular Contributor
  • *
  • Posts: 72
  • Country: sk
  • Sometimes you can teach an old dog new tricks.
Re: FNIRSI-1013D "100MHz" tablet oscilloscope
« Reply #3659 on: February 20, 2026, 06:37:53 am »
Hi,

I checked the *.zaklad.v* file in the *FPGA_EF2L45 ubuntu* folder. The file already  contains all my changes. On Monday I will test FW DSO1.00o5 + new FW FPGA EF2L 0x1632. Thanks.

Hi

I found a bug in the new FW FPGA EF2L 0x1632. The calculation for the addr_delta register can overflow. I fixed the calculation for the addr_delta register, please see the attached file *zaklad.v*. I apologize for my mistake. Thank you
 

Offline ObsoleteDIY

  • Regular Contributor
  • *
  • Posts: 72
  • Country: sk
  • Sometimes you can teach an old dog new tricks.
Re: FNIRSI-1013D "100MHz" tablet oscilloscope
« Reply #3660 on: February 21, 2026, 09:10:50 am »
Hi Atlan,

DSO 1.00o5 + new FPGA FW Ef2L 0x1632 is not working correctly. I don’t know if the problem is in the DSO 1.00o5 FW or the FPGA EF2L 0x1632 FW? See the video attachment – measurement on a 1 kHz signal. DSO 1.00o5 + OEM FPGA FW EF2L 0x1432 works fine. Can you check if the same problem occurs with DSO 1.00o5 + FPGA FW AL3? Thanks

https://drive.google.com/file/d/1QAwUvCCKjU3KYnmMe3z-lH2GDoeKhIse/view?usp=sharing
« Last Edit: February 21, 2026, 09:17:04 am by ObsoleteDIY »
 

Offline Atlan

  • Super Contributor
  • ***
  • Posts: 1049
  • Country: sk
Re: FNIRSI-1013D "100MHz" tablet oscilloscope
« Reply #3661 on: February 21, 2026, 12:14:24 pm »
The problem may be that if the Trigger value is not found, the default value is used where the trigger should be. However, in auto mode, the Trigger may not be found at all. Because the number of samples is only counted and the result is displayed on the screen.

Normal mode works correctly.
FNIRSI 1013D Always provide a picture or video with the problem where the parameters of the oscilloscope are visible, and a picture of the diagnostic screen with the values.
Firmware is here (or not) https://github.com/Atlan4/Fnirsi1013D/tree/main/Guide%20to%20firmware
 

Offline ObsoleteDIY

  • Regular Contributor
  • *
  • Posts: 72
  • Country: sk
  • Sometimes you can teach an old dog new tricks.
Re: FNIRSI-1013D "100MHz" tablet oscilloscope
« Reply #3662 on: February 21, 2026, 12:53:01 pm »
Hi,

unfortunately I don't know how exactly the FW DSO works, but with a 1kHz signal it shouldn't be a problem to find the trigger point. There must be a bug somewhere. Is there any way we can fix it?
 

Offline Atlan

  • Super Contributor
  • ***
  • Posts: 1049
  • Country: sk
Re: FNIRSI-1013D "100MHz" tablet oscilloscope
« Reply #3663 on: February 21, 2026, 01:17:32 pm »
So try to calculate it. 10Msa,50us/div. Signal 1kHz. Number of samples 3000. Sampling starts at a random time and only 3000 samples are taken, do you think that one whole period of the signal will appear in those 3000 samples? Also calculate that if the trigger is at 50% memory, you need the Trigger value and edge type settings to be in the last 1500 samples.
FNIRSI 1013D Always provide a picture or video with the problem where the parameters of the oscilloscope are visible, and a picture of the diagnostic screen with the values.
Firmware is here (or not) https://github.com/Atlan4/Fnirsi1013D/tree/main/Guide%20to%20firmware
 

Offline ObsoleteDIY

  • Regular Contributor
  • *
  • Posts: 72
  • Country: sk
  • Sometimes you can teach an old dog new tricks.
Re: FNIRSI-1013D "100MHz" tablet oscilloscope
« Reply #3664 on: February 21, 2026, 01:42:58 pm »
During testing of the new FPGA firmware FW 0x1632, I tried setting the memory size to 12000 and the trigger to 25%, but the result was the same.

I’m asking whether there might be an issue somewhere, because I don’t understand how it is possible that the OEM FPGA firmware FW 0x1432, which has less memory than the new FPGA FW 0x1632, operates correctly in AUTO mode.
 

Offline Atlan

  • Super Contributor
  • ***
  • Posts: 1049
  • Country: sk
Re: FNIRSI-1013D "100MHz" tablet oscilloscope
« Reply #3665 on: February 21, 2026, 04:08:05 pm »
https://youtu.be/FwnBMSAJaEc?si=Gplkc3kHTwGEoaCw

What did you change in the last edit? Give me the specific line you changed. Because I had a quick look at your code and it looked fine.
FNIRSI 1013D Always provide a picture or video with the problem where the parameters of the oscilloscope are visible, and a picture of the diagnostic screen with the values.
Firmware is here (or not) https://github.com/Atlan4/Fnirsi1013D/tree/main/Guide%20to%20firmware
 

Offline ObsoleteDIY

  • Regular Contributor
  • *
  • Posts: 72
  • Country: sk
  • Sometimes you can teach an old dog new tricks.
Re: FNIRSI-1013D "100MHz" tablet oscilloscope
« Reply #3666 on: February 21, 2026, 04:47:49 pm »
Last change made in the file *zaklad.v.*? It was for calculating the addr_delta register. See line 457.

Old:
((trigger_read_address + 6144) - trigger_address);

New:
((6144 - trigger_address) + trigger_read_address);
 

Offline Atlan

  • Super Contributor
  • ***
  • Posts: 1049
  • Country: sk
Re: FNIRSI-1013D "100MHz" tablet oscilloscope
« Reply #3667 on: February 21, 2026, 06:41:33 pm »
Maybe a PC programmer could tell you more about the auto trigger mode. In that mode, numbers are sent to the register (from a table depending on the sampling frequency), which affect how many samples are taken. The question is whether it is solved through a timer, and what are the conditions. Now it is solved through the number of samples, a fixed number. It would be possible to give it through a table, and let it run several times in auto mode if the trigger is not found. At a high sampling frequency, this is not a problem, because it takes a short time. But for example, if you sample in the range of 100ms, the entire transfer takes 1.5s, and then a 2x extension would be unbearable.
FNIRSI 1013D Always provide a picture or video with the problem where the parameters of the oscilloscope are visible, and a picture of the diagnostic screen with the values.
Firmware is here (or not) https://github.com/Atlan4/Fnirsi1013D/tree/main/Guide%20to%20firmware
 

Offline ObsoleteDIY

  • Regular Contributor
  • *
  • Posts: 72
  • Country: sk
  • Sometimes you can teach an old dog new tricks.
Re: FNIRSI-1013D "100MHz" tablet oscilloscope
« Reply #3668 on: February 21, 2026, 08:31:21 pm »
Maybe a PC programmer could tell you more about the auto trigger mode. In that mode, numbers are sent to the register (from a table depending on the sampling frequency), which affect how many samples are taken. The question is whether it is solved through a timer, and what are the conditions. Now it is solved through the number of samples, a fixed number. It would be possible to give it through a table, and let it run several times in auto mode if the trigger is not found. At a high sampling frequency, this is not a problem, because it takes a short time. But for example, if you sample in the range of 100ms, the entire transfer takes 1.5s, and then a 2x extension would be unbearable.

Hi

I made changes to the new FW for the FPGA EF2L 0x1632. The problem with the AUTO trigger maybe is solved. See the attached video.

https://drive.google.com/file/d/1HBykfI4owhbMTiLtKWRdRWSWNV-uDMd6/view?usp=sharing
« Last Edit: February 21, 2026, 08:35:17 pm by ObsoleteDIY »
 

Offline Atlan

  • Super Contributor
  • ***
  • Posts: 1049
  • Country: sk
Re: FNIRSI-1013D "100MHz" tablet oscilloscope
« Reply #3669 on: February 22, 2026, 04:52:16 am »
Write the changes, line number, and change. Thank you.

If you're good at it, there's a hold off register, you can program it to wait a hold off time (ms or us) from the detection of the trigger condition and then start Sampling again when the Trigger occurs. (so I'm thinking if I should do the first conversion completely then wait and start the second conversion completely but that's probably not right) :-DMM

Why doesn't he use youtube for videos?
« Last Edit: February 22, 2026, 04:57:27 am by Atlan »
FNIRSI 1013D Always provide a picture or video with the problem where the parameters of the oscilloscope are visible, and a picture of the diagnostic screen with the values.
Firmware is here (or not) https://github.com/Atlan4/Fnirsi1013D/tree/main/Guide%20to%20firmware
 

Offline ObsoleteDIY

  • Regular Contributor
  • *
  • Posts: 72
  • Country: sk
  • Sometimes you can teach an old dog new tricks.
Re: FNIRSI-1013D "100MHz" tablet oscilloscope
« Reply #3670 on: February 22, 2026, 08:17:35 am »
Hi,

my temporary changes for the register (time_base_cnt) are not working reliably. Today I turned on the device and the AUTO trigger is not working. :palm: Yesterday when I recorded the video, the AUTO trigger was working. Could you please explain to me how the AUTO trigger works in the DSO firmware? What commands and values ​​(time_base_timeout) does the MCU send to the FPGA?Thanks
 

Offline Atlan

  • Super Contributor
  • ***
  • Posts: 1049
  • Country: sk
Re: FNIRSI-1013D "100MHz" tablet oscilloscope
« Reply #3671 on: February 22, 2026, 10:34:52 am »
Code: [Select]
  if(fpgasettings.fw_FPGA > 1)
  {
    //Write the command to set the pretrigger_samples to the FPGA
    fpga_write_cmd(0x0B);
    fpga_write_short(fpgasettings.settriggerpoint/2);

    //Write the command to set the total_samples to the FPGA
    fpga_write_cmd(0x0C);
    fpga_write_short(fpgasettings.totalsamples/2);

    //set time to automode
    fpga_set_time_base(scopesettings.timeperdiv);
  }

//short time base
void fpga_set_time_base(uint32 timebase) //len pre rezim auto, urcuje max cas po ktory sa odoberaju vzorky
{
  //Make sure setting is in range
  if(timebase < (sizeof(timebase_settings) / sizeof(uint32)))
  {
    //Write the command to set the short time base data to the FPGA
    fpga_write_cmd(0x0E);
   
    //Table settings ranges from setting 0 (200mS/div) to 23 (5nS/div)
    if(fpgasettings.fw_FPGA == 1)
    {
    fpga_write_int(timebase_settings[timebase]);
    }
      else fpga_write_int(scopesettings.samplecount);//3000-6000-9000-15000
  }
}

uint16 fpga_get_version(void)
{
  uint16  fw_version;
  fpgasettings.fw_FPGA = 0;
 
  fpga_write_cmd(0x06);
  fw_version = fpga_read_short();
 
  if(fw_version == 0x1432) fpgasettings.fw_FPGA = 1;  //fnirsi fw in FPGA
  if(fw_version == 0x1532) fpgasettings.fw_FPGA = 2;  //PECO fw in FPGA AL3
  if(fw_version == 0x1632) fpgasettings.fw_FPGA = 3;  //PECO fw in FPGA EF2

  return(fw_version);
}

const uint32 timebase_settings[35] =
{//long time base
    1800,   //50s/div
    1800,   //20s/div
    1800,   //10s/div
    1800,   //5s/div
    1800,   //2s/div
    1800,   //1s/div
    1800,   //500ms/div
    1800,   //200ms/div
    1800,   //100ms/div 9   
    1800,   //50ms/div  //not used
    1800,   //20ms/div  //not used
 //sort time base   ONLY mode AUTO trigger, set sample time
    5000,   //200ms/div  500Sa/s    12
    5000,   //100ms/div   1KSa
    5000,   // 50ms/div   2KSa
    5000,   // 20ms/div   5KSa (Was 800, but that does not yield enough samples)
    5000,   // 10ms/div  10KSa
    5000,   //  5ms/div  20KSa
    5000,   //  2ms/div  50KSa
    5000,   //  1ms/div 100KSa
    5000,   //500us/div 200KSa           
    5000,   //200us/div 500KSa
    8192,   //100us/div 1MSa//5596
    5596,   // 50us/div 2MSa
    9692,   // 20us/div 5MSa
   21980,   // 10us/div 10MSa
   21980,   //  5us/div 20MSa
   83420,   //  2us/div 50MSa
  206300,   //  1us/div 100MSa
  411100,   //500ns/div 200MSa
  411100,   //200ns/div
  411100,   //100ns/div
  411100,   // 50ns/div
  411100,   // 20ns/div
  411100,   // 10ns/div
  411100    //  5ns/div 35
}; Table for fnirsi FW fpga,

Table for fnirsi FW fpga, I could create a similar one for FPGA firmware
FNIRSI 1013D Always provide a picture or video with the problem where the parameters of the oscilloscope are visible, and a picture of the diagnostic screen with the values.
Firmware is here (or not) https://github.com/Atlan4/Fnirsi1013D/tree/main/Guide%20to%20firmware
 

Offline ObsoleteDIY

  • Regular Contributor
  • *
  • Posts: 72
  • Country: sk
  • Sometimes you can teach an old dog new tricks.
Re: FNIRSI-1013D "100MHz" tablet oscilloscope
« Reply #3672 on: February 22, 2026, 12:15:54 pm »
Hi

could you please tell me what values ​​*scope settings.sample count* sends MCU to FPGA 0x1632. Is the value constant or does it change? Thanks

See lines:

    if(fpgasettings.fw_FPGA == 1)
    {
    fpga_write_int(timebase_settings[timebase]);
    }
      else fpga_write_int(scopesettings.samplecount);//3000-6000-9000-15000
 

Offline Atlan

  • Super Contributor
  • ***
  • Posts: 1049
  • Country: sk
Re: FNIRSI-1013D "100MHz" tablet oscilloscope
« Reply #3673 on: February 22, 2026, 02:04:16 pm »
varies depending on the setting 3000-6000-9000-12000-15000

try this
FNIRSI 1013D Always provide a picture or video with the problem where the parameters of the oscilloscope are visible, and a picture of the diagnostic screen with the values.
Firmware is here (or not) https://github.com/Atlan4/Fnirsi1013D/tree/main/Guide%20to%20firmware
 

Offline wolferl1210

  • Contributor
  • Posts: 25
  • Country: at
Re: FNIRSI-1013D "100MHz" tablet oscilloscope
« Reply #3674 on: February 22, 2026, 03:08:04 pm »
sorry, been absent for a while - what is the latest firmware (without FPGA) - is it "fnirsi_1013d.bin v0.26v9.txt.bin"?

Do I need any extra hardware for the "FNIRSI1013D-APP-beta10\FNIRSI 1013D-APP-beta10.html" ?
How do I setup ?

greetings
« Last Edit: February 22, 2026, 03:50:52 pm by wolferl1210 »
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf

 

-->