Super accurate short delays, SAM9XE and GCC?

Started by Dan Lyke in AT91SAM ARM9 years ago 14 replies

I'm driving some hardware with the SAM9XE that has some hard real time limits: I need to lower some pins, wait for *two microseconds* then raise...

I'm driving some hardware with the SAM9XE that has some hard real time limits: I need to lower some pins, wait for *two microseconds* then raise those pins. Any longer and I let the magic smoke out. Any shorter and the right thing fails to happen. I'm doing this on the AT91SAM9XE-EK with code that looks like: void Strobe( unsigned int bits ) { LowerPins(...); // an inline function...


Porting IAR code for GCC

Started by saiberion in AT91SAM ARM12 years ago 3 replies

Hi, currently I'm trying to port existing code for an AT91SAM7S256 written with IAR into my Eclipse environment and I have problems with...

Hi, currently I'm trying to port existing code for an AT91SAM7S256 written with IAR into my Eclipse environment and I have problems with compiling/linking. All works fine except one thing so far. The IAR Code used the Atmel Functions for setting register values (lib_AT91SAM7S256.h) and for all those inline functions I get the same 2 errors: - multiple definition of 'function' - first...


Atmel USB Framework + HID

Started by 42Bastian Schick in AT91SAM ARM12 years ago

Hi, I am fighting with the HID examples of the ATMEL USB framework and GCC on a sam9261. The mouse example works as expected, but the...

Hi, I am fighting with the HID examples of the ATMEL USB framework and GCC on a sam9261. The mouse example works as expected, but the keyboard examples cause 100% system-load on my XP when I plug it a second time. I then have to change the product id. Anyone here noticed the same or got it working ? TIA -- 42Bastian


Devision Gives Undefined Interrupt

Started by bhav...@yahoo.com in AT91SAM ARM10 years ago

Hello, I m using YAGARTO Tool to compile my code for CPU-AT91SAM7X512. This tool provide ECLIPSE as editor and GCC VERSON 4.2.1 as compiler. I...

Hello, I m using YAGARTO Tool to compile my code for CPU-AT91SAM7X512. This tool provide ECLIPSE as editor and GCC VERSON 4.2.1 as compiler. I developed one project which is consuming code memory around 265KBytes and 33KBytes of RAM. When i m runing this code it works ok. Now i add other .C & .H files. But i m not calling any function or not using any variables out of these last added files. I...


SAM7X256 and DP83848I

Started by Michael Hoffmann in AT91SAM ARM11 years ago 3 replies

Hello, I?m trying to run the FreeRTOS demo "lwIP_Demo_Rowley_ARM7" build with gcc on a selfmade board. It's based on the ATMEL AT91SAM7X-EK...

Hello, I?m trying to run the FreeRTOS demo "lwIP_Demo_Rowley_ARM7" build with gcc on a selfmade board. It's based on the ATMEL AT91SAM7X-EK schematic. The FreeRTOS is basically ok. The LEDs are blinking and I can communicate with the USB Port. Further I use the Phy (DP83848I) in state of the original PHY which use the developer of FreeRTOS. Now I can communicate with the PHY over the ...


CrossWorks and USB Mass Storage problem

Started by xtyc...@seznam.cz in AT91SAM ARM10 years ago 7 replies

Hello Everyone, I'm woking on the USB Mass Storage device for the AT91SAM7XC256. I use the CrossWorks compiler and wanted to see if anyone...

Hello Everyone, I'm woking on the USB Mass Storage device for the AT91SAM7XC256. I use the CrossWorks compiler and wanted to see if anyone else here has already converted demo aplication from the Atmel GCC USB Framework (and/or similar) for CrossWorks or if someone has their own and will share it? I lost one month of my life on it and it still isn'tworkning :-( . Thanks, Martin. Ps: I...


problems with ARM-USB-OCD JTAG

Started by Ryan in AT91SAM ARM11 years ago 5 replies

I am stepping through the "Using Open Source Tools for AT91SAM7S Cross Development" tutorial by James P. Lynch and I am getting hung up when I...

I am stepping through the "Using Open Source Tools for AT91SAM7S Cross Development" tutorial by James P. Lynch and I am getting hung up when I try to program the board. I keep getting the following error: **** Build of configuration MinGW GCC for project demo_at91sam7_blink_flash **** make -k program Flash Programming with OpenOCD... 'c:/Program Files/openocd-2007re204/bin/'openocd-ftd2...


Newbie. Problem with GNU + Eclipse

Started by chnaideur in AT91SAM ARM12 years ago 1 reply

Hi, I have benn trying all morning to set up GCC with Eclipse as described in the detailed tutorial by James P. Lynch. I followed every...

Hi, I have benn trying all morning to set up GCC with Eclipse as described in the detailed tutorial by James P. Lynch. I followed every step with much care, but when I startup Eclipse after all the installation is done and a demo bliking-LED project is started, the IDE indicates these errors: *** No rule to make target `all'. *** No rule to make target `clean'. and this warning: ...


Determine USER Stack size and others

Started by thomasschulte in AT91SAM ARM12 years ago 5 replies

Hello, I would like to know the stack usage of my program. The program sets the various stack sizes. But not the User Stack size. How can I...

Hello, I would like to know the stack usage of my program. The program sets the various stack sizes. But not the User Stack size. How can I find out a) whether the stacks stay in their area (no overrun) b) how much the SYS/USER stack is eating up? I am using GCC 4.1.1 YAGARTO. Thanks for suggestions. Thomas


make error

Started by Praveen K in AT91SAM ARM9 years ago 1 reply

Hi, I have Windows Vista 64 bit OS and I'm using Eclipse with yagarto.... I always get this error when ever I try building...

Hi, I have Windows Vista 64 bit OS and I'm using Eclipse with yagarto.... I always get this error when ever I try building an application.... **** Build of configuration Default for project HelloWorld **** make all mkdir bin mkdir obj arm-elf-gcc -g -I./at91lib/boards/at91sam9263-ek -I./at91lib/peripherals -I./at91lib/components -I./at91lib -Dat91sam9263 -D__ASSEMBLY__ -Dsdra...


Performance of AT91SAM7S64 usb port

Started by Yanjun Luo in AT91SAM ARM11 years ago 2 replies

Hi, I'm running usb-device-cdc-serial-project-1.2-at91sam7s-ek on my board, the performance is very low, far away from 1MByte/S, as datasheet...

Hi, I'm running usb-device-cdc-serial-project-1.2-at91sam7s-ek on my board, the performance is very low, far away from 1MByte/S, as datasheet said. I guess maybe problem is the code call CDCDSerialDriver_Read in main loop, and this is not running fast enough? So there are another problem, I'm using yagarto-tools, which is arm-elf-gcc and Eclipse, how can I chang Makefile or link script t...


Link problems with inline functions

Started by nickcta in AT91SAM ARM11 years ago 2 replies

I have just started to use ARM ( AT91SAM7S64/256 ) and successfully build and loaded some simple examples (leds,interrupts...). I want now to...

I have just started to use ARM ( AT91SAM7S64/256 ) and successfully build and loaded some simple examples (leds,interrupts...). I want now to recompile the USB-CDC example on my platform, Eclipse+ GCC ARM tool-chain. I have a clean compile of the *.o files, but at link phase I have a lot of "redeclaration errors" of the inline functions, which were included in more then one .c file, because ...


SAM-BA not responding with olimex sam7s256

Started by nmkr...@gmail.com in AT91SAM ARM8 years ago

I am using an Olimex sam7s256 board. I tried to get it up and running in linux (Ubuntu). I was able to successfully install GCC and binutils. I...

I am using an Olimex sam7s256 board. I tried to get it up and running in linux (Ubuntu). I was able to successfully install GCC and binutils. I installed SAM-BA for linux from the atmel site. I was able to get the USB port for connection as specified in the SAM-BA manual (.dev/ttyUSB0). But when I try to use the GUI and 'connect' there is no response. I though that there is a connection failure, s...


Re: Startup from reset

Started by Paul Curtis in AT91SAM ARM11 years ago 5 replies

Hi, > Hi, > I am using > - CrossWorks ARM GCC V1.7 B2 > - ATMEL AT91SAM7x256-EK > - FreeRTOS V4.7 > > Problem: > I've been...

Hi, > Hi, > I am using > - CrossWorks ARM GCC V1.7 B2 > - ATMEL AT91SAM7x256-EK > - FreeRTOS V4.7 > > Problem: > I've been developing an application using CrossWorks for ARM and it is > all working with no problem. > > However when I try and start the application by power cycling or > resetting the target without assistance from CrossWorks the > application does not startup. >


AT91SAM7S USB Woes

Started by Ralph Hempel in AT91SAM ARM11 years ago 47 replies

Some time back, I was looking for some help with the Atmel USB Framework 1.02 Core ad CDC application under gcc 4.1 In my project (pbLua for...

Some time back, I was looking for some help with the Atmel USB Framework 1.02 Core ad CDC application under gcc 4.1 In my project (pbLua for LEGO MINDSTORMS NXT) I am having issues with the Atmel Framework either dropping characters or overwriting its receive buffers occasionally - just enough to make it a nuisance. I can shoot characters out the USB port of the NXT to my host PC (ru...


After Devision, Cpu not executing normal code

Started by bhav...@yahoo.com in AT91SAM ARM10 years ago

Hello, I m using YAGARTO Tool to compile my code for CPU-AT91SAM7X512. This tool provide ECLIPSE as editor and GCC VERSON 4.2.1 as compiler. I...

Hello, I m using YAGARTO Tool to compile my code for CPU-AT91SAM7X512. This tool provide ECLIPSE as editor and GCC VERSON 4.2.1 as compiler. I developed one project which is consuming code memory around 265KBytes and 33KBytes of RAM. When i m runing this code it works ok. Now i add other .C & .H files. But i m not calling any function or not using any variables out of these last added files. I jus...


AT91SAM9 in EABI ?

Started by "Vellemans, Noel" in AT91SAM ARM11 years ago 3 replies

Hi all, Did someone manage to get buildroot compiled and running on the AT91SAM9260EK in "EABI format" ? + Buildroot compiles and runs fine...

Hi all, Did someone manage to get buildroot compiled and running on the AT91SAM9260EK in "EABI format" ? + Buildroot compiles and runs fine in OABI . + Buildroot in EABI, compiles but lots of things are not working.. PING fails , UDHCPC fails, INSMOD/MODPROBE fails .. etc... (kernel seems to boot). Note: using BUILDROOT 01/05/2208, gcc version 4.2.1. Regards Noel, Why would i like...


AT91SAM9261 porting linux kernel not starting

Started by rohith S in AT91SAM ARM11 years ago

thanks for ur reply hardware is at91sam9261-ek arm 9 evalution kit kernel is linux-2.6.20 and arm-linux-gcc-3.4 i tried in that way also but it...

thanks for ur reply hardware is at91sam9261-ek arm 9 evalution kit kernel is linux-2.6.20 and arm-linux-gcc-3.4 i tried in that way also but it is not starting it is showing kernel starting....... any other possibilities regards rohith  ----- Original Message ---- From: chandra shekar To: A...@yahoogroups.com Sent: Tuesday, May 6, 2008 12:27:28 PM Subject: Re: [AT91S


set up exception vectors

Started by Ewout Boks in AT91SAM ARM13 years ago 6 replies

Hi, I was wondering if anyone had seen this (AT91SAM7S256 with arm-elf-gcc): I tried to set up my exception vectors using the following...

Hi, I was wondering if anyone had seen this (AT91SAM7S256 with arm-elf-gcc): I tried to set up my exception vectors using the following way: startup: ldr pc,[pc,#0x18] // 0x00 Reset ldr pc,[pc,#0x18] // 0x04 Undefined instruction ldr pc,[pc,#0x18] // 0x08 Software Interrupt ldr pc,[pc,#0x18] // ...


WinARM plus Windows2000 plus PATH=

Started by budfrog99 in AT91SAM ARM13 years ago 2 replies

My first excursion into the Dark Side of the gcc toolset and also our first AT91SAM7S design. On a Windows98 platform, I set the PATH=...

My first excursion into the Dark Side of the gcc toolset and also our first AT91SAM7S design. On a Windows98 platform, I set the PATH= statment in c:\autoexec.bat to point to the WinARM tools and PN fires up MAKE just fine. On my main Windows2000 machine, I set the PATH= in c:\autoexec.bat and in C:\winnt\system32\autoexec.nt . PN always fails in