About BOOT0 and BOOT1 pins on STM32G474R ?
Dear,
Post Edited by ST moderator to apply source code formatting and translate from Chinese to English to comply with the community rule:
Best regards,
Gyessine
------------------------------------------------------------------------------------------------------------
The STM32G474R datasheet does not mention the BOOT1 pin.
If the BOOT0 pin of STM32G474R is set to high, where does the program start?
If the BOOT0 pin is set to high and the BOOT1 pin is set to high, the program starts from SRAM. Is the program size limited by the size of SRAM? If a bootloader program and a main program are written, with the bootloader starting at address 0x20000000 and the main program starting at address 0x08000000, can this solve the issue of jumping from SRAM at 0x20000000 to flash memory at 0x08000000, so that the main program size is only limited by the size of flash memory?
--------------------------------------------------------------------------------------------------------------------------------------------------
1、STM32G474R数据手册中没有查找到BOOT1引脚
2、如果STM32G474R的BOOT0引脚接了高电平,程序从哪里启动?
3、如果BOOT0引脚接了高电平,BOOT1引脚接了高电平,程序从SRAM启动,程序的大小岂不是被SRAM大小限制?如果写个BOOTLOAD程序和主程序,BOOTLOAD起始程序0x20000000,主程序从0x8000000启动,,是否就可以解决从SRAM0x2000 0000跳转到0x8000 0000,而主程序的大小就只受FLASH大小限制?
