kvurce

所属分类:系统编程
开发工具:Others
文件大小:56KB
下载次数:1
上传日期:2017-04-08 17:55:47
上 传 者yygima
说明:  tms320vc5509 multiboot source cpde
(Tms320vc5509 multiboot source cpde)

文件列表:
make.bat (52, 2003-02-11)
Displaytestdemo\5509.cmd (951, 2003-02-11)
Bootstub\5509.cmd (955, 2003-02-12)
FlashBurn\evm5509\FBTC55\Link.cmd (1781, 2002-10-08)
Bootstub\5509.h (15341, 2001-11-16)
Displaytestdemo\5509.h (15341, 2001-11-16)
Bootstub\c55xxdefs.h (20042, 2001-07-10)
Displaytestdemo\c55xxdefs.h (20042, 2001-07-10)
FlashBurn\evm5509\FBTC55\FBCmd.h (2912, 2002-10-08)
FlashBurn\evm5509\FBTC55\FBTC55.h (3535, 2002-10-08)
FlashBurn\evm5509\FBTC55\flash.h (1405, 2003-02-10)
FlashBurn\evm5509\FBTC55\target.h (855, 2002-10-08)
FlashBurn\evm5509\FBTC55\type.h (1217, 2002-10-08)
Displaytestdemo\util.h (857, 2001-07-27)
Displaytestdemo\bootload.c (2, 2002-02-20)
Bootstub\bootload.c (2208, 2003-02-11)
Displaytestdemo\display.c (10299, 2003-02-11)
Displaytestdemo\emif.c (3524, 2002-02-20)
Displaytestdemo\evmlogic.c (944, 2002-02-05)
FlashBurn\evm5509\FBTC55\FBCmd.c (5313, 2002-10-08)
FlashBurn\evm5509\FBTC55\FBTC55.c (4113, 2002-10-08)
FlashBurn\evm5509\FBTC55\FBurnCmd.c (7603, 2003-02-12)
FlashBurn\evm5509\FBTC55\flash.c (6617, 2003-02-12)
Bootstub\main.c (375, 2003-02-11)
Displaytestdemo\main.c (1433, 2003-02-12)
Displaytestdemo\util.c (2710, 2001-09-10)
Displaytestdemo\xf.asm (234, 2002-02-20)
mboot5509.exe (36864, 2003-02-11)
mboot.cdd (4608, 2003-02-12)
Gel\sd5509evm.gel (2855, 2002-08-02)
mboot.hex (38430, 2003-02-12)
Bootstub.out (5387, 2003-02-11)
Bootstub\Debug\Bootstub.out (5387, 2003-02-12)
Displaytest.out (20448, 2003-02-12)
Displaytestdemo\Debug\Displaytest.out (20448, 2003-02-12)
FlashBurn\evm5509\FBTC55.out (11633, 2003-02-12)
Bootstub\Bootstub.pjt (981, 2003-02-12)
Displaytestdemo\Displaytest.pjt (1075, 2003-02-10)
FlashBurn\evm5509\FBTC55\FBTC55.pjt (806, 2003-02-12)
... ...

*************************************************** * * * mboot5509 - 5509 EVM Multi-stage Boot Utility * * * *************************************************** This is a multi-stage boot utility for running large programs out of Flash on the 5509 EVM. It gets around the limited number of address lines on the 5509 by loading a boot stub in the first 4Kwords of Flash which starts up first, then extracts the user code using the paged Flash memory model implemented on the EVM. The ZIP file includes: 1) A FlashBurn programming algorithm specific to the 5509 EVM. It includes the algorithm only, the FlashBurn executable is distributed through CCS Update Advisor. 2) BootStub - a Code Composer project containing the boot stub. It is written 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 user code 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 bootloader format at address 0x0000 in the Flash. It then takes displaytest.out and packs it in 5509 bootloader format at word address 0x4000. Finally, it takes any other .out files on the command line and includes them verbatim without 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 FlashBurn project 5509MultiBoot\mboot.cdd. You'll have to repoint the following fields: "File to Burn" --> 5509MultiBoot\mboot.hex "FBTC Program File" --> 5509MultiBoot\FlashBurn\evm5509\FBTC55.out Use the Program Flash button to burn hex file in Flash. This algorithm port is intelligent in that it erases while programming so it only needs to erase the Flash blocks that actually contain data instead of the entire device. The erase function in FlashBurn will return without doing anything, you do not need to use it before programming. Notes: 1) Source code is included for BootStub and Displaytestdemo, if you want to alter the bootload process just modify the code. 2) The hex file generated spans one memory region that encompasses all of the files specified on the command line. If you use any overlays try to position them close to the end of the bootload images so you don't end up generating large hex files with tons of dead space. 3) Both the boot stub and the user code are stored in true 5509 bootloader format including pad bytes. 4) The batch file make.bat contains the command line above, when doing lots of builds it's a lot easier to create a batch file like that so you don't have to keep on typing the whole command line. 5) The boot stub occupies RAM from word address 0x100 to 0x400. You must make sure the user code you're trying to boot from Flash does not have any initialized sections that overlap with this range or the boot will fail. It is 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 has finished and the boot stub is no longer needed. 6) To boot from the Flash image, the 5509's BOOTM pins need to be configured in 16-bit asynchronous boot mode. The jumper settings for that are JP6=2-3, JP11=1-2, JP8=1-2, JP12=1-2.

近期下载者

相关文件


收藏者