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

HFS-P3: Support #12

Closed
ihrapsa opened this issue Nov 18, 2023 · 5 comments
Closed

HFS-P3: Support #12

ihrapsa opened this issue Nov 18, 2023 · 5 comments
Labels
enhancement New feature or request wontfix This will not be worked on

Comments

@ihrapsa
Copy link

ihrapsa commented Nov 18, 2023

image
This is a cheap little pen-like radiation detector/dosimeter from China that apparently could benefit from a lot of firmware improvements:

  • persistent cumulative dose after shut down
  • cps/cpm monitoring
  • pulse click with ability to enable/disable this
  • high dose-rates measuring improvements
  • temperature monitoring
  • power saving features
  • etc.

Here is a nice an thorough review of it.

MCU: ARM Cortex-M0 FM33LC043N MCU from Fudan Micro
Sensor: HH614 GM Tube
Battery: 150mAh LiPo cell - 50h promised

Click for internal pics:

PCB layout [from radmon.org forum]

radmon_pic

SWD pins layout under the battery tape [from radmon.org forum]

I'm urrently waiting for a SWD debugger to play with this. Let me know what else I can provide and how I should go about this.

@Gissio Gissio added the enhancement New feature or request label Mar 14, 2024
@Gissio Gissio changed the title HFS-P3 support HFS-P3: Support Mar 16, 2024
@Gissio Gissio added the wontfix This will not be worked on label May 9, 2024
@Gissio Gissio closed this as completed May 9, 2024
@ihrapsa
Copy link
Author

ihrapsa commented Jun 8, 2024

Sorry for reviving this but I managed to dump the firmware of this device. SWD port is not locked as previous thought.
I used a J-Link device (actually a ST-Link V2 clone flashed with J-Link using STLinkReflash) and I managed to dump it with J-Link Commander as well as with Keil µVision V5

For J-Link Commander I dumped it with   
savebin C:\Users\jonah\Downloads\HFS-P3_dump.bin, 0x0, 40000

J-Link Commander Screenshot

image

For Keil µVision V5 I dumped it with
SAVE HFS-P3_dump.hex 0x0, 0x3FFFF Then converted the Intel HEX-386 file format to binary using hex2bin.exe

Keil µVision V5 Screenshot

image

HFS-P3_dump.bin.zip

Also, here is the datasheet in English:
FM33LC0xx_Datasheet_EN.pdf

@Gissio
Copy link
Owner

Gissio commented Jun 8, 2024

The FM33 is quite different from the STM32. This would require a lot of time and motivation, which I currently don't have.

@ihrapsa
Copy link
Author

ihrapsa commented Jun 8, 2024

I can understand that. Thanks anyway! 🙂
In the meantime I found some interesting developing sources for FM33LC0xx here on GitHub. In case anyone else is brave and knowledgeable enough to hop on this I'm willing to help with testing.

https://github.com/xdu-aero-association/FM33LC0XX_Example_0.04
https://github.com/SoCXin/FM33LC0

PS. I also posted all this in that radmon.org post as well since that’s where this thing started

@Gissio
Copy link
Owner

Gissio commented Jun 11, 2024

One more thing... could you test #97?

@ihrapsa
Copy link
Author

ihrapsa commented Jun 11, 2024

One more thing... could you test #97?

Will sure do!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants