Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bosean FS-600: Debugging #17

Closed
Dsl71 opened this issue Feb 25, 2024 · 89 comments
Closed

Bosean FS-600: Debugging #17

Dsl71 opened this issue Feb 25, 2024 · 89 comments
Labels
bug Something isn't working

Comments

@Dsl71
Copy link

Dsl71 commented Feb 25, 2024

I tried the new 2.0 beta16 on a board revision KL7 820.403D. The display had all pixels set to black, no background light, text was only readable in a very steep angle. keyboard seems to fail also. Klicks were hearable, the LED was flashing also.

Back to 2.0beta10 everything worked again.

@Dsl71 Dsl71 changed the title Bosean FS600 2.0beta16 Dsiplay is black Bosean FS600 2.0beta16 Display is black Feb 25, 2024
@Gissio
Copy link
Owner

Gissio commented Feb 25, 2024

A regression, how sad. Does this work?

radpro-bosean-fs600-2.0beta17-test1.bin.zip

@Gissio Gissio changed the title Bosean FS600 2.0beta16 Display is black Bosean FS-600 2.0beta16 Display is black Feb 25, 2024
@Gissio Gissio changed the title Bosean FS-600 2.0beta16 Display is black Bosean FS-600 2.0beta16: Display dark, no backlight, keys not working Feb 25, 2024
@Dsl71
Copy link
Author

Dsl71 commented Feb 25, 2024

this is only 32k instead of 128k, is this okay to flash?

@Gissio
Copy link
Owner

Gissio commented Feb 25, 2024

Yep. It'll complain with a checksum error because the firmware is not signed, but other than that, it should work.

@Gissio
Copy link
Owner

Gissio commented Feb 25, 2024

Oh, the settings might be wrong, but you can correct them.

@Gissio Gissio changed the title Bosean FS-600 2.0beta16: Display dark, no backlight, keys not working Bosean FS-600 2.0beta16: dark display, no backlight, keys not working Feb 25, 2024
@Dsl71
Copy link
Author

Dsl71 commented Feb 26, 2024

Just flashed it. After powering, the led flashes about 5 times and then it starts with checksum error display and then it shows everything normal. Btw, first time to see an output from the random generators. Cudos to you, Gissio ;-)

PS: On my FS2011 the 2.0beta16 seems to work fine. (radpro-fs2011-gd32f150c8-2.0beta16-install.bin) With the exception that the random generators don't show an output (font colour problem?)

@Gissio
Copy link
Owner

Gissio commented Feb 26, 2024

I'm glad it works now.

Do the new display contrast/brightness settings work? Does the dead-time measurement (statistics) work? Is the battery indicator working?

@Dsl71
Copy link
Author

Dsl71 commented Feb 26, 2024

Bosean FS-600:

display contrast/brightness settings work: yes (also on FS2011)
battery indicator working: no, shows empty batteries (they are new 1,5v AAA) (also on FS2011)
dead-time shows < 1078.0 µs (on FS2011 with SBM20: < 0.0 µs)

But biggest problem: settings and dose are still lost after power cycle. (works on FS2011)
RNG shows values: yes (no on FS2011)
LED on/off not working on every FS-600 device. (allways on on DG0MG device)

@Dsl71
Copy link
Author

Dsl71 commented Feb 29, 2024

Bosean FS-600:
After about 11h runtime dead-time shows < 1.7 µs
Contrast level 7&8 are useless, you can't read anything

@Dsl71
Copy link
Author

Dsl71 commented Mar 2, 2024

Bosean FS-600:
After about 46h runtime dead-time shows < 0.0 µs

@Gissio
Copy link
Owner

Gissio commented Mar 10, 2024

I just released 2.0beta17. It should fix the dead-time measurement and battery level readout. Also, settings should work now.

@Gissio Gissio changed the title Bosean FS-600 2.0beta16: dark display, no backlight, keys not working Bosean FS-600: dark display, no backlight, keys not working Mar 10, 2024
@Dsl71
Copy link
Author

Dsl71 commented Mar 10, 2024

hmm, flashed it , but only the led is red all the time, no display text,no display led. seems to track pulses still (led is then off while click sound)

@Gissio
Copy link
Owner

Gissio commented Mar 11, 2024

Can you make a video and share it here?

@Dsl71
Copy link
Author

Dsl71 commented Mar 11, 2024

Uff, even a 5 sec video is too big. so:

  • Press on
  • Led lits constantly
  • No screen light and text
  • if a click apears, short led off.

thats all

@Dsl71
Copy link
Author

Dsl71 commented Mar 11, 2024

20240311_052516.video-converter.com.mp4

@Gissio
Copy link
Owner

Gissio commented Mar 11, 2024

That video helped a lot, thanks! I'll keep you updated.

@Gissio
Copy link
Owner

Gissio commented Mar 13, 2024

I just released Rad Pro 2.0beta18. Can you go over this checklist?

  • The display/backlight works.
  • Settings are stored to flash memory.
  • The radiation alarms work (flash the screen and beep).
  • While unplugged, the battery indicator works correctly.
  • While plugged, the battery indicator shows a lighting icon.
  • The temperature indicator in the statistics menu shows reasonable values.
  • The random generator and dead-time compensation work.
  • The serial port communication works.
  • Data logging works and you can download the datalog with radpro-tool.

@Dsl71
Copy link
Author

Dsl71 commented Mar 13, 2024

YES- The display/backlight works.
NO- Settings are stored to flash memory.
PARTLY****- The radiation alarms work (flash the screen and beep).
YES- While unplugged, the battery indicator works correctly.
YES- While plugged, the battery indicator shows a lighting icon.
NO**-The temperature indicator in the statistics menu shows reasonable values.
YES***- The random generator and dead-time compensation work.
TBD- The serial port communication works.
TBD- Data logging works and you can download the datalog with radpro-tool.

  • ** Crash while entering menu,had battery to be removed to reboot
  • *** How can i check if dead-time compensation work?
  • **** Screen flash a little bit short (daylight condition), no beep,just click sound

@Gissio
Copy link
Owner

Gissio commented Mar 14, 2024

I'm sorry, I meant dead-time measurement, not dead-time compensation. If you can't enter the statistics screen, you can't do this for now.

Can you try dumping the contents of the flash memory to a file and upload it here? I'm suspecting the program code is being overwritten. This command should do the trick:

st-flash read backup.bin 0x08000000 0x20000

@Dsl71
Copy link
Author

Dsl71 commented Mar 14, 2024

backup_boseanfs600_2_0_beta18.zip

Here it is, its the same content than the original flash file.

@Gissio Gissio added the bug Something isn't working label Mar 14, 2024
@Gissio
Copy link
Owner

Gissio commented Mar 14, 2024

First, thanks for your patience.

I am sending you beta19-test4.

radpro-bosean-fs600-2.0beta19-test4-install.bin.zip

If the statistics view crashes, you should hear a series of pulses, after which the device should turn itself off. Please make a recording of these pulses using a voice recorder and attach it here to a message. This will let me know where the problem is.

Also, let me know if the settings are saved now.

@Dsl71
Copy link
Author

Dsl71 commented Mar 15, 2024

No Problem, thank you for your effort to transform trash counters to good counters!

Settings are not saved.

Entering the statistics screen, immediate freeze, no pulses,no shutdown.

Sorry, i have no better news.

@Gissio
Copy link
Owner

Gissio commented Mar 15, 2024

Beta20 (https://github.com/Gissio/radpro/releases) should fix the statistics screen crash.

@Dsl71
Copy link
Author

Dsl71 commented Mar 15, 2024

hmm statistics screen doesn't crash, values (temp between -303 to 125 °C) seems to be not correct.
Settings are not saved.
deadtime shows -.
After some time, 22 pulses, deadtime < 86000.0 µs
After some time, 207 pulses, deadtime < 32.0 µs
After some time, >1000 pulses, deadtime saturates at < 32.0 µs

Temp is - 304°C, i have to heat up my room :-)

@Gissio
Copy link
Owner

Gissio commented Mar 16, 2024

I forgot to ask, does the battery indicator show the correct level of charge when unplugged?

@Gissio
Copy link
Owner

Gissio commented Mar 25, 2024

Can you try again?

radpro-bosean-fs600-2.0rc2-test1-install.bin.zip

Fixed a race condition and an error condition (involving the "ORE" flag) that led to interrupts being generated continuously.

@Dsl71
Copy link
Author

Dsl71 commented Mar 26, 2024

Device freezes at connection attempt. Only pulse led is working later on.

grafik

@Gissio
Copy link
Owner

Gissio commented Mar 26, 2024

STM32G070 madness again... And now?

radpro-bosean-fs600-2.0rc2-test2-install.bin.zip

With GeigerLog 1.4.3c?

@Dsl71
Copy link
Author

Dsl71 commented Mar 26, 2024

oje same as before...

Device freezes at connection attempt. Only pulse led is working later on.

@Gissio
Copy link
Owner

Gissio commented Mar 26, 2024

Ohje.

By the way, please tell the people in the other forum that the KL7 820.403A board has the pulse LED wired directly to the pulse detection circuit. Thus it can't be disabled by software.

The KL7 820.403D board has the pulse LED wired to the MCU, so it is possible to disable the pulse LED by software.

In order to keep things simple, I decided to provide the same firmware for both board revisions.

@Gissio Gissio changed the title Bosean FS-600: Dark display, no backlight, keys not working Bosean FS-600: Dark display, no backlight, keys not working, datalogging freezes device Mar 29, 2024
@Gissio Gissio changed the title Bosean FS-600: Dark display, no backlight, keys not working, datalogging freezes device Bosean FS-600: dead-time measurement errors, data not stored to flash, datalogging errors Mar 29, 2024
@Dsl71
Copy link
Author

Dsl71 commented Mar 30, 2024

Ah,yes, a new title is welcome. btw happy easter...

@Dsl71
Copy link
Author

Dsl71 commented Apr 6, 2024

Meanwhile i got a second Bosean FS-600. Should i send it to you for debugging purposes?

@Gissio Gissio changed the title Bosean FS-600: dead-time measurement errors, data not stored to flash, datalogging errors Bosean FS-600: Debugging Apr 7, 2024
@Gissio
Copy link
Owner

Gissio commented Apr 7, 2024

Your offer is greatly appreciated!

But I don't think it is necessary. It's just that I'm just out of time these days. I don't think it will be hard to fix the serial port problem.

@Gissio
Copy link
Owner

Gissio commented Apr 19, 2024

I finally found some time to work on this. Here goes 2.0rc3test4 for the Bosean FS-600:

radpro-bosean-fs600-2.0rc3-test4.bin.zip

@Dsl71
Copy link
Author

Dsl71 commented Apr 19, 2024

Same as before, user Interface freeze, GeigerLog does not recognize device. BTW nice bargraph, instantaneous values not correct. ( 3-7 µSV/h if an impulse comes in, then -.--- if no impulse comes in shortly afterwards.) Persistent settings are working still.

@Dsl71
Copy link
Author

Dsl71 commented Apr 19, 2024

Average 4 µSv/h... Normal would be around 0,12 µSv/h here at my place. The new UI look i like a lot.

Statistics: with > 1000 pulses, dead time shows < 40µs.
Device voltage: 0.336V.

With a little hoter source instantaneous value looks more correct.

@Gissio
Copy link
Owner

Gissio commented Apr 20, 2024

I found the communications bug! It was a silly "set" that should have been a "get".

I also fixed the instantaneous rate error, which slipped in in the last minute.

There goes 2.0rc6, packaged with the brand-new radpro-flashtool. Just start the flash-bosean-fs600.bat file.

radpro-flashtool-2.0rc3-test6.zip

@Dsl71
Copy link
Author

Dsl71 commented Apr 21, 2024

hmm it says syntax error and there is no bin file in the zip
Folder firmware is empty.

@Gissio
Copy link
Owner

Gissio commented Apr 21, 2024

Can you try again?

radpro-flashtool-2.0rc3-test6.zip

What version of Windows do you use? Can you post a screenshot of the error?

@Dsl71
Copy link
Author

Dsl71 commented Apr 21, 2024

10 Pro 21H2. Flashing worked now.. instantaneous rate looks way better now.

@Dsl71
Copy link
Author

Dsl71 commented Apr 21, 2024

AAAANNNNNDDDD... Geigerlog not freezing device hehe

@Dsl71
Copy link
Author

Dsl71 commented Apr 21, 2024

grafik
Later more, now is 4AM here hehe

@Gissio
Copy link
Owner

Gissio commented Apr 21, 2024

BTW, did you check the display when the alarm goes off?

@Dsl71
Copy link
Author

Dsl71 commented Apr 21, 2024

Now i did. Wow nice flashing. And the speed of the instantaneous, if you remove hotter sources... super

@Gissio
Copy link
Owner

Gissio commented Apr 21, 2024

Can we celebrate by closing this issue?

@Dsl71
Copy link
Author

Dsl71 commented Apr 21, 2024

Yes, we should close, really great work. BTW flashing the FS 2011 with the new tool didn't work. I used the old method:

st-flash.exe write radpro-fs2011-gd32f150c8-2.0rc3-image.bin 0x08000000

@Gissio
Copy link
Owner

Gissio commented Apr 21, 2024

Can you post the radpro-flashtool messages log?

@Dsl71
Copy link
Author

Dsl71 commented Apr 21, 2024

uff, at the next release, just closed the GC.

@Dsl71
Copy link
Author

Dsl71 commented Apr 21, 2024

And under a new Topic...

@Gissio
Copy link
Owner

Gissio commented Apr 21, 2024

Closing this thread.

@Gissio Gissio closed this as completed Apr 21, 2024
@Gissio
Copy link
Owner

Gissio commented Apr 27, 2024

Now i did. Wow nice flashing. And the speed of the instantaneous, if you remove hotter sources... super

Could you make a video and upload it to YouTube, showcasing your experience with Rad Pro? Would that be too much to ask?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants