TI Flash and Boot Utilities
TI Flash and Boot Utilities
Serial Boot and Flash Loading
Utility
from Texas Instruments Embedded Processors Wiki
Jump to: navigation, search
Serial Boot and Flash
Loading Utility
TI Flash and Boot Utilities
These packages (currently available for the DM35x, DM644x, and DM646x)
contain a set of utilities, some for running under CCS on Windows, and others
for running from the command-line on both Windows and Linux. In these second set
of utilities are applications for flashing the NOR and NAND (and in the future
SD cards, SPI FLash/EEPROM, I2C EEPROM) of the EVMs via the serial port. All
source is included for users who wish to adapt the applications to their own
custom platform. The entire project is released under the GPLv2 license.
The Serial Flashing Host Utility (which offers the same functionality as a
previous program called DVFlasher) executable is called
sfh_<DEVICENAME>.exe, where device name is DM35x, DM644x, or DM646x.
The Serial Loading Host Utility (which offers the same functionality as a
previous program called DVLoader) executable is called
slh_<DEVICENAME>.exe, where device name is DM35x, DM644x, or DM646x.
These programs each encapsulate a distinct binary UBL which is transferred
via the UART. This implies that the chip must be operating in the UART boot
mode, showing the BOOTME prompt.
NOTE: The assumption is made that the UART of the device operates at 115200,
8N1. If the oscillator used with the device does not match the one used on the
EVM (e.g. on a custom platform), the baud rate assumption may be incorrect.
The binary UBL in the case of the Serial Flasher program is known as the
Serial Flasher Target, or sft. The binary UBL in the case of the Serial Loader
program is the Serial Loader Target, or slt. The code for these is present in
the directories of the same name.
Other alternatives for RBL UBL and host programs are
also available.
Running
- Under Windows -
Ïà¹ØÎĵµ£º
ÀûÓÃas3£¬ÎÒÃÇ¿ÉÒÔ³¢ÊÔÖÆ×÷һЩÓÐȤµÄ×é¼þ£¬ËäÈ»ÏÖÔÚÒѾÓкܶàʵÓõÄ×é¼þ£¬µ«ÊÇ×Ô¼º³¢ÊÔдһÏÂÒ²ÊDz»´íµÄ¡£ÀûÓÃas3Óï·¨£¬½èÓÃÁË»æͼApiÎÒÃdz¢ÊÔÖÆ×÷Ò»ÏÂÕâ¸ö×é¼þ¡£ÒòΪÎÒÃDz»ÐèÒªºÜÇ¿´óµÄ¹¦ÄÜ£¬¶Ô´ËÎÒÃÇÖ»ÊÇÐèҪѡȡÆäÒ»²¿·Ö¾Í¿ÉÒÔ¡£
Ê×ÏÈ,ÎÒÃÇËùÐèµÄÖÆ×÷Á½¸öͼÐΣ¬Ò»¸öÊÇÍ϶¯µÄ·½¿é£¬Ò»¸öÊǵ×ͼƬ¡£¶ÔÓÚÕâÁ ......
flashbuilderÖпÉÒÔ½¨Á¢flex¹¤³ÌÓëactionscript¹¤³Ì.
flex¹¤³ÌÄÚ¿ÉÒÔʹÓÃmxmlÊÇÍê³ÉÉè¼Æ¹¤×÷.
actionscript¹¤³Ì½¨Á¢Ê±Ä¬ÈÏÖ»ÓÐ:
playerglobal.swc
flex.swc
utilities.sec
playerglobal.swc
Õ⼸¸öÀà¿â.ûÓÐframework.swc,¾ÍÎÞ·¨Ê¹ÓÃButtonµÈ¿Ø¼þÁË.
½â¾ö·½°¸ÊÇ actionscript¹¤³ÌÖмÓÈëframework.swc.
·¾¶ÊÇ x:/A ......
class CFlashPlayer {
public:
/**
´´½¨²¥·ÅÆ÷
playerUrl : ²¥·ÅÆ÷¶ÔÓ¦µÄURL,ÀýÈçÒª²¥·ÅÓÅ¿áµÄÊÓƵ,ÔòURLÌî:
http://static.youku.com/v1.0.0103/v/swf/qplayer.swf
**/
static CFlashPlayer* createFlashPlayer (const string& playerUrl, EMhwlibTVStandard standard, b ......
Ö÷ҪĿµÄ£ºÒÆÖ²u-boot-1.3.2µ½K9¿ª·¢°å£¬Ê¹ÆäÖ±½Ó´ÓFLASH
Æô
¶¯£¬¶ø²»ÊÇͨ¹ýboot.binºÍu-boot
ѹ
ËõÎļþ
Æô¶¯¡£ÊµÏÖu-
bootµÄ·ÇѹËõʽµÄ´ÓFLASHµÄ0x10000000µØÖ·´¦Ö±½ÓÆô¶¯¡£
Ó²¼þ×ÊÔ´£ºK9¿ª·¢
°å &n ......
±¾À´ºÜÔç¾Í´òË㿪ÂòÒ»¸öÓòÃû¡¢¿Õ¼ä¼ÜÉè×Ô¼ºµÄ²©¿Í£¬µ«ÊÇÔÚÑ¡À´Ñ¡È¥ÖÐÓÌÔ¥²»¾öÁË
1
¸öÔ£¬¾ÍÔÚ×òÌìÎÒÉúÈÕµÄÄÇÌ죬ÎÒ¶ÙÎòÁË£¬¸ÉÂïÒ»¶¨ÒªÓÃ×Ô¼ºµÄÓòÃû£¬Ã»ÓÐʲôÃûÆø£¬Ã»ÓÐʲôÌص㣬ֻÊǼǼһÏÂ×Ô¼ºµÄÉú»î£¬Ö÷ÒªµÄÄ¿µÄ»¹ÊÇÒÔÏ£º
1
£¬ÆÚÏÞΪ
1
Ä꣬ΪµÄÊÇ¿´¿´
1
ÄêµÄ¼á³Öд×÷¿ÉÒÔ¸ø×Ô¼º´øÀ´Ê²Ã´ºÃ´¦£»
2
......