Questions tagged [avr-studio5]

Atmel® AVR Studio® 5 is the Integrated Development Environment (IDE) for developing and debugging embedded Atmel AVR® applications.

Atmel® AVR Studio® 5 is the Integrated Development Environment (IDE) for developing and debugging embedded Atmel AVR® applications. The AVR Studio 5 IDE gives you a seamless and easy-to-use environment to write, build, and debug your C/C++ and assembler code.

20 questions
4
votes
1 answer

Using autocomplete feature in AVR Studio for coding C with avr-gcc

How can I enable or disable the autocomplete feature for the IDE AVR-Studio 5 or AVR-Studio 4? Do I have to edit some installation files to do this? In the video AVR Studio 5: How to use the Editor, the man uses a supposed autocomplete feature…
Rego
  • 1,104
  • 1
  • 16
  • 39
3
votes
2 answers

Installing Visual Studio Project Templates without deleting the ProjectTemplatesCache

I'm working on an installer that needs to add several files to AVR Studio 5, an IDE developed by Atmel that is based on the Visual Studio Isolated Shell. These files include project templates for the "New Project" dialog. By experimenting, I found…
3
votes
3 answers

Why should I calibrate the oscillator in AVR programming

I'm new to AVR programming. I found a sample code on web; for a simple USART communication with PC. I have a little doubt there. The main loop starts like this; void main(){ OSCCAL_calibration(); USARTinit(); //start communicating with…
Sumudu
  • 5,705
  • 14
  • 49
  • 82
2
votes
1 answer

Can I tell gcc/ld to exclude unused modules?

I would like to know if I can tell gcc/ld to omit unused modules from being put into the output file. Suppose I have modules a.c, b.c and c.c. a.c and b.c depend on each other, one of them contains a main(), and due to whatever reasons, no parts of…
glglgl
  • 81,640
  • 11
  • 130
  • 202
2
votes
2 answers

How to add header files in Atmel Studio 6

I'm trying to go with Atmel Atudio 6. But i'm not sure how to add .h files to my project. Is that something allowed? if so, how can i add them?
Sumudu
  • 5,705
  • 14
  • 49
  • 82
1
vote
1 answer

Cannot search for online exensions because an error occured while trying to contact the server

My problem is this error "Cannot search for online exensions because an error occured while trying to contact the server" in extension manager > online extensions. I know 2 solutions from this thread Cannot connect to any online resource: Adding…
1
vote
2 answers

#define PORTX.x in Avr Studio 5 (ATmega16)

I'm writing a new and special library whith new algorithms and abilities for KS0108 GLCD Driver. I'm using ATMega16. My dot matrix GLCD dimension is 128x64. How can I use #define code to define different port pins? for example: #define…
user1163557
  • 33
  • 1
  • 4
1
vote
0 answers

ATMEL, BOOTRST and Flip 3.4.7, application does not start at boot

The tools used are: ATMEL Flip 3.4.7 and AVR Studio 5.1 A) Failing to start application at boot: A.1) I did program an application with AVR Studio 5.1, I compiled fine and I produced the "hex" file, A.2) I did use ATMEL Flip 3.4.7 to write the…
1
vote
0 answers

Atxmega128a4 supported for assembler only - AVRSudio 5.1

I have changed my micro controller in order to have more flash memory size, so then I realized that my new MCU, atxmega128a4 is supported for assembler only. It is important to note that I am using Avrsudio 5.1. Is it possible to update gcc to…
KasraM
  • 63
  • 5
1
vote
2 answers

Receive a String

How to received string in uart. I am using avr studio 5 and brays terminal like this one Same as this picture I am using baudrate of 9600. Went I try to type "abcdef", it only come out "abcf" . My code are like this ---> #include void…
OooO
  • 13
  • 1
  • 8
1
vote
1 answer

user sign in on token

Is login on the smart card implemented completely on the hardware chip Or it should be impelemented on both pkcs11 dll and smart card? and so how do they separated the chip functions for 3 type of user : user, CA, guest. EDIT: it helps me more, if…
osyan
  • 1,518
  • 21
  • 47
1
vote
4 answers

how to read atmega 32 signature row?

I tried to read signature row of atmega32 with boot_signature_byte_get(0); but i get this error : 'SIGRD' undeclared (first use in this function) and it seems that it's because of we only can read the signature with the AVRs that have SIGRD bit in…
osyan
  • 1,518
  • 21
  • 47
1
vote
1 answer

Implicit declaration of function when using set_usart_base((void *)) EVK1105 dev. board. Atmel

I've just started with the evk1105 dev.board. and i need to get printf() redirected to usart. I have the following code (edited usart example for evk1105): #include #include "compiler.h" #include "board.h" #include…
StianL
  • 45
  • 1
  • 5
0
votes
2 answers

Changing default checkbox state of a 3rd party InstallShield installer

I am writing an installer/bundle of several software packages that our customers frequently need to install. Basically it just includes several executable installers in it. For each component the user chooses, it extracts the installer to a…
David Grayson
  • 71,301
  • 23
  • 136
  • 171
0
votes
0 answers

Arduino code compiles both on Eclipse and on AVR Studio 5, but only Eclipse version is functional

I'm trying to choose an IDE for arduino development. I installed both Eclipse and AVR Studio 5. And configured them using the instruction on the Arduino site (for Eclipse) and those two tutorials (AVR Freaks, EngBlaze) for the AVR Studio. I've…
Leeron
  • 147
  • 1
  • 2
  • 11
1
2