11 questions
5
votes
1
answer
143
views
How to access global C variables from within standalone assembler modules with the GCC toolchain for Atmel AVR32?
I am currently developing software for the Atmel AVR32 AT32UC3C0512C. The software consists of C modules (.c files) as well as standalone assembler modules (.S files). My IDE is Microchip Studio 7.0....
0
votes
0
answers
169
views
I2C multi master mode in AVR32 board
Hi am working in Atmel studio v6.1 for AVR32 controller (AT32UC3A0512). I am working on I2C to communicate with a camera (NanoCam C1U) device. Please note that since the Camera sends out an I2C ...
1
vote
0
answers
157
views
dereferncing type-punned pointer will break strict aliasing rules
I am using AVR32 Studio studio to compile my code for AVRUC3 controller.
When I switched to Optimization level -O2(optimization more) ,this pointer warnings " dereferncing type-punned pointer ...
0
votes
1
answer
297
views
avr32-gcc: Global variable not initialized with function output
I try to initialize a global variable with the output of a function. It works as expected for gnu-gcc, but when compiled with avr32-gcc, the variable is initialized with 0. I want the variable to be ...
0
votes
1
answer
499
views
Atmel 32 bit gcc (avr32-gcc) inline assembler documentations?
I need to implement a small fragment of code in assembly for an 32 bit AVR (memory test testing RAM under the running C program, no other way to solve it), however I can't find any documentation on ...
2
votes
1
answer
131
views
AT32UC3B0512 project compiled as AT32UC3B0256 -> Consequences
I just figured out that I have compiled and programmed my AT32UC3B0512 project using the AT32UC3B0256 as target device.
My application seams to work without problems. Is that possible? What are the ...
6
votes
2
answers
8k
views
How do I change the avr32-gcc C compiler for the C++ in Atmel Studio 6 without having to create a new project?
I have been migrating an IAR project to Atmel Studio 6. It took me some time to create all the folders and getting the right structure as it is in the IAR project. Then I realized that I created a C ...
1
vote
1
answer
2k
views
AVR32/GCC Linker warning: input is not relaxable
I am trying to compile an AVR32 program with GCC 3.4.2 and getting the following linker warning:
input is not relaxable
Could someone explain what that warning means?
Linker flags: -Wl,--start-...
1
vote
5
answers
2k
views
How to interpret avr32-size output?
I have C program running on a AVR32 microcontroller (UC3C0512C).
Issuing the avr32-size -A PROGRAM.elf command generates the following output:
PROGRAM.elf :
section size addr
....
4
votes
1
answer
2k
views
How to know the final program size after compilation on avr32
I am using avr studio 5. My controller is AT32UC3A0512. I want to know my final program size which will be occupied on flash before burning the program. Please let me know how to know this?
0
votes
2
answers
405
views
Memory access exception handling with MinGW on XP
I am trying to use the MinGW GCC toolchain on XP with some vendor code from an embedded project that accesses high memory (>0xFFFF0000) which is, I believe, beyond the virtual mem address space ...