-
I have a FNIRSI GC-01 with chip CH32F103. I want to use it on an AMR5 Mini PC (https://acemagic.de/products/amr5-minipc) which I had setup for doubleboot with Win11 and Linux Mint LMDE 6. This PC has only USB3 connectors - no others. I test both OSs and start each one with GC-01 being Off. Linux: Simply upon plugging in, a drive "GC01 BOOT" is mounted and shows a single file "Readme.TXT" with size 0 bytes. On pressing the OK button on the gc01 the drive un-mounts, next press the drive re-mounts, etc. Win11: Upon plugging in nothing happens. On pressing the OK button, the file manager shows me a drive D: with name "GC01 BOOT". Its only content is a file "Readme.txt" with size 0 bytes. Pressing OK again, the drive D: disappears; another press and D: is back, etc. So far it looks like the situation is identical for both OS? And now what? I have to download the new firmware and copy it next to the Readme file? And then the GC01 takes this as new firmware and boots with it? Would be cute, but based on my experience with various other micro-processors I have my doubt that this simple copying to the file system would install a firmware. Then what 3-, 4-, 5-finger salutes do I need to give and on which keyboard to install the new firmware? |
Beta Was this translation helpful? Give feedback.
Replies: 12 comments 16 replies
-
It turns out there are at least four different bootloaders in the wild, each with a different behaviour. Some work with all OSes, and some only on Windows (and there goes the answer to your question). And there is one bootloader which presents a cryptic "AIR01" interface, which seems to not show up as a USB drive. So my advice is to install Rad Pro from Windows, even though it could work from other OSes as well (I have read a report of somebody installing it successfully from Linux). The bootloader you mention (drive "GC01") is known to work. Just follow the instructions (indeed, copy the firmware next to Readme.txt) and let us know. And even if there were a serious issue with the bootloader, you can fix the GC-01 with an STLINK dongle. |
Beta Was this translation helpful? Give feedback.
-
Holy Moly - it works! Well, almost. Here my steps: Linux:
Windows11:
I can get some clicks, walk through the menus, change a few settings, so far ok. Nice! Now to the almost part: there is no USB connection! Neither on Win, nor on Lin. The fw's USB mode says "USB connection enabled". No, it isn't. So, GeigerLog has no chance to talk to it. |
Beta Was this translation helpful? Give feedback.
-
I'm glad you managed to flash the firmware! In 2.0rc2, data communications requires the following sequence:
Fortunately, in the next release this won't be needed! |
Beta Was this translation helpful? Give feedback.
-
That worked! Steps:
For now this has to be done every time one wants to plug it in.
I am delighted to see Because testing serial ports for a device by writing to the ports may have significant unwanted side effects! |
Beta Was this translation helpful? Give feedback.
-
Please don't check the Manufacturer string (it might change). Use the Product string. Also, remember that the Bosean FS-600/FS-1000 use a CH340E serial port USB adapter which does not follow this scheme. |
Beta Was this translation helpful? Give feedback.
-
Which scheme are they following then? Either Manufacturing or product string are ok, plus the vID and pID, as long as they are known. Is there a list with the strings/IDs to expect? It is always better to have confirmed the device before writing to it. As I said, there can be side effects. And all the devices on your "supported" list follow the very same Radpro code? I'll need to buy some of those cheapest ones! |
Beta Was this translation helpful? Give feedback.
-
I am having connection issues. In order to make a USB connection, I have to switch to the "USB mode" screen on the counter, and only then plug in the USB cable. Ok. But in the moment I switch away from the "UDB Mode" screen, the USB connection is lost? RadPro can no longer communicate with the counter? The USB device |
Beta Was this translation helpful? Give feedback.
-
Is there a way to empty the History memory? |
Beta Was this translation helpful? Give feedback.
-
I have another finding, which I find more disturbing. Logging over hours goes mostly well, but there are certain events, as shown in the pic. Arrows are pointing to it. The CPS has values of zero, followed by a value of about twice the average. So the counter is delivering nothing in the first call, and makes up for it in the second by sending the sum of the second and what would have been the first call! Next pic is a blowup of such events, showing the individual jumps down to zero, up to double and down to average. The data table lists 2 such events. The time increases monotonically, with a delta spread of 0.99 to 1.02 sec. The pulse count also increases strictly monotonically (though the increase may be zero). Poisson of CPS is almost ok, though one sees the impact of the events. This is using nothing but your command "GET tubePulseCount"; GeigerLog has no influence on what this reports. Is there a limit on the cycle time the counter is supporting? I used a cycle of 1 sec. |
Beta Was this translation helpful? Give feedback.
-
In my previous post I demonstrated this "zero & double" effect of CPS count-rate, and wondered it may come from the counter being overworked from the 1 sec cycle. So I set the cycle to 3 sec. The "zero & double" was not seen over some 20 hours, however something else equally unpleasing came up. I marked some bad spots with 1...4 (there may be more, but not as obvious), and a blow up of # 4 in the next pic. This is clearly not right! Checking Poisson is no help here, because the CPS rate is determined from a "CD3S" rate - the counts over 3 sec - by dividing by 3, which renders the distribution non-Poissonian anyway. In the present form the firmware is not giving the right answers. Why? |
Beta Was this translation helpful? Give feedback.
-
In 2.0rc2, Rad Pro updates In 2.0rc3, Rad Pro does not apply dead-time nor background compensation to the |
Beta Was this translation helpful? Give feedback.
-
Regarding the issue you raised on Sourceforge:
|
Beta Was this translation helpful? Give feedback.
Holy Moly - it works!
Well, almost. Here my steps:
I used fw (firmware)
radpro-fnirsi-gc01-ch32f103r8-2.0rc2-install.bin
Remember, the computer AMR5 Mini PC has only USB3 ports!
Linux:
GC01 BOOT
GC01 BOOT
Windows11: