资料
  • 资料
  • 专题
TMS320VC5509multibootsourcecode
推荐星级:
类别: 消费电子
时间:2020-01-07
大小:81.47KB
阅读数:150
上传用户:二不过三
查看他发布的资源
下载次数
0
所需E币
5
ebi
新用户注册即送 300 E币
更多E币赚取方法,请查看
close
资料介绍
TMS320VC5509 multiboot source code **************************************************** ** mboot5509 - 5509 EVM Multi-stage Boot Utility ** ****************************************************This is a multi-stage boot utility for running large programs out of Flashon the 5509 EVM. It gets around the limited number of address lines on the5509 by loading a boot stub in the first 4Kwords of Flash which starts upfirst, then extracts the user code using the paged Flash memory modelimplemented on the EVM. The ZIP file includes:1) A FlashBurn programming algorithm specific to the 5509 EVM. It includesthe algorithm only, the FlashBurn executable is distributed through CCSUpdate Advisor.2) BootStub - a Code Composer project containing the boot stub. It iswritten in C so you can change it easily.3) Displaytestdemo - a sample Code Composer project you can load as a demo,it displays 5509 EVM marketing information on the LCD display.4) mboot5509 - A Spectrum Digital utility that packs the boot stub and usercode together into a hex file.-----Usage-----mboot5509 mboot.hex bootstub.out displaytest.out [ov1.out ov2.out ...]The command line above takes bootstub.out and formats it in 5509 bootloaderformat at address 0x0000 in the Flash. It then takes displaytest.out andpacks it in 5509 bootloader format at word address 0x4000. Finally, ittakes any other .out files on the command line and includes them verbatimwithout converting them to bootloader format, useful for constant tables.The output in a single ASCII hex file mboot.hex.To put the hex file into Flash, launch FlashBurn and open the FlashBurnproject 5509MultiBoot\mboot.cdd. You'll have to repoint the followingfields:"File to Burn" --> 5509MultiBoot\mboot.hex"FBTC Program File" --> 5509MultiBoot\FlashBurn\evm5509\FBTC55.outUse the Program Flash button to burn hex file in Flash. This algorithm portis intelligent in that it erases while programming so it only needs to erasethe Flash blocks that actually contain data instead of the entire device.The erase function in FlashBurn will return without doing anything, you donot need to use it before programming.Notes:1) Source code is included for BootStub and Displaytestdemo, if you want toalter the bootload process just modify the code.2) The hex file generated spans one memory region that encompasses all ofthe files specified on the command line. If you use any overlays try toposition them close to the end of the bootload images so you don't end upgenerating large hex files with tons of dead space.3) Both the boot stub and the user code are stored in true 5509 bootloaderformat including pad bytes.4) The batch file make.bat contains the command line above, when doing lotsof builds it's a lot easier to create a batch file like that so you don'thave to keep on typing the whole command line.5) The boot stub occupies RAM from word address 0x100 to 0x400. You mustmake sure the user code you're trying to boot from Flash does not have anyinitialized sections that overlap with this range or the boot will fail. Itis ok if this region is specified as uninitialized data in the user code,the user code will overwrite the boot stub, but only after the boot hasfinished and the boot stub is no longer needed.6) To boot from the Flash image, the 5509's BOOTM pins need to be configuredin 16-bit asynchronous boot mode. The jumper settings for that are JP6=2-3,JP11=1-2, JP8=1-2, JP12=1-2.文件列表: 5509MultiBoot .............\Bootstub .............\........\5509.cmd .............\........\5509.h .............\........\bootload.c .............\........\Bootstub.pjt .............\........\c55xxdefs.h .............\........\Debug .............\........\.....\Bootstub.out .............\........\main.c .............\Bootstub.out .............\Displaytest.out .............\Displaytestdemo .............\...............\5509.cmd .............\...............\5509.h .............\...............\c55xxdefs.h .............\...............\Debug .............\...............\.....\Displaytest.out .............\...............\display.c .............\...............\Displaytest.pjt .............\...............\emif.c .............\...............\evmlogic.c .............\...............\main.c .............\...............\util.c .............\...............\util.h .............\...............\xf.asm .............\FlashBurn .............\.........\evm5509 .............\.........\.......\FBTC55 .............\.........\.......\......\FBCmd.c .............\.........\.......\......\FBCmd.h .............\.........\.......\......\FBTC55.c .............\.........\.......\......\FBTC55.h .............\.........\.......\......\FBTC55.pjt .............\.........\.......\......\FBurnCmd.c .............\.........\.......\......\flash.c .............\.........\.......\......\flash.h .............\.........\.......\......\Link.cmd .............\.........\.......\......\target.h .............\.........\.......\......\type.h .............\.........\.......\FBTC55.out .............\Gel .............\...\sd5509evm.gel .............\mboot.cdd .............\mboot.hex .............\mboot5509.exe .............\readme.txt……
版权说明:本资料由用户提供并上传,仅用于学习交流;若内容存在侵权,请进行举报,或 联系我们 删除。
PARTNER CONTENT
相关评论 (下载后评价送E币 我要评论)
没有更多评论了
  • 可能感兴趣
  • 关注本资料的网友还下载了
  • 技术白皮书