The idea for this book was born during one of my project-related trips to the beautiful city
of Hangzhou in China, where in the role of Chief Architect I had to guide a team of very
young, very smart and extremely dedicated software developers and verification engineers.
Soon it became clear that as eager as the team was to jump into the coding, it did not have
any experience in system architecture and design and if I did not want to spend all my time in
constant travel between San Francisco and Hangzhou, the only option was to groom a number
of local junior architects. Logically, one of the first questions being asked by these carefully
selected future architects was whether I could recommend a book or other learning material
that could speed up the learning cycle. I could not. Of course, there were many books on
various related topics, but many of them were too old and most of the updated information
was either somewhere on the Internet dispersed between many sites and online magazines, or
buried in my brain along with many years of experience of system architecture.
Multiple-voltage electronics systems often requirecomplex supply voltage tracking or sequencing, whichif not met, can result in system faults or even permanentfailures in the fi eld. The design diffi culties in meetingthese requirements are often compounded in distributedpowerarchitectures where point-of-load (POL) DC/DCconverters or linear regulators are scattered across PCboard space, sometimes on different board planes. Theproblem is that power supply circuitry is often the lastcircuitry to be designed into the board, and it must beshoehorned into whatever little board real estate is left.Often, a simple, drop-in, fl exible solution is needed tomeet these requirements.
HIGH SPEED 8051 μC CORE
- Pipe-lined Instruction Architecture; Executes 70% of Instructions in 1 or 2
System Clocks
- Up to 25MIPS Throughput with 25MHz System Clock
- 22 Vectored Interrupt Sources
MEMORY
- 4352 Bytes Internal Data RAM (256 + 4k)
- 64k Bytes IN-system Programmable FLASH Program Memory
- External Parallel Data Memory Interface – up to 5Mbytes/sec
DIGITAL PERIPHERALS
- 64 Port I/O; All are 5V tolerant
- Hardware SMBusTM (I2CTM Compatible), SPITM, and Two UART Serial
Ports Available Concurrently
- Programmable 16-bit Counter/Timer Array with 5 Capture/Compare
Modules
- 5 General Purpose 16-bit Counter/Timers
- Dedicated Watch-Dog Timer; Bi-directional Reset
CLOCK SOURCES
- Internal Programmable Oscillator: 2-to-16MHz
- External Oscillator: Crystal, RC, C, or Clock
- Real-Time Clock Mode using Timer 3 or PCA
SUPPLY VOLTAGE ........................ 2.7V to 3.6V
- Typical Operating Current: 10mA @ 25MHz
- Multiple Power Saving Sleep and Shutdown Modes
100-Pin TQFP (64-Pin Version Available)
Temperature Range: –40°C to +85°C
最近幾年新出的一些MCU,有很多都具有ISP(In System Programming:在系統(tǒng)編程)特性,利用這一特性可以在無需通用編程器的情況下,方便地對芯片執(zhí)行各種操作(擦除,讀取,編程等操作);如果進(jìn)一步配上一些軟件(如Keil的ISD51),即可實(shí)現(xiàn)一些簡單的在線調(diào)試功能(當(dāng)然要損失一個(gè)串口)。一些開發(fā)者,也經(jīng)常在自己的系統(tǒng)上預(yù)留ISP接口,以供日后升級之用。可以說ISP的廣泛應(yīng)用,標(biāo)志著單片機(jī)開發(fā)技術(shù)的進(jìn)步。
但是ISP功能的實(shí)現(xiàn)也有一定的限制,如需要一個(gè)串口,需要一定的駐留代碼空間,或者需要一定外部電路。于是有一些經(jīng)驗(yàn)不足的朋友,在實(shí)現(xiàn)ISP功能的時(shí)候便經(jīng)常出問題,要么是外部電路的問題,要么是串口的問題。比如:為什么軟件老是報(bào)“通信出錯(cuò)”;為什么我的系統(tǒng),第一次可以進(jìn)ISP,第二次就不行了;為什么我在Win98下無法進(jìn)入ISP,換了WinXP就可以了。這些問題總是出現(xiàn)于一些細(xì)微的地方,一些被人忽略的地方,如果你沒有充足的時(shí)間,充足的精力,充足的耐心去尋找這些根源;如果你有一臺(tái)CP900編程器(當(dāng)然其他的某些編程器也可以);如果你不想在那塊可憐的小電路板上,再擠進(jìn)一堆器件;如果你不想在購料單上再增加一批Max232,或者一批xx型電容,yy型電阻,那么請使用ICP吧(InCircuit Programming:在電路編程)。
The MSP-FET430U14 is a powerful flash emulation tool to quickly begin application development on the MSP430 MCU. It includes USB debugging interface used to program and debug the MSP430 IN-system through the JTAG interface or the pin saving Spy Bi-Wire (2-wire JTAG) protocol. The flash memory can be erased and programmed in seconds with only a few keystrokes, and since the MSP430 flash is ultra-low power, no external power supply is required.
The debugging tool interfaces the MSP430 to the included integrated software environment and includes code to start your design immediately. The MSP-FET430UIF development tools supports development with all MSP430 flash devices
CCAVR軟件有ISP功能,能過調(diào)用STK500完成的,只要設(shè)置好參數(shù),在ICCAVR中就可以給芯片編程了,還可以讓程序一編譯完就自動(dòng)下載到芯片中,相當(dāng)方便。在Tools->environment options->ISP里設(shè)定STK500.exe的路徑。— 用于調(diào)用STK500程序。在Tools->In system programming 里Programmer Interface中選中STK500。— 選擇STK500下載方式。在Tools->In system programming 里把Auto Program After Compile 的小勾選上。— 編譯后自動(dòng)編程。在Tools->In system programming 中還有一些設(shè)置項(xiàng),大家可以根據(jù)需要進(jìn)行相關(guān)設(shè)置。下面的圖片是操作過程。