惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

F
Fortinet All Blogs
WordPress大学
WordPress大学
The Cloudflare Blog
云风的 BLOG
云风的 BLOG
博客园 - Franky
D
Docker
小众软件
小众软件
阮一峰的网络日志
阮一峰的网络日志
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Engineering at Meta
Engineering at Meta
MongoDB | Blog
MongoDB | Blog
U
Unit 42
M
MIT News - Artificial intelligence
B
Blog
GbyAI
GbyAI
C
Check Point Blog
P
Proofpoint News Feed
博客园 - 司徒正美
Hugging Face - Blog
Hugging Face - Blog
雷峰网
雷峰网
IT之家
IT之家
Google DeepMind News
Google DeepMind News
V
V2EX
Stack Overflow Blog
Stack Overflow Blog

博客园 - 所长

xilinx axi qspi V3.2 slave interrupt lwip 快速 高频 短帧发送 测试 If your port already typedef's in_addr_t, define IN_ADDR_T_DEFINED to prevent this code from redefining it. FPGA Verilog 线性反馈移位寄存器(LFSR) Libero FIFO Controller without Memory Software-Defined Radio for Engineers 一 频谱仪 N9020A 操作步骤记录 FPGA-CAN MAC 层 IP 核测试(二) 源码阅读 libero reg 编译时 占用 RAM 资源 而不是 LUT 资源 加扰和解扰 FPGA-CAN MAC 层 IP 核测试(一) 上板实测 Microchip SoftConsole v2022.2-RISC-V-747 polarfire soc 裸机例程中 链接文件 mpfs-envm-lma-scratchpad-vma.ld 分析 FlashPro5 导致 window11 蓝屏 libero verilog 模块例化时,信号不存在 默认是 不连接 A3P250 在线 debug 抓取信号 Identify 在线逻辑分析仪 MPFS250T MSS 引脚 上下拉配置 如何在 libero 中 写一个 axi4 slave 总线的 IP核 可以 和 CoreAXI4Interconnect 连接 (五) 官方参考 verilog 按键消抖模块 如何在 libero 中 写一个 axi4 slave 总线的 IP核 可以 和 CoreAXI4Interconnect 连接 (四) axi-lite 信号抓取 libero Active Probes 如何在 libero 中 写一个 axi4 slave 总线的 IP核 可以 和 CoreAXI4Interconnect 连接 (三) C代码测试 访问卡死 如何在 libero 中 写一个 axi4 slave 总线的 IP核 可以 和 CoreAXI4Interconnect 连接 (二) axi-lite 如何在 libero 中 写一个 axi4 slave 总线的 IP核 可以 和 CoreAXI4Interconnect 连接(一)libero 设置把模块信号变总线方式 libero 2025.2 Macro Library User Guide for SmartFusion 2 and IGLOO 2 FPGAs 如何在 libero 中 写一个 axi4 slave 总线的 IP核 可以 和 CoreAXI4Interconnect 连接 (零) MSS CFG MPFS250T FLASH 只有 128KB 调整代码优化 AD9361 SPI no-os 文件移植 SoftConsole MPFS250T 初学(七) 初始化日志记录 AD9361 SPI no-os 文件移植 SoftConsole MPFS250T 初学(六) 开启 日志打印 Calibration TIMEOUT (0x247, 0x2) AD9361 SPI no-os 文件移植 SoftConsole MPFS250T 初学(五) ad9361_check_cal_done 卡死
libero PolarFire soc SPI-DirectC 实战 dp_G5M_check_cycle_...
所长 · 2026-02-26 · via 博客园 - 所长

读取编程 次数 

首先 isc_enable
0x B 0x 1 0x 0 0x 0 0x29

发送指令 G5M_SPI_READ_DEBUG_INFO = 0xE7 , 

读取 6个 block  ,  每个 block  16 个字节  , 共计 96个字节 

单独 读取 1个  block , 方式如下

1、 发送指令  G5M_SPI_READ_BUFFER = 0xF2 , 第二个字节位 block 编号 , 15个字节 0x00 ,  共计 17个字节;

2、 第一个字节  G5M_SPI_READ_DATA = 0x01 , 16个字节 0x00 , 共计 17个字节

// 编程 次数 存放 在   61和 60 , 下标 从 0 , 开始 , 存放在 block 编号 = 3 信息 里 ;

cycle_count = ((G5M_shared_buf[61] << 8u) | (G5M_shared_buf[60]));

没有打印 0x01 0x00 0x00 共计 17个字节

e_fsm_read_id tx_buff,len:5.
0x F 0xFF 0xFF 0xFF 0xFF 
end.
e_fsm_read_id rx_buff,len:5.
0x 0 0x 0 0x 0 0x 0 0x 0 
end.
e_fsm_read_id tx_buff,len:5.
0x F 0xFF 0xFF 0xFF 0xFF 
end.
e_fsm_read_id rx_buff,len:5.
0x 2 0xCF 0xA1 0x81 0x1F 
end.
polarfire soc id:0xCFA1811F.
e_fsm_isc_enable tx_buff,len:5.  // 使能很重要
0x B 0x 1 0x 0 0x 0 0x29 
end.
e_fsm_buff_cmd tx_buff,len:1.
0xE7 
end.
e_fsm_buff_read tx_buff,len:17.
0xF2 0x 0 0x 0 0x 0 0x 0 0x 0 0x 0 0x 0 0x 0 0x 0 0x 0 0x 0 0x 0 0x 0 0x 0 0x 0 0x 0 
end.
e_fsm_buff_data rx_buff,len:17.
0x 2 0x 0 0x 0 0x 0 0xD4 0x35 0x 0 0x17 0x 0 0x22 0x 0 0xD7 0x 9 0xA8 0x 9 0xC3 0x 9   // 这里 和 JTAG 读取 的一样, 顺序颠倒
end.
e_fsm_buff_read tx_buff,len:17.
0xF2 0x 1 0x 0 0x 0 0x 0 0x 0 0x 0 0x 0 0x 0 0x 0 0x 0 0x 0 0x 0 0x 0 0x 0 0x 0 0x 0 
end.
e_fsm_buff_data rx_buff,len:17.
0x 2 0xFB 0x 6 0x4B 0x 2 0xCC 0x19 0x 0 0x 0 0x 0 0x 0 0x 0 0x 0 0x 0 0x 0 0x 0 0x 0 
end.
e_fsm_buff_read tx_buff,len:17.
0xF2 0x 2 0x 0 0x 0 0x 0 0x 0 0x 0 0x 0 0x 0 0x 0 0x 0 0x 0 0x 0 0x 0 0x 0 0x 0 0x 0 
end.
e_fsm_buff_data rx_buff,len:17.
0x 2 0x 1 0x 0 0x 0 0x29 0x 3 0xF6 0x59 0x17 0x 0 0x 0 0x 0 0x 0 0x 0 0x 0 0x 0 0x 0 
end.
e_fsm_buff_read tx_buff,len:17.
0xF2 0x 3 0x 0 0x 0 0x 0 0x 0 0x 0 0x 0 0x 0 0x 0 0x 0 0x 0 0x 0 0x 0 0x 0 0x 0 0x 0 
end.
e_fsm_buff_data rx_buff,len:17.
0x 2 0x 0 0x 3 0x 0 0x 0 0xCA 0x 0 0x 0 0x 0 0x44 0x 4 0x 0 0x 0 0x1F 0x 0 0x 0 0x 0 // 这里 编程 次数
end.
e_fsm_buff_read tx_buff,len:17.
0xF2 0x 4 0x 0 0x 0 0x 0 0x 0 0x 0 0x 0 0x 0 0x 0 0x 0 0x 0 0x 0 0x 0 0x 0 0x 0 0x 0 
end.
e_fsm_buff_data rx_buff,len:17.
0x 2 0x 0 0x 0 0x 0 0x 0 0x 0 0x 0 0x 0 0x 0 0x 0 0x 0 0x 0 0x 0 0x 0 0x 1 0x 0 0x10 
end.
e_fsm_buff_read tx_buff,len:17.
0xF2 0x 5 0x 0 0x 0 0x 0 0x 0 0x 0 0x 0 0x 0 0x 0 0x 0 0x 0 0x 0 0x 0 0x 0 0x 0 0x 0 
end.
e_fsm_buff_data rx_buff,len:17.
0x 2 0xFF 0x3F 0x 0 0x 0 0x7E 0x 1 0x 3 0x 0 0x 0 0x 0 0x 0 0x 0 0x 0 0x 0 0x 0 0x 0 
end.
read state ready max tick=1.
test isp end.

使用 JTAG  读取的 日志

programmer 'S200AN6ZQU' : device 'MPFS250T' : ---------------------------------------

programmer 'S200AN6ZQU' : device 'MPFS250T' : EXPORT DEBUG_INFO[784] = 000000000000000000000003017e00003fff100001000000000000000000000000000000001f00000444000000ca0000030000000000000000001759f603290000010000000000000000000019cc024b06fb09c309a809d7002200170035d4000000

programmer 'S200AN6ZQU' : device 'MPFS250T' : System controller suspend mode is disabled

programmer 'S200AN6ZQU' : device 'MPFS250T' : CYCLE COUNT: 31=0x1F

programmer 'S200AN6ZQU' : device 'MPFS250T' : Programming Mode: SPI_SLAVE

programmer 'S200AN6ZQU' : device 'MPFS250T' : Algorithm Version: 1

programmer 'S200AN6ZQU' : device 'MPFS250T' : Programmer:

programmer 'S200AN6ZQU' : device 'MPFS250T' : Software Version:

programmer 'S200AN6ZQU' : device 'MPFS250T' : Programming Software: Direct C

programmer 'S200AN6ZQU' : device 'MPFS250T' : Programming File Type: PPD