Dear PCP, yesterday I got some timefor my toy and found all FOUR BNC decoupling capacitors short circuited, and as an extra de 150 nF input capacitor for channel one was 0 ohms too. Now the reference 1.25V is present at the BNC connectors thanks to you.
Well that makes you wonder what has happened to that scope
Which are de improvements on your firmware, I´m very curious about to know them in order to proceed with the flash with your help to invert X/Y TP coordinates.
As you can read in the previous post the touch has now been resolved with a configuration file.
Apparently FNIRSI made several versions of the firmware to cater for the different hardware out there. Seems to be the earlier models that have the touch panel either configured differently or have a different touch panel driver IC. Funny thing is that the whole new firmware quest arose from a defective and then when replaced inverted touch panel
To summarize the improvements:
1) Solved the hanging scope after USB disconnect
A lot of the times the original firmware freezes when something has been read or written from/to the SD card via the USB connection and is then disconnected.
It took quite a bit of time to tackle this part of the software due to the lack of documentation for the F1C100s and me being new to SD card and USB mass storage software.
2) Improved the handling of the acquisition data.
The original firmware is sluggish in acquiring and processing the sample data. It also did not make full use of the available data. Furthermore it uses a "special IC" to do unnecessary tasks.
The communication between the F1C100s and this IC is prone to error causing data corruption in the sample data.
In the new firmware this "special IC" is no longer used and the full sample data is available. This means 3000 samples for all time base ranges instead of 1500 or even only 750 samples.
The refresh rate is much higher in the new firmware.
There is still room for improvement in the display part, to make it look smoother in the 100ns - 5ns/div range.
3) Fixed several issues with the picture and waveform saving and viewing part of the code.
This part of the code is rewritten to make it more robust. The reverse engineered original code is crap, as is the whole original code. At some point I stopped reversing it because I could not bare the frustration of it anymore.
The code can still be found in the hack repository. That is already cleaner then the original but unfinished. The whole story about this starts on page 20 or so of this thread.
4) Modified the acquisition speed versus time per division setup.
Added a new menu that allows the selection of both the acquisition speed and the time per division setting. This gives flexibility in zooming in time.
5) Modified the measurement displaying
In the original firmware the measurements are displayed based on the order of being enabled. This can lead to channel 2 measurements being in between channel 1 measurements.
In the new firmware channel 1 measurements are on the left and channel 2 on the right. Also the menu has been corrected to reflect this.
Funny side note: I viewed Dave's review of the scope video a couple of days ago and he rant's about this weirdness in the measurements menu
These are the main changes. And with it being fully open source it is possible to make it your own.
I have moved on to other projects to learn new things. At the moment I'm working on a arbitrary wave generator with the FA201 FPGA board and a Lichee nano. This will also be open sourced in the Liche nano repository I setup:
https://github.com/pecostm32/Lichee_Nano