如何升級(jí) MAXQ的串口-JTAG 接口板的固件

時(shí)間:2007-05-08

來(lái)源:網(wǎng)絡(luò)轉(zhuǎn)載

導(dǎo)語(yǔ):Maxim/Dallas的 MAXQ 系列單片機(jī)使用 JTAG作為系統(tǒng)開(kāi)發(fā)中的調(diào)試和編程工具

摘要:該操作說(shuō)明列出了在MAXQ®串口-JTAG接口板上加載固件所需步驟,串口-JTAG接口板允許編程和調(diào)試任何MAXQ處理器。Maxim 推出該接口板的升級(jí)版。本文所述的步驟允許開(kāi)發(fā)者加載新固件,保留最新修改的接口板。 相關(guān)譯文:http://www.treenowplaneincome.com/tech/tech_down.asp?DataID=30391 original text: [COLOR=#708090]How to Update the Firmware in the MAXQ Serial-to-JTAG Board Abstract: This application note lists the steps required to load firmware onto a MAXQ® serial-to-JTAG development board. The serial-to-JTAG board allows programming and debugging of any MAXQ processor. Maxim occasionally releases updates to this board‘s firmware. The steps given in this article allow developers to load the new firmware and remain current with the latest changes. All MAXQ microcontrollers use the JTAG interface for debugging and system programming because of the interface‘s low cost and simplicity. For convenience, a serial-to-JTAG adapter board is provided so any MAXQ microcontroller can connect to an RS-232 serial port. Many third-party vendors also use this adapter board to connect to MAXQ microcontrollers in their Integrated Development Environments (IDE). Two IDE examples for MAXQ microcontrollers are the IAR Embedded Workbench® and CrossWorks by Rowley Associates. This JTAG board accepts commands from an RS-232 connection, converts these signals to TTL-level signals, and finally translates the commands into the appropriate JTAG commands. These commands can then be accepted by any attached MAXQ microcontroller. To handle this translation, the JTAG board uses the DS89C430 ultra-high-speed, 8051 microcontroller. (Note: Earlier versions of the JTAG board may use a DS89C420 8051 microcontroller, but the instructions found in this application note all still apply.) The DS89C430 microcontroller has internal flash memory which stores the firmware required to perform the command translations. If Maxim releases a new version of this firmware or if the firmware becomes damaged for any reason, it will be necessary to reload it. There are two things required to update the firmware on the JTAG board. 1. The Microcontroller Tool Kit (MTK), Maxim‘s universal programming software which supports both 8051 and MAXQ microcontrollers. The tool kit can be downloaded. 2. A copy of the JTAG board‘s firmware. The most recent firmware can always be found packaged with the latest version of the MAX-IDE for MAXQ microcontrollers. Although MAX-IDE is not required to install the firmware, it still must be installed to extract the firmware from the setup file. Once you install MAX-IDE, you can find the JTAG firmware (jtag.hex) in the C:\Program Files\MAX-IDE\Devices\MaxQ\JTAGFirmware directory. MAX-IDE can be downloaded (ZIP). Once you have these two pieces of code, you can use the steps below to update the board‘s firmware. 1. Connect a serial cable from the PC‘s serial port to the JTAG board and power up the board. The JTAG board requires a 5V ±5% DC-regulated power supply. Ensure that the connection cable, P2, is disconnected from the JTAG board and the target MAXQ board. The DS1 LED of the JTAG board should turn on when power is applied. 2. Make sure that the jumpers, JH1 and JH2, on the JTAG board are closed. 3. Start MTK and select DS89C430 in the "Select device" screen. 4. Select "Configure Serial Port" in the "Option" menu, and choose the desired serial port and baud rate. Because the DS89C430‘s boot loader automatically detects the baud rate of the PC side, and because the on-board crystal is 7.37MHz, the maximum baud rate which can be selected is 38400BPS. 5. Select "Open COMx at 38400 baud" in the "Target" menu. (COMx is the serial port you selected earlier.) Choose "Connect to Loader." You should then see the welcome screen below. (Notice that the DS1 on the JTAG board will turn off while you are connected to the loader.) 6. Select "Load Flash" in "File" menu, and browse to the folder where the JTAG firmware is located. If you plan to use the firmware that comes with MAX-IDE, you will find it in the C:\Program Files\MAX-IDE\Devices\MaxQ\JTAGFirmware directory. 7. Select jtag.hex. MTK will automatically begin downloading the firmware into the DS89C430 microcontroller. Once the download completes, you will see output similar to the following. 8. Select "Close COMx" in the "Target" menu to close the serial port. The DS1 LED on JTAG board will then turn on again. If you followed all the steps listed above, the serial-to-JTAG board will now be programmed with the latest version of the JTAG firmware. MAXQ is a registered trademark of Maxim Integrated Products, Inc. IAR Embedded Workbench is a registered trademark of IAR Systems AB. Maxim Integrated Products was established in 1983. In 2001, Maxim acquired Dallas Semiconductor. Our mission is to continuously invent high-quality analog and mixed-signal engineering solutions that add value to our worldwide customers‘ microprocessor-based electronics. We have consistently served both our customers and our stockholders by meeting our cost and performance goals, minimizing time-to-market, and maximizing our engineering productivity.[/COLOR]
聲明:本文為中國(guó)傳動(dòng)網(wǎng)獨(dú)家稿件。未經(jīng)許可,請(qǐng)勿轉(zhuǎn)載。
中傳動(dòng)網(wǎng)版權(quán)與免責(zé)聲明:

凡本網(wǎng)注明[來(lái)源:中國(guó)傳動(dòng)網(wǎng)]的所有文字、圖片、音視和視頻文件,版權(quán)均為中國(guó)傳動(dòng)網(wǎng)(www.treenowplaneincome.com)獨(dú)家所有。如需轉(zhuǎn)載請(qǐng)與0755-82949061聯(lián)系。任何媒體、網(wǎng)站或個(gè)人轉(zhuǎn)載使用時(shí)須注明來(lái)源“中國(guó)傳動(dòng)網(wǎng)”,違反者本網(wǎng)將追究其法律責(zé)任。

本網(wǎng)轉(zhuǎn)載并注明其他來(lái)源的稿件,均來(lái)自互聯(lián)網(wǎng)或業(yè)內(nèi)投稿人士,版權(quán)屬于原版權(quán)人。轉(zhuǎn)載請(qǐng)保留稿件來(lái)源及作者,禁止擅自篡改,違者自負(fù)版權(quán)法律責(zé)任。

如涉及作品內(nèi)容、版權(quán)等問(wèn)題,請(qǐng)?jiān)谧髌钒l(fā)表之日起一周內(nèi)與本網(wǎng)聯(lián)系,否則視為放棄相關(guān)權(quán)利。

關(guān)注伺服與運(yùn)動(dòng)控制公眾號(hào)獲取更多資訊

關(guān)注直驅(qū)與傳動(dòng)公眾號(hào)獲取更多資訊

關(guān)注中國(guó)傳動(dòng)網(wǎng)公眾號(hào)獲取更多資訊

最新新聞
查看更多資訊

娓娓工業(yè)

廣州金升陽(yáng)科技有限公司

熱搜詞
  • 運(yùn)動(dòng)控制
  • 伺服系統(tǒng)
  • 機(jī)器視覺(jué)
  • 機(jī)械傳動(dòng)
  • 編碼器
  • 直驅(qū)系統(tǒng)
  • 工業(yè)電源
  • 電力電子
  • 工業(yè)互聯(lián)
  • 高壓變頻器
  • 中低壓變頻器
  • 傳感器
  • 人機(jī)界面
  • PLC
  • 電氣聯(lián)接
  • 工業(yè)機(jī)器人
  • 低壓電器
  • 機(jī)柜
回頂部
點(diǎn)贊 0
取消 0