Q & Avr Mcu Series
Q: I want to use the Mega AVR microcontroller series, which microcontroller development tools support this?
A microcontroller in the AVR Mega series has a comprehensive assessment of development tools / programming board
ATMEL’s STK500 (980 yuan / set) starting kit is suitable for the development Atmega103 chip programmed on the chip is programmed by the system (ISP) interface to complete
ATMEL’s ATICE30 applicable to real-time simulation
All the C compilers are in the ATMEL web site about third-party tool vendors listed on the page; ATMEL Corporation on its Web site: http://www.atmel.com still offers many free software that they can be used to AVR microcontroller and analog compilation procedures are free to download the software, these products can also be ATMEL authorized regional distributors and sales agents to obtain.
Q: What are the support for the initial kit AVR
A STK100, SL-AVR, SL-OKAVR, SL-AVRL support the Tiny series MCU AVR
STK200, SL-AVR, SL-OKAVR, SL-AVRL support the AVR microcontroller family is AT90S
STK300, SL-AVR, SL-OKAVR, SL-AVRL also supports the Mega103 AVR microcontroller.
STK500, SL-AVR, SL-OKAVR, SL-AVRL also supports the Mega103 AVR microcontroller
All kits include start button LED indicator RS232 communication interface I / O ports located in the PCB board through edge connector plug kit can be used STK200/300 off-line programming ISP there is a cable that can be used to program the chip on the STK300 AVR also provides the AVR application builder can be used to generate peripheral initialization code
Q: Even if I sometimes do not use the watchdog in the AVR Studio debugger software, the status bar to see “WDT reset” WDT reset message Why is that? A when the target device is running at a higher frequency of greater than 6 MHZ) when Flat Cable FPC cable from the noise signals may trigger the error detection circuit which WDT reset procedure did not affect the simulation and implementation of the reasons they will not be generated due to noise, reset noise affects only the AVR Studio software debugging information processing in this case Do not ignore this information when the next target device is running at a lower frequency of less than or equal to 4 MHZ this problem should not occur when
Q: I just got a ICE 200 emulator using different chips and different time to run diagnostic programs while the other failed when they were all normal What is the reason?
A simulator at the ICE200 the first product is a firmware problem of the monitoring program this phenomenon led to this phenomenon can be upgraded to the new version of the monitoring program to fix when using version 2.02 or higher AVRStudio AVR Studio software will read check the firmware version and check if your ICE200 this issue need to upgrade it will guide you through the upgrade process the checks only in the loaded application can be executed when running diagnostic programs will not be activated when you first try to run the diagnostic program diagnostic procedures diagnosis emulator does not check the firmware version and may fail if you happen to have diagnosed this diagnosis should not ignore the failure of the application directly to the load then you will be able to upgrade the monitoring program ICE200 come back after the upgrade to run diagnostics the correct diagnosis should be all the (now sold ICE200 note has been no such problem)
Q: How do I check my version of AVR emulator?
A simulator is connected in time to open the AVR Studio program selection menu Help-> About-> Info to get your information AT90ICEPRO emulator version 1.20 and ATmegaICE in prior versions prior to 1.11 can not be AVR Studio software detected a newer version already has and can be freely downloaded from the Atmel website.
Q: The program or microcontroller emulator does not work, and in the emulator seems to work normal What is the reason?
A stack pointer is set to the common problems of all the AVR Microcontroller with SRAM stack pointer must be set to the last address in the SRAM
In the assembly program is right to do so
ldi R16 low (RAMEND) loading the low byte of the stack pointer to the R16
out SPL R16 output this value to the stack pointer register
ldi R16 high (RAMEND) loading the stack pointer high byte to the R16
out SPH R16 if the AVR’s SRAM is less than 256 bytes will comment out this line
In the C program stack pointer is set in the startup code of attention automatically linked file (XCL file) defines the location of the stack pointer, please refer to Application Note AVR032 —- C compiler linked file “
Q: Where can I find a complete AVR instruction set?
A set of instructions on Atmel’s web site Products-> AVR 8 bit RISC-> Datasheets the following website or directly http://www. Atmel.com/atmel/products/prod200.htm page; Appendix
Leave a Comment
You must be logged in to post a comment.