所有PIC32设备在0x1FC000启动一定数量的闪存,并且Flash的主体从0x1D10000开始。这些是Flash程序员需要的总线上的物理地址,但是核心使用虚拟地址。KSGE1被取消,是核心开始执行的地方。KSGE0被认为是缓存的,因此地址是0x9d00亿。是的,您可以编写单独的引导加载程序。主要问题是您需要使用多少引导闪存(3K、12K或160K),以便您知道是否必须使用程序闪存。在MPLLABHarmony中有引导加载程序,我建议把它们作为您自己的起点。去年八月,我在我们的MASTERs会议上教了引导加载程序。如果你能用你的电子邮件地址给我发私人信息,我会把幻灯片发给你。
以上来自于百度翻译
以下为原文
All PIC32 devices put some amount of Flash starting at 0x1fc00000, and the main body of Flash starting at 0x1d000000. These are the physical addresses on the bus, which the flash programmer requires, but the core uses virtual address. KSEG1 is uncached, and is where the core starts execution. KSEG0 is considered cached, and so the address is 0x9d000000.
Yes, you can write a separate bootloader. The main question will be how much boot flash you have to work with (3K, 12K, or 160K) so you know whether you're going to have to use some program flash with it. There are bootloaders in MPLAB Harmony, and I would suggest looking at them as a starting point for your own.
I taught a bootloader course at our MASTERs conference this past August. If you can send me a private message with your email address, I'll send you my slides.
所有PIC32设备在0x1FC000启动一定数量的闪存,并且Flash的主体从0x1D10000开始。这些是Flash程序员需要的总线上的物理地址,但是核心使用虚拟地址。KSGE1被取消,是核心开始执行的地方。KSGE0被认为是缓存的,因此地址是0x9d00亿。是的,您可以编写单独的引导加载程序。主要问题是您需要使用多少引导闪存(3K、12K或160K),以便您知道是否必须使用程序闪存。在MPLLABHarmony中有引导加载程序,我建议把它们作为您自己的起点。去年八月,我在我们的MASTERs会议上教了引导加载程序。如果你能用你的电子邮件地址给我发私人信息,我会把幻灯片发给你。
以上来自于百度翻译
以下为原文
All PIC32 devices put some amount of Flash starting at 0x1fc00000, and the main body of Flash starting at 0x1d000000. These are the physical addresses on the bus, which the flash programmer requires, but the core uses virtual address. KSEG1 is uncached, and is where the core starts execution. KSEG0 is considered cached, and so the address is 0x9d000000.
Yes, you can write a separate bootloader. The main question will be how much boot flash you have to work with (3K, 12K, or 160K) so you know whether you're going to have to use some program flash with it. There are bootloaders in MPLAB Harmony, and I would suggest looking at them as a starting point for your own.
I taught a bootloader course at our MASTERs conference this past August. If you can send me a private message with your email address, I'll send you my slides.
举报