FMQL开发环境搭建全攻略:从工具安装到IP补丁实战

手把手教你用vivado2018.3为复旦微JFMQL15T打IP补丁(含环境变量配置技巧) 本文详细介绍了在Vivado 2018.3环境中为复旦微JFMQL15T开发板打IP补丁的全流程,包括环境变量配置、IP缓存管理等关键步骤。通过实战验证的解决方案,帮助工程师快速搭建开发环境,解决国产芯片开发中的常见问题,提升开发效率。 阅读详情

1. 环境准备:认识FMQL与国产化开发

如果你刚拿到一块上海复旦微电子的JFMQL15T开发板,或者正准备开始基于FMQL系列芯片的开发工作,那么恭喜你,你即将踏入一个充满挑战但也极具价值的领域。FMQL系列作为国产FPGA+ARM架构的SoC芯片,其开发环境的搭建,和我们熟悉的Xilinx Zynq系列有相似之处,但也有不少“中国特色”的特殊步骤。简单来说,这个过程就像是为一个功能强大的新房子(芯片)进行“精装修”,不仅要安装好水电(基础工具),还要根据房子的特殊结构(国产IP核)定制一批专用的家具和管道。

我刚开始接触这块板子时,也走了不少弯路,比如工具版本不匹配、补丁打不上、环境变量设置错误等等。所以,这篇文章,我会把我踩过的坑、验证过的步骤,从头到尾、掰开揉碎了讲给你听。我们的目标很明确:让你能一次性、无差错地搭建好整个开发环境,把精力真正投入到有趣的代码和算法上,而不是浪费在无尽的配置和报错中。

整个环境搭建的核心,围绕着三个关键工具和一个核心补丁展开:

  • IAR Embedded Workbench:用于ARM Cortex-M系列硬核的嵌入式C/C++程序开发、编译和调试。
  • Procise:复旦微电子提供的专用工具,主要用于芯片的引脚配置、时钟管理、电源管理等底层硬件配置,是连接硬件设计和软件开发的桥梁。
  • Vivado Design Suite (2018.3):用于FPGA部分的逻辑设计、综合、布局布线和生成比特流文件。这是整个流程中最“重”的工具。
  • IP_PATCH补丁包:这是整个搭建过程的灵魂所在。因为FMQL芯片虽然硬件上与Xilinx Zynq-7015兼容,但其内部的IP核(如DDR控制器、GPIO、UART等)是复旦微自己设计的。这个补丁包的作用,就是把Vivado里那些Xilinx原生的IP核,替换成适配FMQL芯片的版本,确保你设计的硬件逻辑能在我们的国产芯片上正确运行。

在开始动手之前,请务必准备好以下资源:一台性能尚可的Windows电脑(建议16GB内存以上,固态硬盘),以及从复旦微电子官方或你的板卡供应商那里获取的全套软件安装包和补丁文件。特别提醒,所有工具的安装路径、补丁的解压路径,必须使用全英文、无空格的目录,这是避免后续一系列诡异问题的黄金法则。

2. 基础工具安装:IAR与Procise

工欲善其事,必先利其器。我们先从相对轻量级的工具开始,逐步进入状态。

2.1 IAR for ARM 安装与激活

IAR是嵌入式开发的老牌利器了,稳定性没得说。复旦微官方推荐使用 IAR Embedded Workbench for ARM 8.32.1 版本。别小看版本号,用错了版本可能会导致编译出的二进制文件无法正常加载到芯片中。

安装过程本身是标准的“下一步”大法,但有几个细节需要你留心:

  1. 安装路径选择:我强烈建议你安装在类似 D:\Tools\IAR Systems\Embedded Workbench 8.3 这样的目录下。再次强调,路径里不要有中文和空格。
  2. 许可证管理:这是安装后的关键一步。通常你会获得一个许可证文件(.lic文件)或一个注册机。以使用注册机为例,你需要先运行IAR,它会提示没有许可证,并生成一个license.txt文件。用注册机打开这个文件,生成一个license.lic文件,然后将其放入IAR安装目录下的 License 文件夹中。重启IAR,在 Help -> License
FMQL开发环境搭建全攻略:Vivado定制版、IP补丁与License避坑指南 SoC FPGA将嵌入式处理器与可编程逻辑集成于单芯片,其开发环境涉及硬件工具链、IP核与授权体系的协同。以复旦微FMQL系列为例,其基于ARM+FPGA双域架构,需要定制版Vivado、SDK及IP补丁共同支撑,才能实现器件识别与IP封装。理解工具链中器件库、IP Catalog和License的互动关系,是搭建稳定开发环境的关键,也是评估SoC FPGA开发效率的重要环节。在嵌入式系统、边缘计算等应用场景中,高效的开发环境能显著缩短验证周期。FMQL环境搭建过程涉及Vivado定制版安装、IP补丁集成、 阅读详情

相关推荐

复旦微JFMQL15T开发板环境搭建全攻略:从procise到vivado2018.3避坑指南

本文详细介绍了复旦微JFMQL15T开发板环境搭建的全过程,包括Procise和Vivado2018.3的安装配置、IP_PATCH补丁部署以及常见问题排查。特别针对国产芯片与Xilinx工具链的兼容性问题提供了实用解决方案,帮助开发者快速搭建稳定的开发环境。

weixin_29189987的博客 619

1_复旦微FMQL:开发环境搭建

国产PSOC ZYNQ

bingcheby的博客 9323

保姆级教程:在Ubuntu 16.04上为复旦微FMQL芯片搭建Linux开发环境(含IAR、Procise、Petalinux全流程)

本文提供在Ubuntu 16.04上为复旦微FMQL芯片搭建Linux开发环境的保姆级教程,涵盖IAR、Procise、Petalinux全流程配置。详细讲解从交叉编译工具链安装到系统镜像生成的每个步骤,特别针对国产FMQL芯片开发中的常见问题提供解决方案,助力开发者快速构建嵌入式Linux开发环境。

weixin_29170327的博客 265

复旦微JFMQL15T在Vivado 2018.3下的补丁安装与环境变量配置指南

FPGA开发中,工具链对芯片的支持往往决定了项目能否顺利起步。对于采用SoC架构的国产FPGA芯片,如复旦微FMQL系列,其内部集成PS与PL,需通过专用补丁让Vivado识别器件。补丁包实质是器件的数据库与IP支持文件,通过合入安装目录或外挂环境变量方式加载。正确配置XILINX_VIVADO、LM_LICENSE_FILE及PATH等环境变量,能够规避器件库无法识别、IP列表为空、License报错等典型问题。以JFMQL15T为例,详解在Vivado 2018.3下从补丁安装到环境变量配置的完整流程,

weixin_29190573的博客 327

复旦微开发过程中遇到的问题总结(二)

复旦微用第三方烧写工具烧写到flash,启动时候fsbl是新的,但app总是跳到之前烧写过的一个程序中?全片擦除flash,只会把fsbl给擦掉,这个旧的用户程序一直存在。从新下载,还是擦除都会从那个旧的用户程序启动。原因:检查一下打包boot.bin时是否有问题,应该就是打包成boot.bin出现的问题默认时钟是200M,修改时钟为50-100M之间,我改的120M 7045程序跑起来以后,有什么办法通过串口给ps发指令,然后通过pl jtag在线加载bit,不重新加载,也就是能随时在线跟新PLbit程序

wangjie36的博客 8274

利用Aspera高效批量下载NCBI SRA数据的完整指南

本文提供了利用Aspera高效批量下载NCBI SRA数据的完整指南。详细介绍了Aspera Connect的安装、ascp命令的参数解析、从EBI/ENA获取批量下载清单的方法,以及如何通过并行脚本和整合SRA Toolkit实现自动化极速下载,帮助生物信息学研究人员彻底告别传统低速下载方式。

weixin_29275257的博客 1268

AUTOSAR网络管理配置详解:Vector DaVinci工具全面讲解

手把手带你用Vector DaVinci完成AUTOSAR网络管理模块的配置,涵盖NmChannel、NmPdu、重复帧抑制等关键参数设置,深入解析CAN总线上的NM报文调度与唤醒机制,助你扎实掌握AUTOSAR网络管理核心实践。

weixin_42504649的博客 170

华为交换机NAC配置避坑指南:搞定打印机、摄像头等哑终端接入(含MAC旁路认证)

本文详细解析华为交换机NAC配置中的MAC旁路认证方案,特别针对打印机、摄像头等哑终端接入问题提供避坑指南。通过对比传统模式与统一模式的配置差异,结合实际案例和典型错误排查,帮助网络工程师高效解决802.1X认证环境下的哑终端接入难题。

weixin_30338497的博客 447

从手机到自动驾驶:MIPI-CSI2协议演进史与车规级改造要点

本文追溯了MIPI-CSI2协议从智能手机摄像头到自动驾驶核心传感器的演进历程。重点剖析了该协议在车规级改造中面临的严苛挑战,包括物理层稳定性、EMC防护、功能安全与数据可靠性等关键要点,并探讨了其在多传感器融合与高带宽实时传输中的工程实践。

weixin_28318011的博客 314

同花顺API实战指南:从零搭建股票数据自动化采集系统

本文提供了一份详尽的同花顺API实战指南,手把手教你从零开始搭建股票数据自动化采集系统。内容涵盖API权限申请、Python环境配置、数据采集与存储脚本编写、自动化定时任务实现以及数据清洗等核心环节,旨在帮助量化交易与数据分析爱好者构建稳定可靠的数据源,解放双手,提升研究效率。

weixin_29200741的博客 2456

图机器学习(7)——图神经网络 (Graph Neural Network, GNN)

图神经网络 (Graph Neural Network, GNN) 是一类专门处理图结构数据的深度学习方法。这类方法也被称为几何深度学习 (geometric deep learning),在社交网络分析、计算机图形学等众多领域正受到日益广泛的关注。在本节中,我们介绍了 GNN 的核心原理,将卷积等经典深度学习范式拓展至非欧几里得图空间,实现了局部结构与全局特征的层次化提取。

盼小辉丶的博客 1万+

13、离散时间系统建模与分析

本文系统介绍了离散时间系统的建模与分析方法,涵盖连续时间模型的离散化过程、系统稳定性判断准则、输入输出模型转换方法以及有限脉冲响应和阶跃响应模型的应用。通过多个示例详细展示了不同系统在离散化过程中的特性变化,并探讨了采样间隔对系统动态特性的影响。此外,文章还分析了时间延迟的处理方法,并总结了关键知识点及操作步骤,为离散时间系统的实际应用提供了理论基础和实践指导。

2w3e4r5t6y的博客 193

YOLOv8进阶:SEAM注意力与Repulsion Loss双剑合璧,突破遮挡检测瓶颈

做目标检测时,最头疼的莫过于目标被遮挡的场景——行人被树木挡住一半、车辆被广告牌遮挡部分轮廓……这些情况往往让模型“犯迷糊”。但现在,有了SEAM注意力模块和Repulsion Loss排斥损失,我们就能让YOLOv8在遮挡场景下也能“拨开迷雾见真章”。这篇教程会带你一步步理解这两个技术,并亲手把它们融入YOLOv8,让你的检测模型在复杂场景下也能稳如泰山。

FJN110的博客 237

Probability and Statistics - 4th edition

Probability and Statistics - 4th edition

jre9下载 jdk9

(Java SE Runtime Environment 9.0) 9.0u175 官方最新版 【x86|x64】

LinePhone3.2.7(android端最新版本) sip客户端

SIP客户端For android:LinePhone3.2.7(最新版本),官网地址:http://www.linphone.org/

深度学习工具包 DeepLearningToolbox

深度学习工具包Deprecation notice.-----This toolbox is outdated and no longer maintained.There are much better tools available for deep learning than this toolbox, e.g. [Theano](http://deeplearning.net/software/theano/), [torch](http://torch.ch/) or [tensorflow](http://www.tensorflow.org/)I would suggest you use one of the tools mentioned above rather than use this toolbox.Best, Rasmus.DeepLearnToolbox================A Matlab toolbox for Deep Learning.Deep Learning is a new subfield of machine learning that focuses on learning deep hierarchical models of data.It is inspired by the human brain's apparent deep (layered, hierarchical) architecture.A good overview of the theory of Deep Learning theory is[Learning Deep Architectures for AI](http://www.iro.umontreal.ca/~bengioy/papers/ftml_book.pdf)For a more informal introduction, see the following videos by Geoffrey Hinton and Andrew Ng.* [The Next Generation of Neural Networks](http://www.youtube.com/watch?v=AyzOUbkUf3M) (Hinton, 2007)* [Recent Developments in Deep Learning](http://www.youtube.com/watch?v=VdIURAu1-aU) (Hinton, 2010)* [Unsupervised Feature Learning and Deep Learning](http://www.youtube.com/watch?v=ZmNOAtZIgIk) (Ng, 2011)If you use this toolbox in your research please cite [Prediction as a candidate for learning deep hierarchical models of data](http://www2.imm.dtu.dk/pubdb/views/publication_details.php?id=6284)```@MASTERSTHESIS\{IMM2012-06284, author = "R. B. Palm", title = "Prediction as a candidate for learning deep hierarchical models of data", year = "2012",}```Contact: rasmusbergpalm at gmail dot comDirectories included in the toolbox-----------------------------------`NN/` - A library for Feedforward Backpropagation Neural Networks`CNN/` - A library for Convolutional Neural Networks`DBN/` - A library for Deep Belief Networks`SAE/` - A library for Stacked Auto-Encoders`CAE/` - A library for Convolutional Auto-Encoders`util/` - Utility functions used by the libraries`data/` - Data used by the examples`tests/` - unit tests to verify toolbox is workingFor references on each library check REFS.mdSetup-----1. Download.2. addpath(genpath('DeepLearnToolbox'));Example: Deep Belief Network---------------------```matlabfunction test_example_DBNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit RBM and visualize its weightsrand('state',0)dbn.sizes = [100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);figure; visualize(dbn.rbm{1}.W'); % Visualize the RBM weights%% ex2 train a 100-100 hidden unit DBN and use its weights to initialize a NNrand('state',0)%train dbndbn.sizes = [100 100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);%unfold dbn to nnnn = dbnunfoldtonn(dbn, 10);nn.activation_function = 'sigm';%train nnopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.10, 'Too big error');```Example: Stacked Auto-Encoders---------------------```matlabfunction test_example_SAEload mnist_uint8;train_x = double(train_x)/255;test_x = double(test_x)/255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit SDAE and use it to initialize a FFNN% Setup and train a stacked denoising autoencoder (SDAE)rand('state',0)sae = saesetup([784 100]);sae.ae{1}.activation_function = 'sigm';sae.ae{1}.learningRate = 1;sae.ae{1}.inputZeroMaskedFraction = 0.5;opts.numepochs = 1;opts.batchsize = 100;sae = saetrain(sae, train_x, opts);visualize(sae.ae{1}.W{1}(:,2:end)')% Use the SDAE to initialize a FFNNnn = nnsetup([784 100 10]);nn.activation_function = 'sigm';nn.learningRate = 1;nn.W{1} = sae.ae{1}.W{1};% Train the FFNNopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.16, 'Too big error');```Example: Convolutional Neural Nets---------------------```matlabfunction test_example_CNNload mnist_uint8;train_x = double(reshape(train_x',28,28,60000))/255;test_x = double(reshape(test_x',28,28,10000))/255;train_y = double(train_y');test_y = double(test_y');%% ex1 Train a 6c-2s-12c-2s Convolutional neural network %will run 1 epoch in about 200 second and get around 11% error. %With 100 epochs you'll get around 1.2% errorrand('state',0)cnn.layers = { struct('type', 'i') %input layer struct('type', 'c', 'outputmaps', 6, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %sub sampling layer struct('type', 'c', 'outputmaps', 12, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %subsampling layer};cnn = cnnsetup(cnn, train_x, train_y);opts.alpha = 1;opts.batchsize = 50;opts.numepochs = 1;cnn = cnntrain(cnn, train_x, train_y, opts);[er, bad] = cnntest(cnn, test_x, test_y);%plot mean squared errorfigure; plot(cnn.rL);assert(er<0.12, 'Too big error');```Example: Neural Networks---------------------```matlabfunction test_example_NNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);% normalize[train_x, mu, sigma] = zscore(train_x);test_x = normalize(test_x, mu, sigma);%% ex1 vanilla neural netrand('state',0)nn = nnsetup([784 100 10]);opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samples[nn, L] = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.08, 'Too big error');%% ex2 neural net with L2 weight decayrand('state',0)nn = nnsetup([784 100 10]);nn.weightPenaltyL2 = 1e-4; % L2 weight decayopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex3 neural net with dropoutrand('state',0)nn = nnsetup([784 100 10]);nn.dropoutFraction = 0.5; % Dropout fraction opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex4 neural net with sigmoid activation functionrand('state',0)nn = nnsetup([784 100 10]);nn.activation_function = 'sigm'; % Sigmoid activation functionnn.learningRate = 1; % Sigm require a lower learning rateopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex5 plotting functionalityrand('state',0)nn = nnsetup([784 20 10]);opts.numepochs = 5; % Number of full sweeps through datann.output = 'softmax'; % use softmax outputopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex6 neural net with sigmoid activation and plotting of validation and training error% split training data into training and validation datavx = train_x(1:10000,:);tx = train_x(10001:end,:);vy = train_y(1:10000,:);ty = train_y(10001:end,:);rand('state',0)nn = nnsetup([784 20 10]); nn.output = 'softmax'; % use softmax outputopts.numepochs = 5; % Number of full sweeps through dataopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, tx, ty, opts, vx, vy); % nntrain takes validation set as last two arguments (optionally)[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');```[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/rasmusbergpalm/deeplearntoolbox/trend.png)](https://bitdeli.com/free "Bitdeli Badge")

上一篇: 深入解析反汇编文件(.dis文件)中的指令与地址映射
下一篇: IR2103自举电路在H桥驱动中的关键设计与应用
uran
博客等级 码龄23年 56粉丝 1099原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符  | 博主筛选后可见
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值
⌂ 换网址