共2条
1/1 1 跳转至页
5509SPI,BOOTLOAD 请教5509SPI做BOOTLOAD的方法

问
由于第一次做BOOTLOAD,不知如何下手,还请世外高人指点迷津!!
答 1:
同求同求,高手指点啊
答 2:
easyeasy,看手册
答 3:
希望对你有帮助首先用HEX55把要烧入的文件生成*.HEX文件,注意HEX.CMD编写 例(Debug\led.out /* Input COFF file */
-a /* Select ASCII format */
-map led.mxp
-boot /* Place all initialized sections in image */
-parallel16 /* Set Flash system memory width */
-v5510:2 /* Set processor type */
-o led.hex /* Name hex output file */
)
详细可参考SPRA911C.PDF
然后编写写入程序
SPI工作在时钟停止模式,注意GPIO4与SPI EEPROM 片选连接(我用 AT25F512N 调成的)然后把十六近制数从。HEX文件中一个个读出来发出去就行了
我是用VC5502调出来的,我感觉应该差不多吧,都是55系列吗
答 4: SORRY!!发错了上面有错,刚才发错了 下面第5行应该生成串行8位(serial8 )
例(Debug\led.out /* Input COFF file */
-a /* Select ASCII format */
-map led.mxp
-boot /* Place all initialized sections in image
-serial8
-v5510:2 /* Set processor type */
-o led.hex /* Name hex output file */
)
-a /* Select ASCII format */
-map led.mxp
-boot /* Place all initialized sections in image */
-parallel16 /* Set Flash system memory width */
-v5510:2 /* Set processor type */
-o led.hex /* Name hex output file */
)
详细可参考SPRA911C.PDF
然后编写写入程序
SPI工作在时钟停止模式,注意GPIO4与SPI EEPROM 片选连接(我用 AT25F512N 调成的)然后把十六近制数从。HEX文件中一个个读出来发出去就行了
我是用VC5502调出来的,我感觉应该差不多吧,都是55系列吗
答 4: SORRY!!发错了上面有错,刚才发错了 下面第5行应该生成串行8位(serial8 )
例(Debug\led.out /* Input COFF file */
-a /* Select ASCII format */
-map led.mxp
-boot /* Place all initialized sections in image
-serial8
-v5510:2 /* Set processor type */
-o led.hex /* Name hex output file */
)
共2条
1/1 1 跳转至页