Altera CPLD maxII 的 JTAG 编程

最近在调试JTAG,通过对ATOM的GPIO 操作,把ATOM的GPIO口模拟成JTAG信号,然后把CPLD的firmware,从ATOM平台烧进CPLD中。这里主要是使用了Altera的 STAPL工具, 叫jamplayer, 这是一个开源的工具,再source下,直接make就能生成jamplayer工具。还需要在quartusII中把xxx.pof 格式的CPLD firmware
摘要由CSDN通过智能技术生成

最近在调试JTAG,通过对ATOM的GPIO 操作,把ATOM的GPIO口模拟成JTAG信号,然后把CPLD的firmware,从ATOM平台烧进CPLD中。

这里主要是使用了Altera的 STAPL工具, 叫jamplayer, 这是一个开源的工具,再source下,直接make就能生成jamplayer工具。

还需要在quartusII中把xxx.pof 格式的CPLD firmware转换成xxx.jam格式。jam文件才能被jamplayer操作。

主要的使用命令如下:

jamplayer [option] file

jamplayer -acheck_idcode xxx.jam          //check the CPLD id and jam file id, if the same tell the id number and return success

jamplayer -averify  xxx.jam            //compare the cpld contents and the file contents,  if the same, return success.

jamplayer -aprogram  xxx.jam                                // flash the firmware, it will erase first, then program, then verify.

jamplayer -aerase  xxx.jam                                     //it will erase CPLD firmware

jamplayer -ablankcheck xxx.jam                 //check if it's blank.return succeed if it's blank.
option 还可以有
  • 1
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值