Debugging an AVR Studio 5.0 Installation Failure – Part III

Yo ! everyone. Diving into the story, we are done with our most of 3rd party stuff. Now the only thing remaining is probably the Jungo USB Driver v10.2. AVR Studio 5.0 ships this by default and installs/updates itself, if it is not in the target PC/a older version exists.

  • In case if Jungo is freshly installed then there is no problems. But if you try to install AVR32 Studio or AVR Studio 4 in the same PC then the corresponding Jungo installation might prompt you that an latest version of the USB Driver exists. We can skip Jungo installation, as it is fully backward compatible (v10.2 will work for Studio 4 and AVR32 Studio).
  • In case if a former version of Jungo is already installed, then it will be updated. Please update, and you don’t have to worry about using multiple versions of Studio theoretically (Since Jungo driver is backward compatible). But it is also understood that Studio 4 and Studio 5 can’t have an active debugging session with a tool at the same time.

Once Jungo installation is done, we are are not prompted for a restart :).

Now that all the prerequisites for AVR Studio 5 are installed, it’s time to install our real piece of art. a.k.a AVR Studio 5.0. The UI Sequence is pretty straightforward. So there would not be much of complexity about “How to install”. Just go through then “Installing and Downloading” section in release notes that has the same piece of stuff i don’t want to duplicate here. Ensure enough disk space, and administrative privileges. Some of the things that the installer does other than copying files,

  • “Preparing AVR Studio 5.0 for First time Use” : This will merge all the packages and create the necessary registry information so that AVR Studio 5.0 will have some reduced overhead during first launch. This operation will be done by installer, but if this runs more than 300 seconds then it will be aborted. (Please refer to %temp%\AS5_InstallLog_<Timestamp> for details on this operation).
  • “Extracting Project templates” : All the project templates shipped with AVR Studio 5.0 are stored as zip files that will be extracted during runtime to a cache location. To speed up this operation we extract the templates to a temporary directory during installation to speed up the project wizards.
  • Similarly a lot of other stuff like creating a debugger code cache, Registering Help content with Microsoft Help viewer. All these operation’s have timeout values, so there should not be any hang in the installer theoretically

Once copying is done, then you are good to start AVRStudio 5.0. 🙂