"NORµÄÌصãÊÇоƬÄÚÖ´ÐÐ(XIP, eXecute In Place)£¬ÕâÑùÓ¦ÓóÌÐò¿ÉÒÔÖ±½ÓÔÚflashÉÁ´æÄÚÔËÐУ¬²»±ØÔÙ°Ñ´úÂë¶Áµ½ÏµÍ³RAMÖС£NORµÄ´«ÊäЧÂʺܸߣ¬ÔÚ1¡«4MBµÄСÈÝÁ¿Ê±¾ßÓкܸߵijɱ¾Ð§Ò棬µ«ÊǺܵ͵ÄдÈëºÍ²Á³ýËٶȴó´óÓ°ÏìÁËËüµÄÐÔÄÜ¡£
XIP - eXecute In Place£¬ÖÐÎij£ÒëΪ£¬¾ÍµØÖ´ÐС£Ö¸´úÂë¿ÉÒÔÔÚµ±Ç°£¨´æ´¢Æ÷ÖУ©Ö´ÐÐ
¹ØÓÚNor FlashµÄXIP :
NAND and NOR and XIP
"NORµÄÌصãÊÇоƬÄÚÖ´ÐÐ(XIP, eXecute In Place)£¬ÕâÑùÓ¦ÓóÌÐò¿ÉÒÔÖ±½ÓÔÚflashÉÁ´æÄÚÔËÐУ¬²»±ØÔÙ°Ñ´úÂë¶Áµ½ÏµÍ³RAMÖС£NORµÄ´«ÊäЧÂʺܸߣ¬ÔÚ1¡«4MBµÄСÈÝÁ¿Ê±¾ßÓкܸߵijɱ¾Ð§Ò棬µ«ÊǺܵ͵ÄдÈëºÍ²Á³ýËٶȴó´óÓ°ÏìÁËËüµÄÐÔÄÜ¡£
NAND½á¹¹ÄÜÌṩ¼«¸ßµÄµ¥ÔªÃܶȣ¬¿ÉÒÔ´ïµ½¸ß´æ´¢Ãܶȣ¬²¢ÇÒдÈëºÍ²Á³ýµÄËÙ¶ÈÒ²ºÜ¿ì¡£Ó¦ÓÃNANDµÄÀ§ÄÑÔÚÓÚflashµÄ¹ÜÀíºÍÐèÒªÌØÊâµÄϵͳ½Ó¿Ú¡£ "
¹ØÓÚNand FlashµÄXIP£º
NAND FLASH ÊDz»ÊÇÎÞ·¨×öXIP£¿
ÎÊ£ºNAND FLASH ÊDz»ÊÇÎÞ·¨×öXIP£¬Ö»ÓÐ NOR¡¡FLASH²ÅÄÜ£¿
´ð£ºËùνXIP,¾ÍÊÇCODEÊÇÔÚFLASHÉÏÖ±½ÓÔËÐÐ. NANDFLASHÖ»ÊDz»ÊʺÏ×öXIP,µ«²¢²»ÊDz»ÄÜ×öXIP¡£
ÒªÒ»¶ÎCODEÄܹ»ÕýÈ·µÄÔËÐÐ,Òª±£Ö¤ËüµÄCODEÊÇÁ¬ÐøµÄ,ÕýÈ·µÄ.
ÓÉÓÚһЩµçÆøÌØÐÔµÄÔÒò,NOR FLASHÄܹ»×öµ½ÕâÒ»µã,²»´æÔÚ»µµÀ ......
Ö÷ҪĿµÄ£ºÒÆÖ²u-boot-1.3.2µ½K9¿ª·¢°å£¬Ê¹ÆäÖ±½Ó´ÓFLASH
Æô
¶¯£¬¶ø²»ÊÇͨ¹ýboot.binºÍu-boot
ѹ
ËõÎļþ
Æô¶¯¡£ÊµÏÖu-
bootµÄ·ÇѹËõʽµÄ´ÓFLASHµÄ0x10000000µØÖ·´¦Ö±½ÓÆô¶¯¡£
Ó²¼þ×ÊÔ´£ºK9¿ª·¢
°å ......
±¾À´ÏëÓÃflashµÄas2µ÷ÓÃhtml+javascriptµÄ·½·¨È¡µÃ±¾µØ·¾¶£¬µ«ÏîÄ¿´ßµÃ½ô£¬Ã»ÓÐʱ¼äÑо¿»ù±¾²»»áµÄhtmlÁË¡£Ö»ºÃʹÓÃÊìϤµÄvc£¬µ·¹ÄÁËÒ»ÕûÌ죬´ÕºÏ³öÒ»¸ö½â¾ö·½·¨À´¡£²»ÂÞàÂÁË£¬¼ûÕýÎÄ¡£
======================flash¶ËµÄas2½Å±¾ÈçÏ£º
//call Open file dialog
//fscommand("exec", "deleteFile.exe");
//fscommand("exec", "forFlash.exe");
System.useCodepage = true;
//System.setClipboard( "Hello world ");
var gFilePath:String;
function btn1_fun() {
var my_lv:LoadVars = new LoadVars();
var bIsStopWait:Boolean = false;
var intervalId:Number;
var duration:Number = 300000;//5 minus
fscommand("exec", "openFile.exe");
intervalId = setInterval(timerEvent, duration);
my_lv.load("fscommand/filePath.txt",my_lv,"GET");
function timerEvent():Void {
bIsStopWait = true;
clearInterval(intervalId);
title_txt.text = "Time is over.";
//my_lv.load("fscommand/filePath.txt",my_lv,"GET");
}
my_lv.onData = function(src:String) {
if (src == undefined) {
trace( ......
ÔÀí£»ÓÃflash°ÑÊéÇ©Ïà¹ØÐÅϢдÈë¼ôÌù°å£¬ÓÃVCµÄ³ÌÐò¶Á¼ôÇаåÄÚÈÝ£¬Ð´ÈëÓ²ÅÌ¡£µ±flash¶ÁÊéǩʱ£¬Ö±½Ó¶ÁÈ¡txtÎļþ¡£Ð´Èë»òɾ³ý²Ù×÷£¬ÓÃvcµÄ³ÌÐò¡£
=======================flash¶Ë:
°´¼üÉè¼Æ£º add | bookmark | del
ÏÞÖÆ£ºÃ¿±¾txtµç×ÓÊéÖ»ÓÐÒ»¸öÊéÇ©¡£
src£º
button add:
on(release){
//add
System.setClipboard("book1.txt" + '|' + content_txt.scroll);
fscommand("exec", "BookMark.exe");
}
button BookMark:
´Ótxt¶ÁÎļþ
button del£º
ÈÃVCɾµô¼Ç¼book1ÊéÇ©µÄtxtÎļþ¡£
==========================VC¶Ë£º
// BookMark.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include "windows.h"
#include<string.h>
#define FILE_PATH TEXT(".\\bookMark.txt")
BOOL getdate();
BOOL fbProcessBuf(CHAR *pSrc);
BOOL fbFileWrite(CHAR* pFile, CHAR* pBuff);
TCHAR aszBasePath[MAX_PATH];
int _tmain(int argc, _TCHAR* argv[])
{
ZeroMemory(aszBasePath, MAX_PATH*2);
GetCurrentDirectory(MAX_PATH, aszBasePath);
getdate();
//while(1);
return 0;
}
BOOL ge ......
½ñÌìÕý´òËã°Ñ¸Õ×öÍêµÄÒ»¸öÍøÕ¾Ìá½»¸ø¿Í»§Ê±Í»È»·¢ÏÖÍøÕ¾Ê×Ò³ÖÐÒòΪ·ÅÁ˺öàFlash£¬½á¹û°Ñ¼¸¸ö¸¡¶¯µÄ¶¼µ²×¡ÁË¡£
µÚÒ»Ïëµ½µÄµ±È»ÊǰѸ¡¶¯²ãµÄz-indexµ÷¸ß£¬µ«Ëƺõz-index¶ÔFlash²»Æð×÷Óá£
ÓÖÏëµ½£º°ÑFlashÉèΪ͸Ã÷ÄØ£¿Ò»ÊÔ֮ϹûÈ»ºÃÓãºÖ»ÒªÔÚFlash¶ÔÏó¼ÓÈëÒ³ÃæʱÉú³ÉµÄHTML´úÂëÖмÓÈëÒÔϲÎÊý¾Í¿ÉÒÔÈÃDiv¸¡¶¯²ã´Ó
Flash϶³öÀ´ÁË£º<param name=”wmode” value=”transparent” />
ÁíÍ⣬·Å¹·ËÑÁËһϣ¬·¢ÏÖÁíÍâÒ»¸ö¸üרҵµÄ²ÎÊý£º<param name=”wmode” value=”opaque” />
transparentÊǸºÔð͸Ã÷µÄ£¬ÏÔ³ö¸¡¶¯Ö»²»¹ýÊÇËûµÄÒ»¸ö¸±Òµ¶øÒÑ£»¶øopaque²ÅÊÇרߺÔðÈÃFlashλÓÚÆäËü²ãϵġ£
´Óà½à½µÄBlogÉϳÀ´ÁËÒ»¶Î¶ÔÕâÁ½¸ö²ÎÊýµÄÏêϸ˵Ã÷£º
wmode
ÊôÐÔ
/
²ÎÊý
Öµ
Window | Opaque | Transparent
˵Ã÷£º
£¨¿É
Ñ¡£©ÔÊÐíʹÓÃ
Internet Explorer 4.0
ÖеÄ͸Ã÷
Flash
ÄÚÈÝ¡¢¾ø¶Ô¶¨Î»ºÍ·Ö²ãÏÔʾ¹¦ÄÜ¡£´Ë±ê¼Ç
/
ÊôÐÔ
½öÔÚ´øÓÐ
Flash Player ActiveX
¿Ø¼þµÄ
Windows
ÖÐÓÐЧ¡£
“Window”
ÔÚ
Web
Ò³
ÉÏÓÃӰƬ×Ô¼ºµÄ¾ØÐδ°¿ÚÀ´² ......
Ê×ÏÈ£¬¼ÓÔØTXTʵÀý£º
´úÂ룺
ËäÈ»ÊǺܾɵÄÒ»Ì׽̳̣¬¿ÉÊǺÜʵÓã¬ËùÒÔÎÒ°ÑËü·ÅÔÚÕâ¡£
£¨×¢Ò⣺¿´´úÂëµÄʱºòÁôÒâһϽڵãµÄÓ÷¨£ºmyXML.childNodes[0].childNodes[0].childNodes[0]....xml½ÚµãµÄµØ·½¡££©
Ò»¡¢½¨Á¢XML¶ÔÏó£º
var myXML = new XML();
¶þ¡¢ÒýÓÃXMLÎļþ£º
myXML.load("data.xml");
Èý¡¢ºöÂÔ¿Õ¸ñ£º
myXML.ignoreWhite = true;//ĬÈϵÄΪfalse
ËÄ¡¢´¦ÀíXML¶ÔÏóµÄº¯Êý£º
myXML. = (success)
{
statements;
}
Îå¡¢data.XMLÎļþµÄÄÚÈÝ£º
<data1 name="imagebear">
<data2 name="mariger">
xiaoshandong
</data2>
<data3 name="mariger3">
xiaoshandong3
</data3>
</data1>
Áù¡¢·µ»ØֵʵÀý
1¡¢myXML.childNodes[0]½«·µ»Ø£º
<data1 name="imagebear">
<data2 name="mariger">
xiaoshandong
</data2>
<data3 name="mariger3">
xiaoshandong3
</data3>
</data1>
2¡¢myXML.childNodes[0].nodeName½«·µ»Ø£º
data1
3¡¢myXML.childNodes[0].childNodes[0].name½«·µ»Ø£º
imagebear
4¡¢myXML.childNodes[0].childNodes[0]½«·µ»Ø£º
<data2 name="mariger"&g ......
Ê×ÏÈ£¬¼ÓÔØTXTʵÀý£º
´úÂ룺
ËäÈ»ÊǺܾɵÄÒ»Ì׽̳̣¬¿ÉÊǺÜʵÓã¬ËùÒÔÎÒ°ÑËü·ÅÔÚÕâ¡£
£¨×¢Ò⣺¿´´úÂëµÄʱºòÁôÒâһϽڵãµÄÓ÷¨£ºmyXML.childNodes[0].childNodes[0].childNodes[0]....xml½ÚµãµÄµØ·½¡££©
Ò»¡¢½¨Á¢XML¶ÔÏó£º
var myXML = new XML();
¶þ¡¢ÒýÓÃXMLÎļþ£º
myXML.load("data.xml");
Èý¡¢ºöÂÔ¿Õ¸ñ£º
myXML.ignoreWhite = true;//ĬÈϵÄΪfalse
ËÄ¡¢´¦ÀíXML¶ÔÏóµÄº¯Êý£º
myXML. = (success)
{
statements;
}
Îå¡¢data.XMLÎļþµÄÄÚÈÝ£º
<data1 name="imagebear">
<data2 name="mariger">
xiaoshandong
</data2>
<data3 name="mariger3">
xiaoshandong3
</data3>
</data1>
Áù¡¢·µ»ØֵʵÀý
1¡¢myXML.childNodes[0]½«·µ»Ø£º
<data1 name="imagebear">
<data2 name="mariger">
xiaoshandong
</data2>
<data3 name="mariger3">
xiaoshandong3
</data3>
</data1>
2¡¢myXML.childNodes[0].nodeName½«·µ»Ø£º
data1
3¡¢myXML.childNodes[0].childNodes[0].name½«·µ»Ø£º
imagebear
4¡¢myXML.childNodes[0].childNodes[0]½«·µ»Ø£º
<data2 name="mariger"&g ......
×ܼǼÊý:497; ×ÜÒ³Êý:83; ÿҳ6 Ìõ;
Ê×Ò³ ÉÏÒ»Ò³ [1] 2
[3] [4] [5] [6] [7] [8] [9] [10] ÏÂÒ»Ò³ βҳ