AVR®: Switching Between Programming and Power Options with Xplained Mini

 In this video:

  • Alternate between ISP and debugWIRE interface (toggling the power after using SPI to enable the Debug Wire Enable (DWEN) Fuse).
  • Switch to ISP from debugWIRE: While debugging, selecting 'Disable debugWIRE and close' now allows to select ISP.
  • Open the Programming dialog box in ISP mode to read the fuse settings.
  • Program the Clout Out (CKOUT) fuse to put the AVR® MCU clock out on the COUT pin.
  • Run the ATmega328P Xplained Mini at:
    • 5 V - reading a clock frequency of 16 MHz.
    • 3 V - reading a clock frequency of 8 MHz.
  • Understand speed vs. voltage of the AVR MCU from the datasheet.

Next Video:

Setting up the Data Visualizer

© 2024 Microchip Technology, Inc.
Notice: ARM and Cortex are the registered trademarks of ARM Limited in the EU and other countries.
Information contained on this site regarding device applications and the like is provided only for your convenience and may be superseded by updates. It is your responsibility to ensure that your application meets with your specifications. MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHER EXPRESS OR IMPLIED, WRITTEN OR ORAL, STATUTORY OR OTHERWISE, RELATED TO THE INFORMATION, INCLUDING BUT NOT LIMITED TO ITS CONDITION, QUALITY, PERFORMANCE, MERCHANTABILITY OR FITNESS FOR PURPOSE. Microchip disclaims all liability arising from this information and its use. Use of Microchip devices in life support and/or safety applications is entirely at the buyer's risk, and the buyer agrees to defend, indemnify and hold harmless Microchip from any and all damages, claims, suits, or expenses resulting from such use. No licenses are conveyed, implicitly or otherwise, under any Microchip intellectual property rights.