PolarFire® SoC SoftConsole 烧录 程序到 eNVM
软件环境: Microchip SoftConsole v2022.2-RISC-V-747
硬件环境:microchip.com/en-us/development-tool/mpfs-icicle-kit
一、配置fpgenprog.exe环境变量,参考:
PolarFire® SoC softconsole fpgenprog.exe 路径错误 导致 无法烧录 eNVM 程序 - 所长 - 博客园
配置完成后,重启电脑!
二、以 裸机工程,mpfs-mmuart-interrupt 为例,
新建工程参考:PolarFire® SoC softconsole 创建裸机工程 - 所长 - 博客园
三、修改工程配置,激活 eNVM 编译, 或者修改 链接文件 也可以!
eNVM-Scratchpad-Release-lacdeKit (Booting fram eNM, rogram relocates tsefto scratchpad memny and continues execuion,0ptimized (0s. (Could be used wth boot mode 1》

四:修改烧录工程,选择 PolarFire SoC program non-secure boot mode 1 , 点击小齿轮 按钮


五、点击烧录按钮

六:烧录日志
15:23:30 INFO - mpfsBootmodeProgrammer v3.7 started.
15:23:30 INFO - "C:\Users\Desktop\PolarFire\softconsole_2022\mpfs-mmuart-interrupt\eNVM-Scratchpad-Release-IcicleKit\bootmode1" is the output folder and the previous contents of this folder will be deleted.
15:23:30 INFO - Selected boot mode "1 - non-secure boot from eNVM" and working in directory "C:\Users\Desktop\PolarFire\softconsole_2022\mpfs-mmuart-interrupt\eNVM-Scratchpad-Release-IcicleKit".
15:23:30 INFO - Generating BIN file...
15:23:30 INFO - Generating header...
15:23:30 INFO - Generating HEX file...
15:23:30 INFO - Preparing for bitstream generation...
15:23:30 INFO - Generating bitstream...
15:23:36 INFO - Programming the target...
15:23:45 INFO - mpfsBootmodeProgrammer completed successfully.
七:断电重启后,不再启动Linux ,大约 5秒后 启动日志如下: 不知道为啥需要 5秒,再研究中!!!
**** PolarFire SoC MSS MMUART example ****
\0This program is run from u54_1
Type 0 Show hart 1 debug message
Type 1 Show this menu
Type 2 Send message using polled method
Type 3 send message using interrupt method
\0
浙公网安备 33010602011771号