atmelstudio

Atmel Studio 7.0 and its installer throw error: “Cannot find one or more components. Please reinstall the application.”

眉间皱痕 提交于 2020-06-27 10:30:12
问题 When I try to run Atmel Studio 7.0 it throws an error " Cannot find one or more components. Please reinstall the application ". This error also appears multiple times when I install Atmel Studio. How can I fix it? What I tried to do to fix this problem: I tried both offline installer and online installer. Tried to install Atmel Studio in different directories. One of these directories is on disk C(system disk, SSD), another one is on disk D(HDD). I think that this error may happen because of

Built in function clock() not working in atmel studio 7.0

↘锁芯ラ 提交于 2020-01-15 10:23:28
问题 I am working on a stopwatch project and I need to read the time that has passed while the program is running and build my time base from that. I've included the time.h library and even put the .h file in my project directory but for some reason once I use clock() function my code doesn't build correctly on this or any of my atmel 7 projects. I included a simple coded that I believe should compile, as well as the errors I get when I try and build. I suspect the problem has something to do with

Built in function clock() not working in atmel studio 7.0

孤街醉人 提交于 2020-01-15 10:23:05
问题 I am working on a stopwatch project and I need to read the time that has passed while the program is running and build my time base from that. I've included the time.h library and even put the .h file in my project directory but for some reason once I use clock() function my code doesn't build correctly on this or any of my atmel 7 projects. I included a simple coded that I believe should compile, as well as the errors I get when I try and build. I suspect the problem has something to do with

How to store constants in ROM (Atmel)

我只是一个虾纸丫 提交于 2019-12-25 18:36:43
问题 Good Day, I am writing firmware for an ATMega645A using AtmelStudio 7. I am starting a localization project and need to display messages on a 16x2 character display in 3 different languages. The existing (English messages) are stored in SRAM, but I will end up overflowing this data memory space if I have to triple the number of messages. SO, I am trying to store the messages in ROM where space is a-plenty. Problem is, Atmel app notes are either (a) wrong or (b) incomplete because I have tried

Counting without “counter” in microcontroller is Possible?

和自甴很熟 提交于 2019-12-13 04:35:40
问题 Hello friends i am new in microcontroller domain wants to know is this not possible to counts an events without using counter i mean by monitoring the pin which is connected to the the event generator.i am asking this question because presently i want to calculate the frequency of sensor i have already checked it frequency by using DSO(Digital storage oscilloscope) and it(DSO) says its frequency is 98khz but as we all now that the maximum value of an 8 bit counter is 255 then how it is

Atmelstudio UC3C AVR32 - framework objects in wrong place in memory?

泪湿孤枕 提交于 2019-12-12 04:36:18
问题 During the setup of a CAN transmission, a Pointer is being corrupted (it goes from a valid 0x00000bd0 to a 0x84520000 that is out of the bounds of my RAM). The pointer is also unrelated to the CAN activity. The reason for the corruption is, that a union64 is written over the address of the pointer. This union64 belongs to the CANIF object (from ASF), in sourcecode the corruption happens here: void CAN_SendMsg_KMS(uint64_t msg) { CANIF_mob_get_ptr_data(ACTIVECHANNEL,0)->data = (Union64)msg;

What does ((Port *)0x41004400UL) mean here?

本秂侑毒 提交于 2019-12-01 14:45:59
I'm working on a developing board that has a 32-bit ARM based microntroller on it (namely the board is Atmel SAM D21J18A). I'm still at the learning phase and I have a lot to go, but I'm really into embedded systems. I have some background in C. However, it's obviously not enough. I was looking at the codes of an example project by Atmel, and I didn't really get some parts of it. Here is one of them: #define PORT ((Port *)0x41004400UL) /**< \brief (PORT) APB Base Address */ Port is defined as: typedef struct { PortGroup Group[2]; /**< \brief Offset: 0x00 PortGroup groups [GROUPS] */ } Port;

What does ((Port *)0x41004400UL) mean here?

寵の児 提交于 2019-12-01 12:12:44
问题 I'm working on a developing board that has a 32-bit ARM based microntroller on it (namely the board is Atmel SAM D21J18A). I'm still at the learning phase and I have a lot to go, but I'm really into embedded systems. I have some background in C. However, it's obviously not enough. I was looking at the codes of an example project by Atmel, and I didn't really get some parts of it. Here is one of them: #define PORT ((Port *)0x41004400UL) /**< \brief (PORT) APB Base Address */ Port is defined as

placing static library answer in the beginning of flash section

余生长醉 提交于 2019-12-01 08:36:02
I'm using atmelstudio to compile a firmware image and want to place the functions from static libraries (including the gnu's libc.a & libgcc.a) in the beginning of the .text section followed .text belong to my project source code. Right now what happen is the other way around. This is my linker script . = ALIGN(4); _sfixed = .; KEEP(*(.vectors .vectors.*)) *(.text .text.* .gnu.linkonce.t.*) <-- my functions and functions from static libraries are within this rule *(.glue_7t) *(.glue_7) *(.rodata .rodata* .gnu.linkonce.r.*) *(.ARM.extab* .gnu.linkonce.armextab.*) The star in *(.text) , means to

placing static library answer in the beginning of flash section

独自空忆成欢 提交于 2019-12-01 06:34:25
问题 I'm using atmelstudio to compile a firmware image and want to place the functions from static libraries (including the gnu's libc.a & libgcc.a) in the beginning of the .text section followed .text belong to my project source code. Right now what happen is the other way around. This is my linker script . = ALIGN(4); _sfixed = .; KEEP(*(.vectors .vectors.*)) *(.text .text.* .gnu.linkonce.t.*) <-- my functions and functions from static libraries are within this rule *(.glue_7t) *(.glue_7) *(