使用步骤包括以下部分:
u 安装软件
u 配置硬件
u 建立通讯
u 下载调试代码到目标机调试
参考WorkBench261 Vxworks6.4 amcc440ep BSP 目录下 target.ref文件z中编程bootrom步骤,Tornado22 Vxworks55 BSP 目录下相应文件为target.nr。
Note:编程Flash Memory前必须确认对应的硬件资源已被正确配置通过下载寄存器文件,包括Flash memory 寄存器配置,编程使用 RAM Workspace for FLASH Algorithm配置。
启动Vision click软件进入BKM>背景调试模式后,在File->Open project Files/Load options Dialog 启动projects /Load 对话框-> Load Options 窗口
点击 Convert… 按键
“Select Input Object Module To Convert” box 选择bootrom.Hex 文件
Check the "Create Flat BIN File For Flash Programming" checkbox
输入 0 在"In Range Of 0x" input box,输入 FFFFFFFF 在 "To 0x" input box
点击Click on the "Convert" button 等待完成
- 点击"Flash Setup..." button进入TF Flash Programming 对话框
- 选择 "AMD s29GL512N (32768 x 16 ) 1 Device" in the
"Programming Algorithm (Flash Device(s) and Configuration)" box
- Check the "Initialize Target Prior to Erase and/or Program" checkbox
- 设置 "Base Address" to FFF00000
- 点击 "Erase to 0x" button
- 输入 FFFFFFFF in the text box besides "Erase to 0x"
- 点击 on the "Erase Only" button
Monitor the progress in the terminal window.
- Click on the "Ok" button.
- Select your "bootrom.bin" image in the
"Downloadable Module (BDX/BIN/HEX Format)" box
- check "Apply +/- Bias" and enter 0xFFF00000 in the text box.
- check "Load to Target Flash"
- Optionally check the "Read Verify All Data Packets"
- Click the "Load" button besides the
"Downloadable Module (BDX/BIN/HEX Format)" box.
Monitor the progress. Close all windows when done.
当前的Bootrom.bin 大小为1M bytes, 编程速度为53.06 Kbytes/second,在projects /Load 对话框-> Load Options 窗口Uncheck Read Verify All data packets使FLASH编程过程Write/Read Verify OFF可进一步提高编程速度
*博客内容为网友个人发布,仅代表博主个人观点,如有侵权请联系工作人员删除。