Search for Atmel studio in Topics


Atmel AVR IDE/assembler won't run (Windows 8)

I'm trying to write some code for my AVR in assembly, but I cannot get either the Atmel studio 6.0 (with or without sp1) or AVR32 studio 2.6 to run. Studio 6.0 with the service pack states that it will work on windows 8 but consistently gives the error message "The application was unable to start correctly (0xc000007b)". AVR32 generates a Java error. This is consistent across all compatability settings and running as administrator. This is on a pretty much clean install of windows 8 pro x64, with all updates and the latest release of both 32 and 64 bit Java. All other software has installed and run without issues, including the equivalent software for microchips microcontrollers. I would appreciate any suggestions as to how to get this software to run, or any alternatives that may work. Thanks in advance for any help.

Question by The Skinnerz  


Attiny84 is not working and frezes

Hallo,i have uploaded the program for several Attiny84, some of them working perfectly and the rest are not sending any signals. i checked the Fuse sitting, it is right because i compared with the other working attiny. i tried to upload the program by Atmel studio 7 much times but it is not working. i can see from atmel studio that the program uploaded and the fuse sitting is right my experience in AVR is not really good. could i someone help methanks in Advance

Question by chabs123    |  last reply


FatFs Library

Hello everyone, I have recently been working on porting the FatFs Generic FAT File System library to an Atmega328p for use with a project I'm working on and I'm really having some issues with it.  I've tried a couple of different tutorials and walkthroughs and in the end I either get odd errors that seems will be an incredible hassle to correct, or my program compiles but the actual program won't work correctly (none of the open, write, etc functions actually work) I am writing this in Atmel Studio 6 (AVR Studio) If anyone can please help me out, or if you have ported this for the atmel mega series before and can provide your files that would be awesome Thank you

Topic by BooRan  


burning a hex using arduino isp

I had programmed attiny with arduino via arduino as isp . I was programing with atmel studio for a while and wanted to burn the hex file to a chip using arduino isp. i tried a lot but always  was unsuccessful  stk500_getsync(): not in sync: resp=0x00 popped  ny idea how to get rid of this and program it

Topic by geekrex    |  last reply


MCP2210 Questions?

"Don't believe everything you read on the internet" - Abraham Lincoln Such wise words I should have heeded.  Anyhow I have my MCP2210 wired up correctly now, the computer recognizes it, configured using the MCP2210 Utility and the GPIO pins have been tested and work through the SPI Terminal that I downloaded for another product related to this from Microchip. The question I have now is how much farther can I take this?  I started with this IC because I know (some) Arduinos use an FT232 USB to UART chip to connect USB to the Atmel chip they use.  I recall most Atmel MCUs can be programmed using SPI, so I figured I would try this out.  I also hoped this would delve into software so I could teach myself a bit about that as I am more familiar with hardware and building circuits.  If everything worked out I wanted to use these with an MCU so I could make myself custom small USB programmable boards for projects.  So would it be possible to program an ATTiny or ATMega through this using Atmel Studio 7.0?  What am I missing if it can be done?  What should I be researching next?  Anything to point me in the right direction is appreciated.  If this is not feasible, alright, what other applications would these chips as I have a few more of them?

Question by Electric Spectre1  


micro-controllers : What will I need to program them (Hardware) ?

I have a PDIP chip ATMEGA168 a 28 pin mc and I want to use it. I wanna know what will I need to use it for some very basic gadget with a very small budget.Do I need a Development board and an ISP programmer both? Or is there anything like a small usb programmer where I can just put my chip and program using avr studio.. Actually I plan to make my own programmer and any schematic will help, thanks in advance.. ** so can I make a simple dev board, i need the micro controller for some kind of a alarm triggering mechanism for the overhead water tank so I dont wanna waste a lot of money for a full fledged dev board with lcd and stuffs, so how can i make a dev board..any links will be good !!

Question by pratyush das    |  last reply


PINB register on ATtiny45 not working? Answered

I've been programming a pretty simple led driver in Atmel Studio 6 with the attiny45. The idea is that hitting a push button will advance through three different modes of the LEDs, solid, strobe, and fade. When you reach the last mode hitting the button again should reset to the first mode. For some reason the PINB register doesn't seem to be working. Here is the code: #define F_CPU 1000000 #include #include int main(void) { //  Setup PWM TCCR0A |= (1 << COM0A1) | (1 << WGM00) | (1 << WGM01); TCCR0B |= (1 << CS01); DDRB |= (1 << PB0)|(0< PORTB = 0b00010000;   //enable internal pull up int state = 2;  //initialize some variables while(1) {   //int val = PINB3;       if(PINB == 0)   //if button is pressed, increment state variable   {    _delay_ms(100);   //primitive debouncing...     state = state + 1;   }       if(state > 2){  //if we exceed the number of modes, reset state variable       state = 0;   }else   {    state = state;  //probably not necessary, but has solved problems in the past.   } while(state == 0){   //first mode just turns on LEDs at full brightness     OCR0A = 255; } while(state == 1){  //second mode strobes the LEDs     OCR0A = 255;   _delay_ms(35);   OCR0A = 0;   _delay_ms(35); } while(state == 2){    //Third mode fades LEDs      //  Fade LED on    for(i = 0; i < 255; i++)    {     //  Load new value onto OCR0A register to change duty cycle     OCR0A = i;     _delay_ms(5);    }       //  Fade LED off    for(i = 255; i >= 0; i--)    {     OCR0A = i;     _delay_ms(5);    } } } } All of the independent modes work fine, and even the state variable itself is doing what it is supposed to (I know because initializing it to different values gets me the correct mode) but for some reason the PINB register is not getting any kind of response. I am enabling the internal pull up, and then the button connects the I/0 (in this case PB4) to ground which should make the state zero and satisfy the argument of the if statement, but for some reason this is not doing anything. Any ideas? thanks in advanced!

Question by Higgs Boson    |  last reply


USnooBie

The USnooBie is a microcontroller kit that does not require any sort of AVR programmer or USB-to-serial converters to load and run compiled code. It's hardware design allows the user to develop low cost USB devices with Atmel's AVR ATmega microcontrollers. It can also be used to develop projects which are not USB devices. It is even compatible with Arduino. No AVR programmer is needed and no USB-to-serial converter is needed to bootload. The bootloader uses native USB and works with AVRDUDE. This makes USnooBie the fastest and cheapest way to get started programming AVR microcontrollers AVRDUDE is cross platform, so it works on Windows, Linux, and Macs. Make V-USB based USB devices using AVR microcontrollers, great for making keyboards, mice, joysticks, gamepads, and other neat gadgets. Of course, you can also make non-USB projects as well because USnooBie uses the same microcontroller as Arduino. Compatible with Arduino. Thin design for use with breadboards or plugs straight into a USB port. Operating voltage is selectable between 5V and 3.3V by a jumper. Protection diode and self-resetting fuse protects your computer from over voltage, reverse current, and short circuits. Buy one from Seeed Studio Instructions and Tutorials on the Official Website

Topic by frank26080115    |  last reply


I want some one to help me at making RC car controlled by wifi esp2866 and AVR atmega 32?

Greetings,iam mustafa,working right now as it technical support engineer for 3 years and 7 months .I have never made project for RC car or any project related to embedded systems as i was always scared and think that people who create these things are super smart and iam not smart enough .i always wish to work as embedded software engineer but i've never made a project in real life. i studied c programming and materials related with avr architecture and had many interviews but i fail always .At last interview, i'd failed and the interviewer asked me to do a project so that i get better .i decided to challenge myself and build an rc car .i asked a friend of mine to help me in project& i made a code using atmel studio IDE and simulator(proteus) to test my code..my code could move the dc motor right ,left and backward and forward till this moment on the simulator (proteus software) .After while i was sick and my friend was busy as he traveled abroad cause of his work.and iam very disappointed as i didn't finish my project .i get older and i want to make a shift career and work as an embedded software engineer but iam afraid that i won't achieve my dream . i hope this post will give me a hope to continue the path of achieving my dream careeri have bought this things: 4 DC motors 12 vwifi moduleH bridge moduleresistors and wires and breadboard===============================i hope that i find some one who is patient and keep an eye on me while i do the project .Thanks all

Topic by MustafaS72    |  last reply