CH32V307 - Custom bootloader and TIM5 question - 自定義引導(dǎo)加載程序和 TIM5 問(wèn)題

I am struggling to find information about these two items:


1) Is it possible to burn a fully customized bootloader to the 28KB system flash at address 0x1FFF8000? We need the bootloader to be able to upgrade firmware in code flash from external EEPROM. If it is possible, where do I find instructions on the procedure? (in English if possible). I have found pieces of confusing information about this topic in old posts but nothing clear and concise.


2) In datasheet page 14 TIM5 is described as 16/32 bit. How do I load a 32 bit value in the counter register since?TIM_TimeBaseInitTypeDef:TIM_Period is 16 bit?


Thanks


我正在努力尋找有關(guān)這兩個(gè)項(xiàng)目的信息:


1) 是否可以將完全定制的引導(dǎo)加載程序燒錄到地址 0x1FFF8000 的 28KB 系統(tǒng)閃存中? 我們需要引導(dǎo)加載程序能夠從外部 EEPROM 升級(jí)代碼閃存中的固件。 如果可以的話,我在哪里可以找到有關(guān)該程序的說(shuō)明? (如果可能的話,用英語(yǔ))。 我在舊帖子中發(fā)現(xiàn)了一些關(guān)于這個(gè)主題的令人困惑的信息,但沒(méi)有任何清晰和簡(jiǎn)潔的信息。


2) 在數(shù)據(jù)表第 14 頁(yè)中,TIM5 被描述為 16/32 位。 由于 TIM_TimeBaseInitTypeDef:TIM_Period 是 16 位,如何在計(jì)數(shù)器寄存器中加載 32 位值?


謝謝


Hello, it is not possible to place custom bootloader programs in the 0x1FFF8000 area. If you need to upgrade to IAP, it is recommended that you divide FLASH (0x0800000~) into two areas, one for storing IAP programs and the other for storing APP programs, that is, your user programs. There is a corresponding IAP routine in our EVT, you can refer to it. Regarding TIM5, currently CH32V307's TIM5 is 16 bit and does not support 32-bit. This manual is a comprehensive manual that should be viewed in conjunction with specific MCU peripherals. The EVT download link is as follows. If you have any questions in the future, you can contact us via email( lzs@wch.cn )Communicate with me。

http://www.findthetime.net/downloads/CH32V307EVT_ZIP.html

?


Thank you, I am already using the code flash divide option for custom bootloader so not a problem. I was confused by some wording about the system flash in the datasheet and RM and just wanted to make sure we didn't unnecessarily leave 28KB unused.?


Also thanks for clearing things up regarding TIM5.


只有登錄才能回復(fù),可以選擇微信賬號(hào)登錄

国产91精品新入口,国产成人综合网在线播放,九热这里只有精品,本道在线观看,美女视频a美女视频,韩国美女激情视频,日本美女pvp视频