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 -
相关文档:
flashbuilder中可以建立flex工程与actionscript工程.
flex工程内可以使用mxml是完成设计工作.
actionscript工程建立时默认只有:
playerglobal.swc
flex.swc
utilities.sec
playerglobal.swc
这几个类库.没有framework.swc,就无法使用Button等控件了.
解决方案是 actionscript工程中加入framework.swc.
路径是 x:/A ......
怕哪天再用到,省的再重新写:
#!/bin/sh
save_path=$1
log_path="/usr/local/nginx/logs/null.log"
_from=`head $log_path -n1 |awk '{print $4}'|awk -F"[" '{print $2}'|grep -oE "[A-Za-z0-9:]+"`
_end=`tail $log_path -n1 |awk '{print $4}'|awk -F"[" '{print $2}'|grep -oE "[A-Za-z0-9:]+"`
from=`echo $_ ......
今天有点累,不多想写东西,就是当练习。
贝塞尔曲线,也不用多介绍,不过这个东西还有很多没加入去的。今天允许我懒一点。不想解释了。
测试玩玩。具体的没有什么功能,其实还有很多种情况没加入去。等待完善
package
{
//贝塞尔曲线
import flash.display.Sprite;
import flash.events.*;
import fl ......
本来想用flash的as2调用html+javascript的方法取得本地路径,但项目催得紧,没有时间研究基本不会的html了。只好使用熟悉的vc,捣鼓了一整天,凑合出一个解决方法来。不罗嗦了,见正文。
======================flash端的as2脚本如下:
//call Open file dialog
//fscommand("exec", "deleteFile.exe ......