Products > Test Equipment

New bench scope - Fnirsi 1014D, 7", 1GSa/s

<< < (42/67) > >>

donwulff:
You'd be surprised, FNIRSI in particular have firmware updates for a lot of their products on http://www.fnirsi.cn/support, including the 1014D. Whether it was a fatal bug is a matter of debate, it's not like it's still working perfect. And they're not principally opposed to having it updateable, due to the flash chips having programming ports. Reason I'm surprised is it's just generally more effort to leave it out, no need for the second programming port on the PCB etc. I suppose one possibility is the final_final_really_final FPGA version just disabled it after programming... Half kidding, it's not hard to believe they'd just leave it out and do everything the hard way.

I meant to ask though, according to @pcprogrammer's great circuit diagram it's Altera Cyclone IV EP4CE6 but I did notice the discussion thread is about Anlogic? Is it a clone or no relation to the Altera Cyclone? I'll try to get around skimming through all those threads though.

Noticed the hacking repository also has source code for the MCU running flash programmer via USB, which is interesting. Since basically all of the case is empty air, the idea of putting in USB hub with some extra devices like WiFi, flasher etc. is one possibility. Unfortunately can't do anything about the overall capabilities, or getting to the unused pins...

donwulff:
So looking around I found out @pcprogrammer already did the hard work of decoding the original FPGA in https://www.eevblog.com/forum/fpga/reverse-engineering-anlogic-al3_10-fpga/50/#lastPost - in addition https://www.eevblog.com/forum/testgear/fnirsi-1013d-100mhz-tablet-oscilloscope/msg4010977/#msg4010977 suggests @morris6 was working on re-write of the FPGA. Is that still ongoing?

Also on https://www.eevblog.com/forum/testgear/fnirsi-1013d-100mhz-tablet-oscilloscope/msg4027378/#msg4027378 it was mentioned some boards actually do have Altera FPGA. According to https://www.eevblog.com/forum/testgear/fnirsi-1013d-100mhz-tablet-oscilloscope/msg4051087/#msg4051087 Anlogic one has markings removed, so the Altera FPGA would have Altera logo? Might I assume all 1014D have Anlogic FPGA?

It seems my time might be better spent on trying to add support for the physical controls ARM core into the existing software for now.

pcprogrammer:

--- Quote from: donwulff on December 29, 2022, 05:23:36 pm ---I meant to ask though, according to @pcprogrammer's great circuit diagram it's Altera Cyclone IV EP4CE6 but I did notice the discussion thread is about Anlogic? Is it a clone or no relation to the Altera Cyclone? I'll try to get around skimming through all those threads though.

--- End quote ---

I drew the schematics with the Altera Cyclone IV because the original 1013D uses that one. It has been replaced with a pin compatible Anlogic FPGA. The two configuration bit streams are different, and since the scopes I have use the Anlogic one, it is this one that I reverse engineered. The Altera one would have been a tougher quest involving reverse engineering Altera software to get to the meaning of the individual configuration bits. That work was already done for the Anlogic one.

Read the thread about the reverse engineering of the FPGA. You might find it very interesting.


--- Quote from: donwulff on December 29, 2022, 05:23:36 pm ---Noticed the hacking repository also has source code for the MCU running flash programmer via USB, which is interesting. Since basically all of the case is empty air, the idea of putting in USB hub with some extra devices like WiFi, flasher etc. is one possibility. Unfortunately can't do anything about the overall capabilities, or getting to the unused pins...

--- End quote ---

Due to the fact that everything I did is bare metal programming, adding more USB gadgets is not that simple. I wrote a CH340 emulator that allows communicating with the FPGA and a lot of other test stuff. But these are device implementations and not host implementations.

The USB flash programming you refer to is probably the sunxi FEL software for the F1C100s build in software to do these actions.

In the end I switch to using the SD card to load and start the firmware making it much easier to do the updates. The MCU firmware flash is left as is and unused when running my firmware. The same can be done for the 1014D.

It is not running linux like the Hantek scope. There is a version of linux that runs on the 1013D, but I did not use it, nor does the original firmware.

Edit:  :-DD I noticed that I did not change the 1014D schematic to reflect the usage of the Anlogic FPGA.

pcprogrammer:

--- Quote from: donwulff on December 29, 2022, 07:04:00 pm ---So looking around I found out @pcprogrammer already did the hard work of decoding the original FPGA in https://www.eevblog.com/forum/fpga/reverse-engineering-anlogic-al3_10-fpga/50/#lastPost - in addition https://www.eevblog.com/forum/testgear/fnirsi-1013d-100mhz-tablet-oscilloscope/msg4010977/#msg4010977 suggests @morris6 was working on re-write of the FPGA. Is that still ongoing?

--- End quote ---

Should have read both your posts before writing my first one  :-DD

And that is what I have been writing about here, that I did all the work for the 1013D and also partially tackled the 1014D.

I have some insight in the 1014D FPGA, but fully doing that one would still be a lot of work figuring out the clock routing and memory block usage.

The work morris6 started was never finished. There is a design that works to some extend, but we both decided it was not worth continuing with it. You can search github to find morris6 his repository about it.


--- Quote from: donwulff on December 29, 2022, 07:04:00 pm ---Also on https://www.eevblog.com/forum/testgear/fnirsi-1013d-100mhz-tablet-oscilloscope/msg4027378/#msg4027378 it was mentioned some boards actually do have Altera FPGA. According to https://www.eevblog.com/forum/testgear/fnirsi-1013d-100mhz-tablet-oscilloscope/msg4051087/#msg4051087 Anlogic one has markings removed, so the Altera FPGA would have Altera logo? Might I assume all 1014D have Anlogic FPGA?

--- End quote ---

Since the 1014D is introduced after the 1013D I suspect they only use the Anlogic FPGA.


--- Quote from: donwulff on December 29, 2022, 07:04:00 pm ---It seems my time might be better spent on trying to add support for the physical controls ARM core into the existing software for now.

--- End quote ---

Yep that would be a good starting point. There is also a Ghidra project for the firmware of the control MCU. The program is not that big and might be the easiest way to get an insight in what it sends to the main MCU.

Rasz:
If you are really dead set on hacking it up ~$60 “ZEEWEII DSO1511G” is a lot cheaper/better target. ~90MHz BW, dual 100MHz AD9288 ADC. LATTICE LCMXO2, Allwinner F1C100s), more on https://www.eevblog.com/forum/testgear/dso1511e-review/ or ~$80 2 channel SigPeak DSO2512G version https://www.eevblog.com/forum/testgear/new-2ch-pocket-dsosg-sigpeak-dso2512g/

Navigation

[0] Message Index

[#] Next page

[*] Previous page

There was an error while thanking
Thanking...
Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod