The NXP LPC315x combine an 180 MHz ARM926EJ-S CPU core, High-speed USB 2.0OTG, 192 KB SRAM, NAND flash controller, flexible external bus interface, an integratedaudio codec, Li-ion charger, Real-Time Clock (RTC), and a myriad of serial and parallelinterfaces in a single chip targeted at consumer, industrial, medical, and communicationmarkets. To optimize system power consumption, the LPC315x have multiple powerdomains and a very flexible Clock Generation Unit (CGU) that provides dynamic clockgating and scaling.The LPC315x is implemented as multi-chip module with two side-by-side dies, one fordigital fuctions and one for analog functions, which include a Power Supply Unit (PSU),audio codec, RTC, and Li-ion battery charger.
標(biāo)簽:
315x
LPC
315
ARM
上傳時間:
2014-01-17
上傳用戶:Altman
用匿名方式登陸一個FTP服務(wù)器,下載FTP服務(wù)器里的文件到本地。在FTP服務(wù)器里應(yīng)該有一個list.ini文件,里面記錄一些相關(guān)的信息(版本號,需要下載的文件等)。
程序第一次執(zhí)行,如果本地沒有l(wèi)ist.ini文件,則先下載服務(wù)器的list.ini文件到本地,然后從本地的list文件中拿到需要升級的文件清單,下載服務(wù)器里的相應(yīng)文件.最后結(jié)束自己。以后運(yùn)行程序,先讀取本地文件中的list文件的版本號,再下載服務(wù)器的list.ini文件到本地。然后比較版本號,如果有新版本,就從list文件中拿到需要升級的文件清單,下載服務(wù)器里的相應(yīng)文件,最后結(jié)束自己。
apple3.exe 是被升級的主程序例子,在程序代碼中可選擇是否對被升級的主程序進(jìn)行啟動和關(guān)閉。
代碼中有較詳細(xì)的中文說明, FTP和讀INI文件的類都是用的別人做好的。
標(biāo)簽:
FTP
list
服務(wù)器
ini
上傳時間:
2014-01-07
上傳用戶:wangyi39