EmbeddedRelated.com
The 2024 Embedded Online Conference

SPI with PDC: can't get ISR to fire

Started by Ken Smith in AT91SAM ARM14 years ago 13 replies

I'm using AT91SAM7X256 (and 512) and am trying to use the SPI peripheral with the PDC (DMA controller for the benefit of search engines). When...

I'm using AT91SAM7X256 (and 512) and am trying to use the SPI peripheral with the PDC (DMA controller for the benefit of search engines). When a transfer is finished, I want an ISR to fire to let me know. My toolchain is ARM-ELF-GCC 4.1.1 with Newlib 1.14.0. Here is the code. The ISR never fires. Can someone tell me why? void spi1_isr(void) __attribute__((naked)); void spi1_isr(void...


[ANN] eLua (Lua for microcontrollers) 0.7 released

Started by Bogdan Marinescu in AT91SAM ARM14 years ago 5 replies

eLua is an effort to expand the presence of the Lua programming language in the embedded world, especially on MCU platforms. It is meant to be a...

eLua is an effort to expand the presence of the Lua programming language in the embedded world, especially on MCU platforms. It is meant to be a complete MCU development environment. It currently runs on a number of ARM variants, as well as Cortex and AVR32 (and i386 as a proof of concept). Version 0.7 was just released, this is the changelog: * Compiling eLua under Windows is now offici...


How to move interrupt vector from 0x0 to some offset

Started by ADNAN in AT91SAM ARM14 years ago 10 replies

Hello all, I am newbie to Arm and IAR. I have develope an application using IAR5.30 and AT91SAM7S128 which has interuupt vector starting from...

Hello all, I am newbie to Arm and IAR. I have develope an application using IAR5.30 and AT91SAM7S128 which has interuupt vector starting from 0x0 and rom starting from 0x5000 and when i load this application using jflash utitlity it is working fine. On the same configuration(address) i have devloped a bootloader application. Now i want to download first application using this bootloader app...


Restore default bootloader and kernel

Started by Balazs in AT91SAM ARM14 years ago 2 replies

Hello, I have brought a SAM9-L9260 board for my studies. When i plugged on, i got: RomBOOT > and hanged. I wanted to reprogram the...

Hello, I have brought a SAM9-L9260 board for my studies. When i plugged on, i got: RomBOOT > and hanged. I wanted to reprogram the Flash, according to the docs on the Olimex CD, i run at91sam9260_demo_linux_dataflash.bat but with errors: -I- Waiting ... connection : \usb\ARM0 board : AT91SAM9260-EK target(handle) : 17516640 read chip ID : 0x00000010 at addr: 0xFFFFEE40 read c


Sample code for secondary boot from MMC/SD

Started by Greg Nelson in AT91SAM ARM14 years ago 1 reply

I'm surprised that I can't find this out there, but so far nothing has turned up. The AT91 bootstrap sample application (Bootstrap-v1.14)...

I'm surprised that I can't find this out there, but so far nothing has turned up. The AT91 bootstrap sample application (Bootstrap-v1.14) covers NAND/NOR/DATAFlash but does not seem to address booting from MMC/SD card. I'm working with the AT91SAM9RL64-EK, which is supposed to be able to do this. I understand that if I have a secondary bootloader, call it boot.bin, and put it in the ro...


SPI programing on at91sam9263

Started by denn...@yahoo.com in AT91SAM ARM14 years ago 10 replies

Does anyone have any examples of programing the SPI at91sam? Dennis Kerrisk ------------------------------------

Does anyone have any examples of programing the SPI at91sam? Dennis Kerrisk ------------------------------------


Source code for the Romboot

Started by John Hou in AT91SAM ARM14 years ago 3 replies

All, I am new to AT91SAM9263. Right now I have an AT91SAM9263-EK. I tried to understand the boot process of the board. Does any one know what...

All, I am new to AT91SAM9263. Right now I have an AT91SAM9263-EK. I tried to understand the boot process of the board. Does any one know what are the codes in the ROM, I meant the romboot codes? I read the?Boot Program Algorithm Flow Diagramin the the datasheet. I would like to see the source codes. Thanks, John


Problem with CPU Data cache

Started by Viru...@Lntemsys.com in AT91SAM ARM14 years ago 1 reply

I am using at91sam9g20 with 2.6.27 linux kernel and having problem in booting the kernel on one of the board. I have analysed the arm register...

I am using at91sam9g20 with 2.6.27 linux kernel and having problem in booting the kernel on one of the board. I have analysed the arm register configuration and have seen by disabling the data cache in the kernel at the below locations, the kernel works fine on the bad board. 1) The "arch/arm/boot/compressed/head.S" which is used for decompressing the kernel and here i have changed the...


Linux sam9263: How to read a button?

Started by Thomas in AT91SAM ARM14 years ago 3 replies

Hi this should be trivial - but still too much for me. Pls, can anyone provide directions what to do? I want to read any kind of buttons...

Hi this should be trivial - but still too much for me. Pls, can anyone provide directions what to do? I want to read any kind of buttons like DIP switch etc. Linux does not allow to access the ports directly ("segmentation fault"). So it needs to be done with linux drivers. I am sure something is done in linux 2.6.30-at91-exp.patch Suggestions welcome! Thanks indeed. Thoma...


Ethernet PHY Interface KS8721 with SAM9260 - Urgent Query

Started by anil sh in AT91SAM ARM14 years ago 2 replies

Hi Everybody, I am using Olimex board, need to write the driver for interfacing AT91SAM9260 with KS8721BL PHY chip. Now i doing a simple...

Hi Everybody, I am using Olimex board, need to write the driver for interfacing AT91SAM9260 with KS8721BL PHY chip. Now i doing a simple basic emac project from IAR to interface EMAC with Micrel PHY. I am beginner with ethernet as well as driver concepts. In Micrel KS8721BL datasheet, not clearly mentioned about the power on reset pins configuration. or given less details about working a...


Ask a Question to the EmbeddedRelated community

To significantly increase your chances of receiving answers, please make sure to:

  1. Use a meaningful title
  2. Express your question clearly and well
  3. Do not use this forum to promote your product, service or business
  4. Write in clear, grammatical, correctly-spelled language
  5. Do not post content that violates a copyright


The 2024 Embedded Online Conference