Blips and AVR studio5 on win7 64bit

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

On a fresh install of AVR studio5 on win7 64 bit, I can not get BLIPS to find the XML data files for the devices.
I've attached screen shots of both the error and the directory that I pointed blips to.
Are these the correct XML files?
I do not have an "AVR Tools" directory anywhere on my computer.

Has anyone run into this already? I couldn't find anything already posted in the forum.

Thanks,
Aaron

Attachment(s): 

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

Hello!

BLIPS has a user screen input for giving the path name to the folder where all the XML files are stored.

Did they change the file naming scheme in Studio 5? BLIPS uses the CHIP ID obtained from the code running on the AVR to compute the file name of the XML file. You can edit the source code of the AVR code to get the naming conventions to match whatever Studio 5 is doing, if it's different.

I can't seem to see the screen grabs you posted in full res, so I can't see the error messages.

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

As OP notes the XML are now in:

C:\Program Files\Atmel\AVR Studio 5.0\devices

However note this:

E:\Program Files\Atmel\AVR Tools\Partdescriptionfiles>dir ATmega32.xml
 Volume in drive E is VBOX_windows
 Volume Serial Number is 0000-0805

 Directory of E:\Program Files\Atmel\AVR Tools\Partdescriptionfiles

25/08/2011  20:19           361,776 ATmega32.xml
               1 File(s)        361,776 bytes
               0 Dir(s)  297,306,345,472 bytes free

E:\Program Files\Atmel\AVR Tools\Partdescriptionfiles>c:

C:\Program Files\Atmel\AVR Studio 5.0\devices>dir ATmega32.xml
 Volume in drive C has no label.
 Volume Serial Number is E0DD-96FE

 Directory of C:\Program Files\Atmel\AVR Studio 5.0\devices

26/05/2011  18:02            50,710 ATmega32.xml
               1 File(s)         50,710 bytes
               0 Dir(s)  27,314,335,744 bytes free

I just picked one file (atmega32.xml) as an example. The AS4 file is 360K, the AS5 file is 50K - sounds like the internals must have changed dramatically (I haven't actually looked).

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

The error says:
DID NO FIND chip info XML file for the reported signature bytes.
XML directory path is: c:\Program Files(X86)\Atmel\AVR Studio 5.0\devices

Also, yes they did change the format and content of the XML files. I found that my laptop had studio4 installed, and thus has the files of interest.
The XML format is different inside, although the signature bytes are there, they are in a different level.

old file:


  [ADMIN:CORE:INTERRUPT_VECTOR:MEMORY:PACKAGE:POWER:PROGVOLT:LOCKBIT:FUSE:PROGRAMMING:IO_MODULE:ICE_SETTINGS]
  
    ATmega64A
    16MHz
    1
    RELEASED
    
      $1E
      $96
      $02
    
...

New file:







Aaron

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

well, I could change BLIPS for Studio 5, if there was enough interest.

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

And just why did not anyone say yes to this question? Now half a year later I can't run BLIPS as I would have hoped. I installed the latest version from avrfreaks projects and cant find the xml files.

It would have been great if the bootloader could have been used without the dependence of installing AVR studio. I was hoping of sending the program and my firmware to a friend so he could reprogram the board I have him. And hes not that into programming and stuff, and would not be using AVRStudio for anything else than running the BLIPS.

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

Quote:

And just why did not anyone say yes to this question? Now half a year later I can't run BLIPS as I would have hoped. I installed the latest version from avrfreaks projects and cant find the xml files.

But there's been a thread in the last 6 months in AS5/6 Forum about this very thing hasn't there?

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

Yes, you might be right. I just found that there is newer versions avaliable in the avrfreaks programs section. So it works now after finding the old .XML-files online and pointing at a directory with it in.

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

AgwanII wrote:
And just why did not anyone say yes to this question? Now half a year later I can't run BLIPS as I would have hoped.
Perfect. Bitch about freeware.

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

Hi,

I found the old XML files in Avr Studio 4 but it would be gread to add the old folder to download in the BLIPs page.

Thanke for this bootloader, it work good on ATmega325A with this config

#ifdef _M325ADEF_INC_	; is within the chosen include file
;==========================================================
;==================== mega128 =============================
;==========================================================
; UART baud rate setup constant- formula varies by chip type
; where this bootloader code begins, Change if this code outgrows 512 bytes
.equ	MYORG =	SECONDBOOTSTART ; NOTE! This chip doesn't support a boot memory area as small as 512Bytes; see fuses for it
.equ	UBRRLval = (clock - 8 * bootldr_baud) / (16 * bootldr_baud) ;the 8* part helps rounding
;--- device code and signature bytes for a atmega325A with bootloader
.equ 	DT  	= 0x79	; atmega bootloader
; Chip-dependent names for UART0 registers (See Table, below)
.set	BAUDL 	=UBRR0L		; baud rate low order bits
.set	UARTC	=UCSR0B		; control
.set	USTAT	=UCSR0A		; status
.set	UDATA	=UDR0		; data I/O register
.set	URXC	=RXC0		; rx char complete status bit number (data has arrived)
.set	UTXE	=UDRE0		; tx data register is empty
.set	UTXC	=TXC0		; tx complete status bit number
; values to use in configuring UART0
.set	UARTENA	=((1<<RXEN0) | (1<<TXEN0))	; enable tx,rx for uart 0 or 1 (see table)
.MACRO BOOTIDSTRING 
 	.DB "Mega325", 0	; change this 7 char string.  bootloader ID string, information-only to PC

.ENDMACRO
;=========================================================
#endif