All Questions
Tagged with atmel-studio atmel
44 questions
0
votes
2
answers
131
views
Driving a 12 V DC pump using Atmega16 Microcontroller and a 2N2222a transistor but it is not working?
I am implementing a system using an ATmega 16, a 12V/ 0.4mA/4.8W DC water pump, a 2N2222a transistor, a 1N4001 diode, a resistor and, a 12V Power Supply. However, whenever I test the circuit with the ...
0
votes
2
answers
388
views
Atmel Studio: Compiler error when adding external SRAM
I have board wired up to use ATMega1281's Eternal Memory Interface with a BSI, BS62LV4006STIP55, 512Kx8 SDRAM connected. I am trying to do something similar to this (ATMega128), except my memory is ...
0
votes
0
answers
166
views
Program for LED blink
I am newbie in programming the microcontroller. I would like to test the micro by blinking the LED in a pin. The micro is SAMR35J18B and I am using ATMEL ICE programmer and ATMEL studio software for ...
0
votes
2
answers
310
views
Confirmation on how to check microcontroller memory capacity with Atmel Studio
When compiling code in Atmel Studio, I get the following output showing the percentage of usage for the program and data memory:
Does this output represent the total data usage in the microcontroller?...
1
vote
1
answer
188
views
Using Data Visualizer with Atmel-ICE with SPI physical interface
I am trying to output some debug strings from an ATmega328P to a terminal window on Atmel Studio using the DGI. I would like to use the 6-pin 100-mil connector of my Atmel-ICE Basic Kit, which I ...
1
vote
1
answer
419
views
ATSAME70Q21 at 1.8V -- cannot program flash memory
A recent revision of a board based on the ATSAME70Q21 (a Cortex-M7) is exhibiting problems. The previous revision of the board had been working for quite a while.
[EDIT] The exact part number as it ...
0
votes
1
answer
431
views
ASF SAMD21G18 2x timers usage
im trying to use ASF to schedule repeated tasks.
using TC4 and TC5:
in atmel start both using generic clock generator 0 (48MHz).
both are HAL:DRIVER:Timer
driver init.c is generated automatically ...
4
votes
2
answers
1k
views
Atmega168 USART RX Interrupt does not trigger [closed]
I have been trying to get the USART RX interrupt trigger working on my ATmega168A using the tutorial here (updating my registers as per the datasheet): Tutorials
I have setup the system to use a ...
1
vote
1
answer
954
views
difference between CMSIS and ASF
im trying to make c++ project using atmel asf.
the compiler have:
...
0
votes
2
answers
415
views
ATmega stopped working after changing CKDIV8 fuse
I have ATmega32U4. I connected it via SPI programmer and in Atmel Studio I have read their signature properly. It was working. Then I cleared and programmed CKDIV8 fuse. Clock was set to internal RC. ...
1
vote
1
answer
427
views
How to enable abbreviated port names in Atmel Studio?
Good day! I have been working with Atmel Studio lately and am a bit confused about notation. Thus far, when I reference a pin, I usually just use the PORTxn notation (example: PORD0). However, I ...
1
vote
2
answers
220
views
Barebone ATSAMD11D14 not responding
I wire up this schematic on my breadboard. I've verified that the 3V3 LDO is working. Atmel Studio on my Windows machine can see the Atmel ICE. The simple blink compiles fine too. However, I cannot ...
1
vote
1
answer
2k
views
What is Positive and Negative Mux input in ADC
I am trying to understand the use of Positive and Negative Mux input in ADC, I have recenlty bought Atsamd21-Xplained board from Atmel and trying to get multiple pins ADC using ASF4 and with Atmel ...
1
vote
1
answer
3k
views
Atmel Studio 7 Custom Build Tool Output
I've recently switched over to Atmel Studio 7 (AS7) for one of my AVR projects and after a bit of fiddling around have worked out how to get the "Custom Programming Tool" to correctly upload compiled ...
1
vote
1
answer
631
views
Does the Sparkfun SAMD21 Mini/Dev Breakout work with the ATMEL Studio
I'm new to the SAM product line from ATMEL. I purchased the original ATMEL Xplained board, which works nicely with the ATMEL studio for programming & debugging. I know that the Xplained board ...
-2
votes
1
answer
536
views
Which crystal do i choose in atmel studio?
I'm trying to use this 16mhz crystal with an atmega328 chip and I need to set the fuses for it in atmel studio. But I have no idea which option is the correct choice. None of them say 16mhz.
I've has ...
0
votes
0
answers
214
views
How to read the ATMEL unique ID? [duplicate]
Hi anybody know how to get ATMEL unique ID from Atmega microcontroller?
I read this question but the code in answer not work in Atmel Stadio.
Edit:
Because we produce about 1000 board per week I ...
7
votes
3
answers
19k
views
Finding the source of a Hard Fault using extended HardFault_Handler
I have been hitting some hard-faults on the firmware I have created with FreeRTOS on a SAMD21 (ARM Cortex-M0) MCU.
So I took a further action to find out the cause and eventually bumped into this ...
0
votes
1
answer
1k
views
Can't enter Programming Mode Atmel Studio
I have a custom board based on the ATmega328. I want to program it usign Atmel ICE Basic ISP interface, to make sure that I'm connected to the target I've tried to read it ID, I get the following :
...
0
votes
2
answers
1k
views
Runs with debugger but not standalone, using ATSAMD10D13 and Atmel ICE
I made a custom board with 2 ATSAMD10D13AM parts. The are 8k flash/4k sram Cortex-M0 24QFN parts. When I power the board the IC's start but then freeze (I have LED's blinking that go solid). When I ...
1
vote
0
answers
390
views
Cannot use particular pins in SAMD21 as Digital Output
I have moved to Atmel from a run I had with MSP430 series and a tad bit confused at the moment as the pin setup seems quite different.
While handling an SPI device I needed a general IO pin to ...
0
votes
1
answer
596
views
Is AT91 devices in atmel studio?
I want to make a new project with AT91SAM9260 in Atmel Studio 7 but it doesn't support the device.
My question is:
Did Atmel make a C library with this device to Atmel Studio 7? If no, what version ...
2
votes
1
answer
7k
views
Is it possible to redirect print streams to debugger in Atmel system?
Is it possible to configure stderr and/or stdout to make it such that when a printf() is ...
0
votes
1
answer
234
views
1
vote
2
answers
2k
views
AVRISP mkII can't connect with target when using an AVR on a breadboard
I'm having a problem with my AVRISP mkII. I'm trying to program a ATMEGA328P on a breadboard using AtmelStudio 7. The problem is I can not make AVRISP detect the target. Whenever I try to program the ...
1
vote
1
answer
7k
views
How can I fix Atmel Studio 7 install which is stuck on "initializing environment"? [closed]
Atmel Studio 7 Install Is Stuck
I'm attempting to install Atmel Studio 7. I've tried both the online install and the download then install option and the installer becomes stuck (shown in the image)....
0
votes
1
answer
60
views
Atmel UC3A0512 microcontroller documentation
I started using this microcontroller but I am dealing with the lack of documentation. First of all this is the datasheet. It describes registers and their usage but not a workflow. Which one to set ...
1
vote
0
answers
90
views
AT91SAM7A3 not in kit list in Atmel Studio 6.2
I am trying to use Atmel Studio 6.2 and Atmel ICE to program AT91SAM7A3, but I could not find AT91SAM7A3 in the kit list of Atmel Studio 6.2.
What should I do next if I want to load my code in ...
0
votes
1
answer
2k
views
How to configure the SPI pins(MOSI,MISO,sclk and SS) for ATMEL ATSAM3X8E?
I am using ATMEL studio 6 for programming and novice in embedded systems.At present, I have read the theory working of SPI. I understand that I have to set particular bits to one in the control ...
1
vote
1
answer
878
views
How to use the simulation in atmel-studio properly?
I wanted to start a bit µC development with the Atmel Studio 6.2, and therefore my first step was to compile a small program for simply switching a pin from HIGH to LOW and back all the time. I took ...
0
votes
1
answer
369
views
Atmega32 LCD program not working
i have recently been into atmega world after i heard it is much better than pic and it is my second tutorial about writing to LCD i wrote this program in atmel studio but it doesnt work i double ...
0
votes
1
answer
780
views
Atmega328p Circuit Blinking Circuit
So I am trying to build a standalone circuit using the Atmega 328p. After uploading the code using Atmel Studio and AVRDude I get no response from the circuit; however, when I take the Atmega and put ...
2
votes
1
answer
109
views
Signal values peaks and noise reduction
I have a stream of signal values (e.g. 10, 12, 13, 11, 15, 12,500, 10, 23, 25, 30, 200).
As you see, some noise like the values 500 and 200 exist on the stream.
How can I eliminate this noise or ...
2
votes
1
answer
3k
views
AtmelStudio 6.2 changes the ISP clock when I try to run a program
I'm having a strange problem with AtmelStudio. I took a few screenshots:
Here, atmel studio is open and I check the project settings. ISP Clock is set to 125kHz. This is good.
I also check the ...
1
vote
0
answers
567
views
Debug 2-Wire Serial Interface
How can I debug I2C in Atmel Studio (latest)?
I have enabled it as shown inside the I/0 View with TWEN and ...
0
votes
1
answer
464
views
How to check the source of reset in ATMEGA644p
I am trying to find the source of reset for ATMEGA644p, but I couldn't find the way to do it!
MCUCSR gives error in atmel studio as not declared and the datasheet also doesn't have it.
0
votes
1
answer
3k
views
How can I program Mega2560 with Atmel Studio 6.2
I have got the SainSmart Mega2560.
The problem is now: how can I program it with Atmel Studio 6.2?
I can find no way to upload code, because the controller is not in listed and with ISP I can not do ...
3
votes
1
answer
543
views
Different JTAG debug options for ATmega1281
Background:
I've inherited my first ATMEL project. It's using an ATmega128A, coded in AVR Studio 4, with the Olimex AVR-JTAG-USB debugger. I've learned how to use these tools, although I'm still ...
2
votes
1
answer
2k
views
ATmega2560 assembly pin read and compare logic problem
I apologize if my question was vague.
Program: Atmel Studio 6
I am trying to make a program that enters an loop which it will only break out of when a pin goes low.
...
2
votes
0
answers
538
views
Atmel Studio JTAG Debugger Behaviour
The qeustion:
I would like to know what is different about the way JTAG treats the "step over" and "step into" commands.
Background:
I am trying to set a GPNVM bit on a SAM3N (ARM Cortex M3) chip ...
1
vote
1
answer
263
views
AVR Dragon: Debug Frequency?
I think of buying an AVR Dragon or an AVR JTAG ICE MKIII. But before I do this, I need to know what side effects the reduced debug frequency has on an ATMEGA328P while debugging. I make heavy use of ...
7
votes
2
answers
17k
views
How different is the Arduino language than Atmel Studio language? [closed]
I see that on the official Arduino website, the reference page contains the functions and vales you would use specified to the Arduino compiler.
http://arduino.cc/en/Reference/HomePage
What would ...
3
votes
4
answers
14k
views
Atmel Studio 6 Simulator Not Showing Up
I was looking to run the simulator for an AVR controller, but when I went to set my debugging tools as outlined in this video- http://www.youtube.com/watch?v=9QlDSNeuAdY
I do not have anything show ...
4
votes
1
answer
7k
views
Using AVR Dragon with Atmel Studio 6
I have an Xmega Xplained 128A1 kit along with an AVR Dragon.
Can anyone help me with the steps to be followed for programming Xmega using Dragon using Atmel Studio 6?
I have downloaded the material ...