DM-1701 external flash
DM-1701 external flash
May I ask where the external flash memory space of DM-1701 starts to be idle and unused? I would like to try storing the Chinese character table in it,thanks!
- Attachments
-
- Screenshot_20240901_203956.jpg (168.97 KiB) Viewed 1065 times
Re: DM-1701 external flash
TO @VK3KYY @F1RMB
It''s helpful for Chinese User if you can give @BA7IQE the introduction about the free space for the Chinese GB2312 Fonts Library. Thanks a lot!
Screenshot_20240901_203956.jpg show the Menu in Chinese, such as Firmware Info / Option / Last Heard / Radio Info / Satellite / GPS / Zone.
Re: DM-1701 external flash
This has already been discussed few weeks ago, there is no free space available in the external flash.
Chinese support has also been discussed, multiple times. Unlike Japanese, AFAIK there is no Katakana equivalent, the required minimum glyphs to support Chinese language is way to high to fit the remaining left space (as Latin has to also to be displayed).
So, does Chinese language has reduced glyph charset ?
Chinese support has also been discussed, multiple times. Unlike Japanese, AFAIK there is no Katakana equivalent, the required minimum glyphs to support Chinese language is way to high to fit the remaining left space (as Latin has to also to be displayed).
So, does Chinese language has reduced glyph charset ?
Re: DM-1701 external flash
Now only import about 7000 word of Chinese normal character in MCU ROM for the test 3rd version firmware. That quantity is include 100% of GB2312 charset, but so small less than GBK / GB18030 / Unicode.
because he don't know where is free and can be used / overrided in Flash smoothly. we hope to let that charset all in Flash and need about 120KiB space. So it's more helpful if you can give us the Eeprom Layout Explanation and where we can use freely, thanks!
Last edited by BD4SMY on Thu Sep 19, 2024 4:04 am, edited 1 time in total.
Re: DM-1701 external flash
There is no reserved space in the Flash.
Users can mostly fill the Flash with DMR ID data if they upload the entire DMR ID database into the radio
You would have to limit the DMR ID data upload size, perhaps in your version of the radio, to prevent that data overwriting any fonts you put in the Flash
Users can mostly fill the Flash with DMR ID data if they upload the entire DMR ID database into the radio
You would have to limit the DMR ID data upload size, perhaps in your version of the radio, to prevent that data overwriting any fonts you put in the Flash
Re: DM-1701 external flash
How much space is required for the Chinese fonts e.f. 500kB, 1Mb, 2Mb etc ?????BD4SMY wrote: ↑Thu Sep 19, 2024 1:31 amNow only import about 7000 word of Chinese normal character in MCU ROM for the test 3rd version firmware. That quantity is include 100% of GB2312 charset, but so small less than GBK / GB18030 / Unicode.
because he don't know where is free and can be used / overrided in Flash smoothly. we hope to let that charset all in Flash and need about 120KiB space. So it's more helpful if you can give us the Eeprom Layout Explanation and where we can use freely, thanks!
Re: DM-1701 external flash
Look in codeplug.hBD4SMY wrote: ↑Thu Sep 19, 2024 1:31 amNow only import about 7000 word of Chinese normal character in MCU ROM for the test 3rd version firmware. That quantity is include 100% of GB2312 charset, but so small less than GBK / GB18030 / Unicode.
because he don't know where is free and can be used / overrided in Flash smoothly. we hope to let that charset all in Flash and need about 120KiB space. So it's more helpful if you can give us the Eeprom Layout Explanation and where we can use freely, thanks!
Code: Select all
#define FLASH_ADDRESS_OFFSET (128 * 1024)
i.e I think if you change this to e.g. (1024 * 1024), then the flash address from 128k to 1024 will not be used.
To read / write to this you need to use the EEPOM adddress range. i.e the area above 128k to < 1024k should be unused.
Note. If you change this, all the data in your radio will be effectly corrupt, e.g. codeplug, DMR ID , Keps etc etc
So you would need to reload everything again from the CPS.
Also. I didn't try this, so there could be some side effects which I didn't consider.
NOTE. THIS ONLY WORKS ON RADIOS LIKE THE UV380/ DM1701/ MD9600/ MD2017 which have no EEPROM chip. IT WILL NOT WORK ON THE MK22 radios including the GD77 and DM1801 etc
Re: DM-1701 external flash
As I metioned, now we use only about 200KB (GB2312 font 11*12 charset) in MCU, and if we add the Chinese input later, may we need about 300KB.
if use GB18030-2022 FULL font charset (87,887 characters), maybe about 1.5-1.8MB in the future (if we can do).
Re: DM-1701 external flash
OK. See my post above about some code you could try changing. To reserve some space.
i.e if you need ~2Mb, you need to change
Code: Select all
#define FLASH_ADDRESS_OFFSET (128 * 1024)
Code: Select all
#define FLASH_ADDRESS_OFFSET (2 * 1024 * 1024)
I didn't test this... There may be some effects I did not consider.
Re: DM-1701 external flash
OK, we wll research that suggestion.
THANKS FOR YOUR SINCERELY HELP!
THANKS FOR YOUR SINCERELY HELP!