MH32F103

From BlaatSchaap Wiki
Jump to navigationJump to search

This page discusses a number of MCUs that are expected to share the same or a closely related die.

  • AIR32F103
  • HL2030A
  • HL2103A
  • MH2103C
  • MH32F103A
  • MH32F103C


Companies:

On https://www.hlkpint.com it currently lists the HL2030 and HL2103. There are mentions of HL32F103C and HL32F103A. The website shows replacement part numbers for ST, GD and Geehy part numbers. There are English datasheets for HL2030A, HL2103A and MH2103C, but there are no reference manuals. The datasheets are mention Megahunt as the company.

There are various git repositories floating around on github for the air32f103, mh32f103 and mh2103c, mentioning the parts are equivalent.

These chips are reported to have additional RAM (96 KiB) that can be unlocked by some magic bytes. Additionally they can run much faster (up to 218 MHz). Furthermore they offer a random number generator and a dac.

In a migration guide it discusses a way to identify the MCU. It seems their serial number starts with a fixed value. The migration guide discusses

MH2103C CBT6   0x1C5A5BBX
MH2103C CCT6   0x1C5A5CCX

The LuatOS wiki mentions the following values

AIR32F103CBT6 0x1A5A5BBX
AIR32F103CCT6 0x1A5A5CCX
AIR32F103RPT6 0x1A6A5CDX
AIR32F103VET6 0x1A8A6DDX
AIR32F103VGT6 0x1A8A6EDX
AIR32F103ZET6 0x1A9A6DDX

Observed values are

AIR32F103   0x1a5a5bb5
 MH32F103   0x1a5a5cca

The fist byte in the migration guide is 1C. Observed on the tested MCU it is 1A. This suggests these are equivalent to HL2103A in stead, furthermore we see the BB and CC near the end, suggesting a 128 KiB flash and a 256 KiB flash variant.

There have some issues as discussed in a previous blog post (TODO link)