Forum Discussion
茫于000
New Contributor
5 years ago我使用的是单镜像非压缩模式,IP生成的时候选择这个项目,在编译工程里的器件里选择内部下载配置,也选择单镜像非压缩模式。生成的pof下载文件转换成rpd格式。
记住程序只能下载到CFM里,一般是SECTOR4和SECTOR5,所以这两个块都得配置成读写。然后就把要下载的rpd数据通过AVMM接口写入到CFM里,注意waitrequest信号的控制,写的时候拉高,写完后拉低再更新下一个要写的数据。 还要注意大小端,rpd文件里以hex格式打开后,字节需要按照bit更换大小端。
saconnex
New Contributor
3 years agoWhy do we need to swap LSB and MSB in hex editor? I could not find the related requirement for that. Can you hand in?
- jozephka993 years ago
Contributor
I don't remember in which document but you have to write the .rpd to the flash in big endian. You don't have to swap it in hex editor. You can do it while you create .rpd in convert programming files. You can choose it under advanced tab. If you don't change it, it generates .rpd in little endian by default.