Ailunce HD1

OK2MOP
Posts: 61
Joined: Sat Jun 17, 2023 1:21 pm

Re: Ailunce HD1

Post by OK2MOP » Mon Jun 26, 2023 7:34 pm

Hello, I have spent some time finding about the update method of Ailunce HD1, and have a decoder and encoder for the official firmware which is inside of the windows update exe as resource 2502\CUSTOM\101. Later I found that this format (text prompt with choice on serial port and then 1024 byte variant of X/Y modem) is already documented and If necessary, I can publish the tools which also support reassembly of the firmware, although I was not able to replace the 101 resource in the updater so it is probably moot point, as radio_tool supports the firmware update from binary firmware.

What is bigger problem, there are 4 different variants of Ailunce HD1 in the wild right now. The more recent ones which are shipped nowadays have A9131A or A9131B (GPS with FW version 2.2.x) marking with checkbox on the shipping box and would be unsupported.

Based on the first bytes of the decrypted firmware file, the CPU inside has changed between the revisions of V1 (FW ID 0x0184 for GPS and 0x017C without in the "encrypted" firmware first two bytes) and V2 (0x0229 without GPS and 0x0230 with GPS in the "encrypted" firmware first two bytes).

Whilst V1 have MK22 based CPU and schematics is known, V2 has different firmware start instead of the vector table (it looks very similar to Retevis RT73 which is unsupported) and the schematics will be different. So any possible firmware support would be limited to older V1 firmware models.

User avatar
PU4BLA
Posts: 59
Joined: Sat Jul 03, 2021 11:11 pm
Location: MINAS GERAIS - BRASIL
Contact:

Re: Ailunce HD1

Post by PU4BLA » Tue Jun 27, 2023 3:13 am

Here in Brazil, the Ailunce HD1 is a very used and well regarded Radio. We are very interested that the OPENGD77 can be installed in the HD1, I think it would be an incredible radio. This week we will make formal contact with Ailunce, requesting that it facilitate the work of the OPENGD77 team for Ailunce HD1, I think that the more Radio Amateurs make this request to Ailunce, we will succeed faster.

73/51

VK3KYY
Posts: 7478
Joined: Sat Nov 16, 2019 3:25 am
Location: Melbourne, Australia

Re: Ailunce HD1

Post by VK3KYY » Wed Jun 28, 2023 7:07 am

The developers are NOT porting the firmware to this radio (HD1) because they are currently bug fixing and enhancing all the other supported radios, and has already been posted, the next radio of interest is the TYT MD-2017

Anyone wishing to port the firmware to this radio can do so by using the OpenGD77 source code that has been released for the GD77 and UV380

User avatar
PU4BLA
Posts: 59
Joined: Sat Jul 03, 2021 11:11 pm
Location: MINAS GERAIS - BRASIL
Contact:

Re: Ailunce HD1

Post by PU4BLA » Wed Jun 28, 2023 10:25 am

I received an e-mail from Ailunce if it makes itself available to provide any and all information that will help developers to implement OPENGD77 in HD1, just ask ok!

Email Ailunce:

Hi Mr Roger  Clark,
This is a great news. We are very glad to cooperate with the OPENGD77 team.
What kind of technical information do you need about HD1?

Regards,
Vivian


发自我的企业微信

hams@ailunce.com

MELERIX
Posts: 6
Joined: Wed Jul 19, 2023 4:27 am
Location: Chile

Re: Ailunce HD1

Post by MELERIX » Wed Jul 19, 2023 4:35 am

hello, here is a PDF with info about C7000 chip: https://www.filemail.com/d/iotdisrzxgdngdz (available for a week)

it contains detailed technical info about the chip and features (in Chinese lang), maybe somebody can translate it, I hope it could be useful to develop a OpenGD77 for radios that use C7000 chip.

regards

VK3KYY
Posts: 7478
Joined: Sat Nov 16, 2019 3:25 am
Location: Melbourne, Australia

Re: Ailunce HD1

Post by VK3KYY » Wed Jul 19, 2023 4:47 am

MELERIX wrote:
Wed Jul 19, 2023 4:35 am
hello, here is a PDF with info about C7000 chip: https://www.filemail.com/d/iotdisrzxgdngdz (available for a week)

it contains detailed technical info about the chip and features (in Chinese lang), maybe somebody can translate it, I hope it could be useful to develop a OpenGD77 for radios that use C7000 chip.

regards
The HD1 does not use the C7000 chip

The problem with the C7000 chip in general, is that it requires a compiler toolchain and Software Development Kit SDK / Application Programming Interace, which is not publically available

The C7000 uses the CK803S MCU, and althogh this processor is supported by gcc, I've never found any examples of how to write even the most basic of applications e.g. Blink an LED

MELERIX
Posts: 6
Joined: Wed Jul 19, 2023 4:27 am
Location: Chile

Re: Ailunce HD1

Post by MELERIX » Wed Jul 19, 2023 5:33 am

the HD1 v1 models use C6000 chip, while the new 2023 models aka HD1 v2 uses the new C7000 chip and a more recent firmware.

VK3KYY
Posts: 7478
Joined: Sat Nov 16, 2019 3:25 am
Location: Melbourne, Australia

Re: Ailunce HD1

Post by VK3KYY » Wed Jul 19, 2023 5:47 am

MELERIX wrote:
Wed Jul 19, 2023 5:33 am
the HD1 v1 models use C6000 chip, while the new 2023 models aka HD1 v2 uses the new C7000 chip and a more recent firmware.
In that case the radios will be quite different, becuase the C7000 replaces both the MK22 MCU and also the C6000 DMR chip.

Ailuance should have given this new version a different product code e.g. HD1A

Baofeng eventually had to rename the new DM-1801 to DR-1801 when people realised it didn't contain the same hardware and requested a refund.

VK3KYY
Posts: 7478
Joined: Sat Nov 16, 2019 3:25 am
Location: Melbourne, Australia

Re: Ailunce HD1

Post by VK3KYY » Wed Jul 19, 2023 5:54 am

MELERIX wrote:
Wed Jul 19, 2023 5:33 am
the HD1 v1 models use C6000 chip, while the new 2023 models aka HD1 v2 uses the new C7000 chip and a more recent firmware.
Do you know where the build toolchain + SDK for this chip is available as well as example code.

The MCU manufacturers for the MK22 in the GD77 and STM32F4xx used in the UV380 have these tools on their websites, but its unclear who even makes the C7000 let alone how to get hold of the SDK etc

MELERIX
Posts: 6
Joined: Wed Jul 19, 2023 4:27 am
Location: Chile

Re: Ailunce HD1

Post by MELERIX » Wed Jul 19, 2023 6:13 am

sorry, but I don't have more info :(

but maybe some of the OpenGD77 developers can get in contact with Vivian at hams@ailunce.com

Post Reply