Freescale Semiconductor User's Guide Document Number: KTUSBSPIPRGUG Rev. 1.0, 7/2010 Updating the Firmware on USB SPI Boards (KITUSBSPIEVME, KITUSBSPIDGLEVME) Figure 1. KITUSBSPIEVME and KITUSBSPIDGLEVME Boards 1 Introduction This document provides reprogramming instructions for the firmware of the MCU contained on the KITUSBSPIEVME and the KITUSBSPIDGLEVME boards. It uses the USB connector instead of the MON08 connector (typical method). Both boards can be programmed through the USB connector, if the most recent firmware is installed. The jumpers, only on the KITUSBSPIEVME board, must remain in the position used in the normal operation mode. (c) Freescale Semiconductor, Inc., 2010. All rights reserved. Instructions to Update an EVME Board with new Firmware 2 Instructions to Update an EVME Board with new Firmware CAUTION Avoid touching the MON08 pins while unplugging and plugging in the USB cable as this may cause the EVME Board to think it is connected to a MON08 source. 1. Connect the USB cable to the EVME board and the PC. 2. Test the connection by running SPIGen, clicking on Extra Pins, and selecting Data0 High and Data0 Low. The LED3 will toggle. 3. Select File and then select the Set Firmware Update Mode. Updating the Firmware on USB SPI Boards (KITUSBSPIEVME, KITUSBSPIDGLEVME), Rev. 1.0 Freescale Semiconductor 2 Instructions to Update an EVME Board with new Firmware 4. When the message box appears asking you "Are you sure you want to set the dongle to firmware update mode?", click on Yes. LED2 should go out. A) If LED2 does not go out, then the EVME is not capable of being reprogrammed using the USB port. It can only be reprogrammed using a Cyclone Pro or Multilink adapter. Contact Freescale for further details. B) If LED2 does goes out, then the EVME is capable of being reprogrammed using the USB port. 5. Click on the OK button twice to complete the procedure. 6. Exit SPIGen. CAUTION Avoid touching the MON08 pins while unplugging and plugging in the USB cable as this may cause the EVME Board to think it is connected to a MON08 source. 7. Disconnect the EVME board from the PC's USB Port. 8. Plug the EVME board back into the USB port. All LEDs on the Dongle should go off. 9. Windows should prompt you to install a driver for the device, unless you have done this procedure before and Windows already knows the proper driver to use. Updating the Firmware on USB SPI Boards (KITUSBSPIEVME, KITUSBSPIDGLEVME), Rev. 1.0 Freescale Semiconductor 3 Instructions to Update an EVME Board with new Firmware 10. If Windows prompts you for a new driver, Install the USBICP.SYS driver file found in the C:\Program Files\SPIGen\ICP Programming Application folder using the USBICP.INF file. Right click on this file and select Install or point the install wizard to it in the C:\Program Files\SPIGen\ICP Programming Application folder. 11. Run the ISPexe.exe program found in the C:\Program Files\SPIGen\ICP Programming Application folder. The following screen should appear. Browse to the C:\Program Files\SPIGen\ICP Programming folder. Updating the Firmware on USB SPI Boards (KITUSBSPIEVME, KITUSBSPIDGLEVME), Rev. 1.0 Freescale Semiconductor 4 Instructions to Update an EVME Board with new Firmware 12. When prompted, open the JW32ISP_be_7000_EBFF.IMP personality file also found in the C:\Program Files\SPIGen\ICP Programming Application folder. 13. Click on the Erase FLASH button. 14. Click OK. Updating the Firmware on USB SPI Boards (KITUSBSPIEVME, KITUSBSPIDGLEVME), Rev. 1.0 Freescale Semiconductor 5 Instructions to Update an EVME Board with new Firmware 15. Click on the Select File button and select the usb_spi_image_xx-xx-xxx.s19 (this file name may contain a date) or the usb_spi_image_mc33912 file, if you are trying to run the MC33912 EVME in the C:\Program Files\SPIGen\USB_SPI Images folder. Click on Open. 16. Click on the Program button to program the Dongle (or EVME). 17. If successful, click OK. 18. Exit the ISPexe.exe. 19. Disconnect the EVME board from the USB port and then reconnect it. The LED2 should illuminate. 20. Run SPIGen and test the EVME board as explained in step 2. Updating the Firmware on USB SPI Boards (KITUSBSPIEVME, KITUSBSPIDGLEVME), Rev. 1.0 Freescale Semiconductor 6 How to Reach Us: Home Page: www.freescale.com Web Support: http://www.freescale.com/support USA/Europe or Locations Not Listed: Freescale Semiconductor, Inc. Technical Information Center, EL516 2100 East Elliot Road Tempe, Arizona 85284 1-800-521-6274 or +1-480-768-2130 www.freescale.com/support Europe, Middle East, and Africa: Freescale Halbleiter Deutschland GmbH Technical Information Center Schatzbogen 7 81829 Muenchen, Germany +44 1296 380 456 (English) +46 8 52200080 (English) +49 89 92103 559 (German) +33 1 69 35 48 48 (French) www.freescale.com/support Japan: Freescale Semiconductor Japan Ltd. Headquarters ARCO Tower 15F 1-8-1, Shimo-Meguro, Meguro-ku, Tokyo 153-0064 Japan 0120 191014 or +81 3 5437 9125 support.japan@freescale.com Asia/Pacific: Freescale Semiconductor China Ltd. Exchange Building 23F No. 118 Jianguo Road Chaoyang District Beijing 100022 China +86 10 5879 8000 support.asia@freescale.com For Literature Requests Only: Freescale Semiconductor Literature Distribution Center P.O. Box 5405 Denver, Colorado 80217 1-800-441-2447 or +1-303-675-2140 Fax: +1-303-675-2150 LDCForFreescaleSemiconductor@hibbertgroup.com Information in this document is provided solely to enable system and software implementers to use Freescale Semiconductor products. There are no express or implied copyright licenses granted hereunder to design or fabricate any integrated circuits or integrated circuits based on the information in this document. Freescale Semiconductor reserves the right to make changes without further notice to any products herein. Freescale Semiconductor makes no warranty, representation or guarantee regarding the suitability of its products for any particular purpose, nor does Freescale Semiconductor assume any liability arising out of the application or use of any product or circuit, and specifically disclaims any and all liability, including without limitation consequential or incidental damages. "Typical" parameters that may be provided in Freescale Semiconductor data sheets and/or specifications can and do vary in different applications and actual performance may vary over time. All operating parameters, including "Typicals", must be validated for each customer application by customer's technical experts. Freescale Semiconductor does not convey any license under its patent rights nor the rights of others. Freescale Semiconductor products are not designed, intended, or authorized for use as components in systems intended for surgical implant into the body, or other applications intended to support or sustain life, or for any other application in which the failure of the Freescale Semiconductor product could create a situation where personal injury or death may occur. Should Buyer purchase or use Freescale Semiconductor products for any such unintended or unauthorized application, Buyer shall indemnify and hold Freescale Semiconductor and its officers, employees, subsidiaries, affiliates, and distributors harmless against all claims, costs, damages, and expenses, and reasonable attorney fees arising out of, directly or indirectly, any claim of personal injury or death associated with such unintended or unauthorized use, even if such claim alleges that Freescale Semiconductor was negligent regarding the design or manufacture of the part. FreescaleTM and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. (c) Freescale Semiconductor, Inc., 2010. All rights reserved. KTUSBSPIPRGUG Rev. 1.0 7/2010