您现在的位置:中国传动网  >  新闻首页  >  

如何升级 MAXQ的串口-JTAG 接口板的固件

2007年05月08日 16:06:00 中国传动网

摘要:该操作说明列出了在MAXQ®串口-JTAG接口板上加载固件所需步骤,串口-JTAG接口板允许编程和调试任何MAXQ处理器。Maxim 推出该接口板的升级版。本文所述的步骤允许开发者加载新固件,保留最新修改的接口板。 相关译文:http://www.chuandong.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]
声明:本文为中国传动网独家稿件。未经许可,请勿转载。

供稿:中国传动网 翻译

本文链接:http://www.chuandong.com/news/news.aspx?id=5768

中国传动网

官方微信

扫一扫,信息随手掌控

运动与控制

官方微信

扫一扫,运动与控制信息随手掌控

相关新闻

联系我们

广告联系:0755-82048561
展会合作:0755-83736589
杂志投稿:0755-82048562

网站简介|会员服务|联系方式|帮助信息|版权信息|法律声明|网站地图|友情链接|法律支持|意见反馈

版权所有 2006-2016 中国传动网(ChuanDong.com)

  • 经营许可证
    粤B2-20150019

  • 粤ICP备
    14004826号

  • 不良信息
    举报中心

  • 网络110
    报警服务

网站客服热线

0755-82949541

QQ客服

2737591964