I need to upgrade AVR Studio from 4.13 to "What ??&quot

Go To Last Post
8 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Guyzz
I'm on Studio V4.13 , but just got around to play with Xmega's :-)

I'm using XP-Pro SP3 , and think i might have to upgrade to version ??? ......
Should i get the new AVR Studio 4.18 (build 684) ?
If not ... What should i then get ??

Can i install it "over the 4.13" , i seem to remember there was a time when one had to uninstall Studio ,
but i actually think i installed my 4.13 on top of an older version.

This is my only Windows machine (besides my little MSI-WIND) , so i'd like not to FSCK up 8)

Any hints appreciated.

/Bingo

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

You just pulled the rug from under my feet when you moved forums ;-)

Anyway what I said there was just go for 4.18 as it should work well in XP-SP3 (not so good in Vista/Win7) and it has the most up to date device and programmer/debugger support.

Cliff

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Thanx Cliff :-)

And sorry about the "Forum Warp"

I'll install 4.18 on top of my 4.13.

/Bingo

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Just a little hint :-)
I just discovered that you must disconnect all USB devices related to the USB driver ... Here my USB-ISPMKII.
The USB installer was so nice , as to open a "Dos Complain Window" , where you could press C(ancel) or R(etry).

It has allready "Updated my 4.13.577" to 4.18.684.

Quite Fast :-)

Edit : Removed WindRiver , now just "USB Driver"

/Bingo

Last Edited: Tue. Nov 24, 2009 - 06:07 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

4.18 installed on my PC on top of the previous version without any problems, and is working OK. I'm using WinXP SP3.

Leon Heller G1HSM

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Bingo600 wrote:
I just discovered that you must disconnect all USB devices related to the WindRiver USB driver ... Here my USB-ISPMKII.
The USB installer was so nice , as to open a "Dos Complain Window" , where you could press C(ancel) or R(etry).

/Bingo

I don't think it is anything to do with WindRiver. Whenever the installer tries to install a Jungo USB driver it complains until you unplug your USB programmer/debugger.

It is still early days for XMega in Studio. Simulator2 has a problem with single stepping and there are anomalies when single stepping in JTAGICE2 deriving from the way clocking is handled in the XMega OCD.

You might like to try "Pin Selected" in the I/O View expansion window. It does not solve the XMega register overload problem but it helps.If Atmel fill the 4000 i/o register space they have now allocated something better will be required!!!

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Quote:

I'm using WinXP SP3.

Users of XP-SP3 seem fine. It's those of us afflicted with Vista or Win7 who have problems:

https://www.avrfreaks.net/index.p...

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Well i can report success with the new Studio 4.18 :-)
After upgrading the STK600 firmware , i ran my fist Xmega Blinky.

I searched for a STK600 blinky on this forum , but found none.

So i'll just upload this one , for the next searcher.

//****************************************************************************************
//
// STK-600 Blinky for an Xmega128a1
//
// Xmega128a1 & STK600 AppNote
// http://www.atmel.com/dyn/resources/prod_documents/doc8107.pdf
//
// I needed a quick app for testing my new setup.
// So this one just turns on led0,led1,led2..led7 .... forever
//
// ******************** NOTE !!!  **************************
// Before connecting the TQFP-100 Routingcard on the STK-600
// Make sure to connect the STK-600 , and set the voltages to 3.3volt and write them back.
//
//
// It is a rewrite from this nice page 
// http://hobbymechatronics.com/component/content/article/7-quick-start-on-avr-and-gcc
//
//
// Connect Port D via 10-pin cable to led-block.
//
// See AVR Studio -> HELP-> AVR Tools User Guide -> STK600 User Guide -> Programming -> PDI Programming
// For how to connect the 6-Pin PDI Programming cable
//
// When connecting to the STK600 programmer for the first time,
// and everything is blank & "non responsive" :-) 
// Just go to the Main Tab , and select the correct device. 
// Now read the signature , and you can "Start to breathe again"
// 
//****************************************************************************************
#include 
#include 


//Seems to be factory default speed for the internaæ RC Osc.
#define F_CPU 2000000UL  // 2 MHz


int main (void)
{
    unsigned char i,mask;

    //Initial led bitpatern
	i = 0x01;

	//Set all bits output
    PORTD.DIR=0xFF;
	
	//Output first bitpattern (all off)
    PORTD.OUT= 0xff;

    while(1)
    {
		//Delay for one second
        _delay_ms(1000);

		//STK-600 Inverts LED's  
		mask = (0xff & ~(i));

		//Output led bit
        PORTD.OUT = mask;

		//Selelct next led (bitpattern)
		i <<=1; 

		//if all bits shifted out , reinit pattern with 0x01
        if (i==0x00)
        {
            i=0x01;
        }
    }
}

/Bingo