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

0 Members and 5 Guests are viewing this topic.

Offline pcprogrammer

  • Super Contributor
  • ***
  • Posts: 3999
  • Country: nl
Re: FNIRSI-1013D "100MHz" tablet oscilloscope
« Reply #2275 on: July 07, 2024, 03:38:12 pm »
@Atlan,

I answer your questions here, as others might find it useful too.

Quote
How does FEL mode actually work?

FEL is something of Allwinner technology and build in to (some of the) the MCU's they make. When there is no boot program found on either the SD card or FLASH memory it starts this FEL code. This opens an USB connection with a host and allows for all kind of actions. See https://linux-sunxi.org/Sunxi-tools#sunxi-fel

Quote
does it have any advantage over uploading to an sd card?

It certainly does, because with the scope it becomes possible to load the compiled firmware directly to the memory and execute it. This way there is no wear of the SD card, and it allows for a bit faster testing of new development.

The default FEL mode does not allow loading to the DRAM because it does not enable it, but with the starting FEL via the bootloader the DRAM is enabled and therefore allows loading to it.

Quote
does it allow reset via PC?

No, you will have to power cycle the scope to reenter the FEL mode. You could add a menu option to the main menu though, that does this for you and with that avoid power cycling.

Quote
is a specially compiled firmware required?

No, the binary firmware as it rolls out of the .elf file can be uploaded and executed. For this you need the sunxi-fel tool found here. This one is build by me from the sources I found on the net and is intended for Linux only. Don't forget to set it executable.

I have used this during the development of both the 1013D and the 1014D firmwares. Very easy. Check the instructions in this file.

I load the binary to a non existing address 32 bytes (size of the BROM header) before the start of the memory to have it in the right location for the vectors. The original firmware binary does not need this.

Offline Atlan

  • Frequent Contributor
  • **
  • Posts: 367
  • Country: sk
Re: FNIRSI-1013D "100MHz" tablet oscilloscope
« Reply #2276 on: July 07, 2024, 05:24:50 pm »
Why does it work when I have the number 220, but not if I use "variable"?
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.
 
The following users thanked this post: stedivid

Offline pcprogrammer

  • Super Contributor
  • ***
  • Posts: 3999
  • Country: nl
Re: FNIRSI-1013D "100MHz" tablet oscilloscope
« Reply #2277 on: July 07, 2024, 07:05:48 pm »
Quote
Why does it work when I have the number 220, but not if I use "variable"?

That is a very good question to which I have no answer.

Are you sure the variable is set to a correct value?

Offline Atlan

  • Frequent Contributor
  • **
  • Posts: 367
  • Country: sk
Re: FNIRSI-1013D "100MHz" tablet oscilloscope
« Reply #2278 on: July 08, 2024, 06:50:42 am »
Just changing the boot screen.
The time to select the option to start the firmware is approx. 2s, if you touch anywhere on the screen other than the buttons, the reaction time is extended to 9s. Added the remaining time counter.

« Last Edit: July 08, 2024, 07:53:13 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.
 
The following users thanked this post: Dbuezas, tokar, stedivid

Offline engineer.r152

  • Contributor
  • Posts: 34
  • Country: ru
Re: FNIRSI-1013D "100MHz" tablet oscilloscope
« Reply #2279 on: July 08, 2024, 08:58:10 am »
Good afternoon! In the latest version 0.025c, the screen was displayed with an offset, position correction via Loader LCD/TP Config does not help, it is in an offset position. This problem has been solved before!
 

Offline Atlan

  • Frequent Contributor
  • **
  • Posts: 367
  • Country: sk
Re: FNIRSI-1013D "100MHz" tablet oscilloscope
« Reply #2280 on: July 08, 2024, 10:15:22 am »
Also the boot screen is shifted?
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.
 

Offline pcprogrammer

  • Super Contributor
  • ***
  • Posts: 3999
  • Country: nl
Re: FNIRSI-1013D "100MHz" tablet oscilloscope
« Reply #2281 on: July 08, 2024, 10:33:17 am »
When not mistaken the original boot loader loaded the configuration file for the display shift and the touch panel transform, so you probably have to add that again to the new one.

Offline Atlan

  • Frequent Contributor
  • **
  • Posts: 367
  • Country: sk
Re: FNIRSI-1013D "100MHz" tablet oscilloscope
« Reply #2282 on: July 08, 2024, 01:36:43 pm »
v0.025d with botloader 0.02 it should be ok. After the first start it will be moved, but after the second it will be OK
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.
 
The following users thanked this post: Dbuezas, tokar, stedivid

Offline engineer.r152

  • Contributor
  • Posts: 34
  • Country: ru
Re: FNIRSI-1013D "100MHz" tablet oscilloscope
« Reply #2283 on: July 08, 2024, 02:04:13 pm »
yes, the start screen is shifted, but the original firmware is not. I haven't tested the new version yet. Thanks!
 
The following users thanked this post: Atlan

Offline Felipe Lacerda

  • Contributor
  • Posts: 13
  • Country: br
Re: FNIRSI-1013D "100MHz" tablet oscilloscope
« Reply #2284 on: July 08, 2024, 05:02:01 pm »
v0.025d with botloader 0.02 it should be ok. After the first start it will be moved, but after the second it will be OK

Thanks a lot!
You made it very useful!

Is this difference between channels normal in AD comp?
Calibration seems ok to you?
 

Offline engineer.r152

  • Contributor
  • Posts: 34
  • Country: ru
Re: FNIRSI-1013D "100MHz" tablet oscilloscope
« Reply #2285 on: July 09, 2024, 05:36:49 am »
Now the main firmware and the alternative are displayed correctly, and the bootloader is still shifted.
 
The following users thanked this post: Atlan

Offline Atlan

  • Frequent Contributor
  • **
  • Posts: 367
  • Country: sk
Re: FNIRSI-1013D "100MHz" tablet oscilloscope
« Reply #2286 on: July 09, 2024, 06:04:17 am »
ADC comp is a bit high, but I saw that some people have it that way.

152. Try this, boot fw 0.03.
It initializes the display, prints error messages if they exist, loads data for image shift if they are correct, makes changes and displays the main boot menu.
« Last Edit: July 10, 2024, 02:07:14 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.
 
The following users thanked this post: Felipe Lacerda, engineer.r152, stedivid, Khial

Offline engineer.r152

  • Contributor
  • Posts: 34
  • Country: ru
Re: FNIRSI-1013D "100MHz" tablet oscilloscope
« Reply #2287 on: July 09, 2024, 09:24:38 am »
It's okay! Version.003 operates without bias in all modes.
 
The following users thanked this post: Atlan, stedivid

Offline Atlan

  • Frequent Contributor
  • **
  • Posts: 367
  • Country: sk
Re: FNIRSI-1013D "100MHz" tablet oscilloscope
« Reply #2288 on: July 17, 2024, 07:41:31 pm »
In the dc shift calibration menu, the calibration values ​​are displayed. V+ and V- enables their change.

v0.025e

« Last Edit: July 17, 2024, 07:56:21 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.
 
The following users thanked this post: engineer.r152, stedivid

Offline engineer.r152

  • Contributor
  • Posts: 34
  • Country: ru
Re: FNIRSI-1013D "100MHz" tablet oscilloscope
« Reply #2289 on: July 18, 2024, 10:05:58 am »
Atlan, thank you for the next firmware mod! Could you remind me which parameters are configured in countries 1, 2 and 3?
On page 1 and 3, changing the settings does not affect anything. On page 2, the signal is adjusted relative to 0.
« Last Edit: July 18, 2024, 12:14:03 pm by engineer.r152 »
 

Offline Atlan

  • Frequent Contributor
  • **
  • Posts: 367
  • Country: sk
Re: FNIRSI-1013D "100MHz" tablet oscilloscope
« Reply #2290 on: July 18, 2024, 03:47:35 pm »
Turn on both channels of DC mod and measurement, bring a suitable signal to both inputs. (eg rectangle 1V peak to peak), press auto button. The option "dc shift calibration" is activated in the diagnostic menu. In the oscilloscope mode, the CTRL key is pressed. The menu to the right allows you to change the value of dc_shift_center, place the signal in the center. Press the next page button. The menu on the right allows you to change the value of dc_shift_size, set the size of the signal so that it graphically corresponds to the size of the signal. The menu on the right allows you to change the value of dc_shift_value, set the measured value in "measurements" to correspond to the size of the supplied signal. Press the end cal button. The values ​​are saved and the oscilloscope goes into normal mode.

I don't have time to test it, I deleted the calibration values ​​during bootloader development.  So that I would have to carry out the angular calibration, I don't have time.
« Last Edit: July 18, 2024, 03:50:38 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.
 
The following users thanked this post: engineer.r152, stedivid

Offline Atlan

  • Frequent Contributor
  • **
  • Posts: 367
  • Country: sk
Re: FNIRSI-1013D "100MHz" tablet oscilloscope
« Reply #2291 on: July 20, 2024, 08:17:21 pm »
First, it is necessary to have the input divider calibrated.  After switching on the oscilloscope, wait 3 minutes, perform base calibration.  And after connecting the signal, press autoset, activate DC shift calibration in the menu and perform the setting.  The change of the first value will be reflected when you press autoset again!

The first value (116) should be such that after pressing autoset, the signal on the screen is placed symmetrically about the central axis.

The second value, set the position of the signal relative to the pointer to the left

Third value, set the measured value of Vmin to 0



It will require a small program modification to keep the dc shift calibration menu enabled.
« Last Edit: July 20, 2024, 08:28:13 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.
 
The following users thanked this post: facekim

Offline Evi

  • Regular Contributor
  • *
  • Posts: 111
  • Country: ru
Re: FNIRSI-1013D "100MHz" tablet oscilloscope
« Reply #2292 on: July 20, 2024, 08:46:52 pm »

Are we betting on the right horse?

“Better Fewer but better.”
Vladimir Lenin


“As we have evolved, we have encountered more and more problems.”
NASA Annual Report

« Last Edit: July 20, 2024, 09:26:16 pm by Evi »
 

Offline Evi

  • Regular Contributor
  • *
  • Posts: 111
  • Country: ru
Re: FNIRSI-1013D "100MHz" tablet oscilloscope
« Reply #2293 on: July 20, 2024, 09:18:20 pm »

1. Stop oscillating
2. Define really existing problems.
3. Separate problems reasons: SW or HW
4. Solve only one task at the moment

or stay in endless loop


« Last Edit: July 20, 2024, 09:23:54 pm by Evi »
 

Offline Atlan

  • Frequent Contributor
  • **
  • Posts: 367
  • Country: sk
Re: FNIRSI-1013D "100MHz" tablet oscilloscope
« Reply #2294 on: Yesterday at 02:50:54 pm »
How about you try it out to see if it works as I described.  Do the waveforms then correspond in the DC mode.?  That would help matters.  We have known for a long time that it is a hardware failure.
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.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf