Baofeng DM-1701/Baofeng DM-1802/Retevis RT-84 running latest OpenMDUV380(openGD77)

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

Re: Baofeng DM-1701/Baofeng DM-1802/Retevis RT-84 running latest OpenMDUV380(openGD77)

Post by VK3KYY » Sat Mar 04, 2023 8:24 pm

SA0BUX wrote:
Sat Mar 04, 2023 7:48 am
VK3KYY wrote:
Sat Mar 04, 2023 7:18 am
BD4VOW wrote:
Sat Mar 04, 2023 7:14 am


I'm gonna buy one for porting.
OK

That would be good.

I know someone with the MD2017 but he would only want to try the firmware once it is fully working.
I have a RT82 (GPS) which is the same radio as MD-2017 , I''m curious to test and load some OpenGD77 so I'm charging the radio now and installed the CPS X-version on my PC.

( Additionally I have the RT84 but I have lent it out for the moment, my OM friend would be very happy if it will be possibly to run OpenGD77 in the future )
I would not advise at the moment that you install the UV380 or DM1701 firmware on the 2017 until we know which pins control the PA.
Because it may be possible to enable both Tx and Rx at the same time and damage the radio

Hopefully BD4VOW will be able to provide MCU pin mapping for this radio, becuase its not easy to reverse engineer the hardware, even if you open the radio and attempt to 'buzz' the connnections to the various chips, as it is difficult to know where the PA control transistors etc are located

We don't have a schematic for the UV380, we worked from the MD380 schematic and other information on the web about the UV380

Possibly TYT may give the pin mapping if they think it would sell more radios.

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

Re: Baofeng DM-1701/Baofeng DM-1802/Retevis RT-84 running latest OpenMDUV380(openGD77)

Post by VK3KYY » Sat Mar 04, 2023 9:47 pm

I've created new sections in the forum for the DM-1701 and MD-2017

I will move this thread to the new section later today

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

Re: Baofeng DM-1701/Baofeng DM-1802/Retevis RT-84 running latest OpenMDUV380(openGD77)

Post by VK3KYY » Sat Mar 04, 2023 11:33 pm

BTW

The firmware loader screen can be translated to Chinese if you change the chinese.xml installed by the CPS

See this block of xml

Code: Select all

  <FirmwareLoaderUI_STM32 ......

Probably other sections are also not fully translated

Now that the loader supports multiple STM32 based radios, I will probably need to change things in the english version


In the long term, I should merge the firmware loader UI, but the problem is that the MK22 MCU radios and STM32 radios use different 'donor' / official firmware, and at the moment I do not have time to make this change, but I have now changed so there is only one menu item for Firmware loader, in the latest CPS

User avatar
BD4VOW
Posts: 67
Joined: Sat Feb 18, 2023 3:38 am
Location: Suzhou,China

Re: Baofeng DM-1701/Baofeng DM-1802/Retevis RT-84 running latest OpenMDUV380(openGD77)

Post by BD4VOW » Sun Mar 05, 2023 2:02 pm

VK3KYY wrote:
Sat Mar 04, 2023 8:19 pm
New version to perhaps fix the battery voltage

https://opengd77.com/downloads/DM1701/F ... a8df0ea2ea

also in the Latest folder



I averaged your two readings and used this to calculate a new battery divider coeffecient which I hope will be better

But it may still need some small changes
The displayed votage is precise now in this version, I will try to use the battery voltage down to 6.6v and give the actual voltage to you.

User avatar
BD4VOW
Posts: 67
Joined: Sat Feb 18, 2023 3:38 am
Location: Suzhou,China

Re: Baofeng DM-1701/Baofeng DM-1802/Retevis RT-84 running latest OpenMDUV380(openGD77)

Post by BD4VOW » Sun Mar 05, 2023 2:24 pm

VK3KYY wrote:
Sat Mar 04, 2023 7:32 pm
I released the latest GD77 sources yesterday

Perhaps you can experiment with adding Chinese language support to that radio, however there is not much ROM space remaining , so you should use the Japanese build because this only contains the English and Japanese texts


I do not know the normal method for storing the Chinese font on devices with limited ROM. Even the Flash memory in the GD77 may not be large enough to store all Chinese characters

Some people have replaced the GD77 Flash memory with 16Mb version, so you could perhsps modify your GD77 to increase the Flash memory.

Probably you would also need to change a lot in all the GUI files, because the sizes of Chinese characters would need to be larger
But the GUI files we use in the UV380 and MD9600 are taken from the Gd77 versions with only some small changes, so if you make a Chinese version of OpenGD77 you could use most of the code in the Dm1701 etc
Very exciting good news!

I would start by reading your current latest code to get enough information about design structure and implementation details.

But I should not try to implement Chinese support on OpenGD77 for the time being. I know that some people have tried, but it seems that there is no ideal result. I think it may be because of the limitations of the device storage and display of the GD77 series. At present, the Chinese GD77 community ham users don't seem to care too much about whether the display supports Chinese or not, because English has long been used very familiarly.

But I will wait for your release the source code of OpenDM1701/OpenMDUV380, and start to try wide text language support, because after all, these machines come with 16MByte Flash and a clear enough color display, which will make the wide text language display more clear, beautiful and easy to use.

User avatar
BD4VOW
Posts: 67
Joined: Sat Feb 18, 2023 3:38 am
Location: Suzhou,China

Re: Baofeng DM-1701/Baofeng DM-1802/Retevis RT-84 running latest OpenMDUV380(openGD77)

Post by BD4VOW » Sun Mar 05, 2023 3:22 pm

VK3KYY wrote:
Sat Mar 04, 2023 9:47 pm
I've created new sections in the forum for the DM-1701 and MD-2017

I will move this thread to the new section later today
There is a small typo issue on the annoucement, It is not DM-1801, DM-1801 is in GD77 series.

About the other model names except DM-1701, I found some reference for your information.

Image

Image

Image

User avatar
BD4VOW
Posts: 67
Joined: Sat Feb 18, 2023 3:38 am
Location: Suzhou,China

Re: Baofeng DM-1701/Baofeng DM-1802/Retevis RT-84 running latest OpenMDUV380(openGD77)

Post by BD4VOW » Sun Mar 05, 2023 6:21 pm

BD4VOW wrote:
Sun Mar 05, 2023 2:02 pm
The displayed votage is precise now in this version, I will try to use the battery voltage down to 6.6v and give the actual voltage to you.
Photo for your information:
Image
The current battery voltage display is very accurate!! In both High & Low battery level.

In the case of a voltage of 6.8V, if I press the PTT to transmit the signal for about ten seconds, the voltage will drop rapidly to to 5.9v, and then the battery will be automatically protected and cut off, and it needs to connect the charge cable for activating the battery, then it can be turned on.

Of course, the battery is designed to work like this!

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

Re: Baofeng DM-1701/Baofeng DM-1802/Retevis RT-84 running latest OpenMDUV380(openGD77)

Post by VK3KYY » Sun Mar 05, 2023 11:17 pm

BD4VOW wrote:
Sun Mar 05, 2023 3:22 pm
VK3KYY wrote:
Sat Mar 04, 2023 9:47 pm
I've created new sections in the forum for the DM-1701 and MD-2017

I will move this thread to the new section later today
There is a small typo issue on the annoucement, It is not DM-1801, DM-1801 is in GD77 series.

About the other model names except DM-1701, I found some reference for your information.

Image

Image

Image
Thanks I changed DM-1801 typo to DM-1802

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

Re: Baofeng DM-1701/Baofeng DM-1802/Retevis RT-84 running latest OpenMDUV380(openGD77)

Post by VK3KYY » Sun Mar 05, 2023 11:17 pm

BD4VOW wrote:
Sun Mar 05, 2023 6:21 pm
BD4VOW wrote:
Sun Mar 05, 2023 2:02 pm
The displayed votage is precise now in this version, I will try to use the battery voltage down to 6.6v and give the actual voltage to you.
Photo for your information:
Image
The current battery voltage display is very accurate!! In both High & Low battery level.

In the case of a voltage of 6.8V, if I press the PTT to transmit the signal for about ten seconds, the voltage will drop rapidly to to 5.9v, and then the battery will be automatically protected and cut off, and it needs to connect the charge cable for activating the battery, then it can be turned on.

Of course, the battery is designed to work like this!
OK.

Thats good..

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

Re: Baofeng DM-1701/Baofeng DM-1802/Retevis RT-84 running latest OpenMDUV380(openGD77)

Post by VK3KYY » Sun Mar 05, 2023 11:28 pm

BD4VOW wrote:
Sun Mar 05, 2023 2:24 pm
VK3KYY wrote:
Sat Mar 04, 2023 7:32 pm
I released the latest GD77 sources yesterday

Perhaps you can experiment with adding Chinese language support to that radio, however there is not much ROM space remaining , so you should use the Japanese build because this only contains the English and Japanese texts


I do not know the normal method for storing the Chinese font on devices with limited ROM. Even the Flash memory in the GD77 may not be large enough to store all Chinese characters

Some people have replaced the GD77 Flash memory with 16Mb version, so you could perhsps modify your GD77 to increase the Flash memory.

Probably you would also need to change a lot in all the GUI files, because the sizes of Chinese characters would need to be larger
But the GUI files we use in the UV380 and MD9600 are taken from the Gd77 versions with only some small changes, so if you make a Chinese version of OpenGD77 you could use most of the code in the Dm1701 etc
Very exciting good news!

I would start by reading your current latest code to get enough information about design structure and implementation details.

But I should not try to implement Chinese support on OpenGD77 for the time being. I know that some people have tried, but it seems that there is no ideal result. I think it may be because of the limitations of the device storage and display of the GD77 series. At present, the Chinese GD77 community ham users don't seem to care too much about whether the display supports Chinese or not, because English has long been used very familiarly.

But I will wait for your release the source code of OpenDM1701/OpenMDUV380, and start to try wide text language support, because after all, these machines come with 16MByte Flash and a clear enough color display, which will make the wide text language display more clear, beautiful and easy to use.

OK.

There are some changes between the UI functions in the UV380 version and the GD-77, but nothing complicated

It was easier to change the code rather than attempt to have many complicated #if defined() blocks

However, I will try to unify this code as much as possible before the UV380 and MD9600 source code release


Re: GD77 chinese version

OK. I know some people investigated adding Chinese language support, but I did not see any updates.

Many people post to the forum saying that they will add some feature to the firmware, e.g. SFR, but I never see any updates, so I assume that it was too difficult for them, or it is not technically possible


Currently my priority is to add the Calibration screen from the UV380 to the other radios, and also to enable CTCSS during DTMF Tx on the MD-9600.
Colin already added it to the MD-9600 but there needs to be some changes to the UI because of the screen size on the MD-9600 is smaller
I started to port the Calibration screen to the GD-77 etc (MK22 MCU radios), but it needs many changes and I did not finish the conversion yet

The OpenGD77 project takes many hours of my time. Probably 10 hours a week at the moment, because I also maintain the CPS and the User Guide, can currently Colin G4EML is the only other active developer.

Post Reply