EmbeddedRelated.com
The 2024 Embedded Online Conference

AT91SAM7X256 internal flash read write with Rowley's CrossStudio

Started by ckchan_4 in AT91SAM ARM16 years ago 12 replies

Hi guys, Anybody have done the internal flash read & write from CrossStudio project ? I've downloaded Atmel's internal flash project, but...

Hi guys, Anybody have done the internal flash read & write from CrossStudio project ? I've downloaded Atmel's internal flash project, but those are for gcc and IAR compiler.. i tried to port over to CrossStudio, but i'm stuck at setting the function to run in RAM for IAR, it's __ramfunc for gcc, it's __attribute__ ((section (".ramfunc"))) what is for CrossStudio ? Thanks fo...


problem of the sdram initial

Started by fengtao622 in AT91SAM ARM16 years ago 1 reply

i have download the code example softpack-1.4-at91sam9260-ek-web from the atmel homepage.according the at91sam9260 we should initial the pll...

i have download the code example softpack-1.4-at91sam9260-ek-web from the atmel homepage.according the at91sam9260 we should initial the pll =E3=80=81clk=E3=80=81watchdog =E3=80=81pmc and external memroies su= ch as nandflash =E3=80=81sdram. In the assembly source code that perform low-level initialization of the chip using LowLevelInit().But in the fuction LowLevelIint i only find the f...


AT91SAM7X512 flash damage during programming

Started by Paul in AT91SAM ARM16 years ago 7 replies

All, I'm looking for people who have experience with programming the flash on the new AT91SAM7X512 chips. Specifically, programming it using...

All, I'm looking for people who have experience with programming the flash on the new AT91SAM7X512 chips. Specifically, programming it using the two internal flash controllers (AT91C_MC_FCR0 and 1). I believe we are seeing a problem where using the chip to self-program results in damage to the chip that ultimately prevents any further flashing of flash plane 0. This is not happenin...


Getting error: "Could not find supported CPU core on JTAG chain"

Started by trwinok in AT91SAM ARM16 years ago 4 replies

Hello Group I'm using IAR embedded workbench and SAM-ICE with the AT91SAM7L-STK and I keep getting the error "Could not find supported CPU...

Hello Group I'm using IAR embedded workbench and SAM-ICE with the AT91SAM7L-STK and I keep getting the error "Could not find supported CPU core on JTAG chain" when I try to download and debug. jlink.exe shows the same thing. Does the SAM-ICE not support the new AT91SAM7L128??? Thanks! trwinok ------------------------------------


[at91sam7x256] Problem with connecting serial FLASH using SPI

Started by dawido85 in AT91SAM ARM16 years ago 2 replies

Hi, I'm trying to read JEDEC from my serial FLASH, but I keep getting wrong id. I tested LLB and MISO/MOSI hard loop, both get me proper data....

Hi, I'm trying to read JEDEC from my serial FLASH, but I keep getting wrong id. I tested LLB and MISO/MOSI hard loop, both get me proper data. Can somebody enlight me where I'm making mistake? This is my code: PMC_EnablePeripheral(AT91C_ID_PIOA); //turn on PIOA peripheral PIO_Configure(spi_pins, PIO_LISTSIZE(spi_pins)); //conf MISO,MOSI,SPCK,NPCS PMC_EnablePeripheral...


AT91SAM7x512

Started by bhav...@yahoo.com in AT91SAM ARM16 years ago 5 replies

I m using AT91SAM7x512. I m using YAGARTO tool to compile my code. My code is working ok. But, I have one problem is that As I add more variables...

I m using AT91SAM7x512. I m using YAGARTO tool to compile my code. My code is working ok. But, I have one problem is that As I add more variables than my code is not working. I have used RAM just around 5K to 7K. I dont know why this is happing. I m also using SAM-ICE to debugge my code. I have taken refrence from project "demo_at91sam7_blink_flash". I have loaded .OUT file to debugg my code. So, ...


SPI1 Loop Back on AT91SAM7X-EK

Started by hudson_low in AT91SAM ARM16 years ago 1 reply

Hi, Any one have Problem with SPI1? I am using my SAM7-EK to test the SPI code. I started to test the spi code with internal loop...

Hi, Any one have Problem with SPI1? I am using my SAM7-EK to test the SPI code. I started to test the spi code with internal loop back. SPI_MR =(AT91C_SPI_MSTR | AT91C_SPI_MODFDI | AT91C_SPI_LLB) and both SPI0 and SPI1 work. Then I try with external Loop Back,(MISO and MOSI short tohether with wire) And I manage to get echo back on SPI0 but NOT on SPI1 with same set of code to co...


Any one having problems with Rev B AT91SAM7S256 parts?

Started by techguy2000 in AT91SAM ARM16 years ago 4 replies

We've just had a new batch of boards built with what appears to be Rev B parts and are seeing a problem. The markings are...

We've just had a new batch of boards built with what appears to be Rev B parts and are seeing a problem. The markings are AT91SAM7S256, then AU on the next line, then B on the next line where this line was previously A. The Rev A parts have been used for some time on this and other products and have been performing well. With the Rev B parts we're seeing a problem with the SPI port...


Struct alignment problem (GCC)

Started by "ICLI, Bekir (EXT)" in AT91SAM ARM16 years ago 38 replies

Hi all, I am generating my code with GNU-ARM.. I have searched and found that the solution to this struct mis-alignment problem...

Hi all, I am generating my code with GNU-ARM.. I have searched and found that the solution to this struct mis-alignment problem is: __attribute__((__packed__)) Is there any compiler option, that would do the same for all structs I define? Or do I have to write this attribute to all of them? I found in gcc.pdf -fpack-struct Pack all structure members together without holes. Warning...


twi interface / frequency problem

Started by Bernd in AT91SAM ARM16 years ago 1 reply

Hi, I`m working with the AT91SAM9260 controller and I want to install the TWI interface. Taking a look at the examples from the atmel...

Hi, I`m working with the AT91SAM9260 controller and I want to install the TWI interface. Taking a look at the examples from the atmel homepage, I get a very strange error. When I choose a frequency higher than 8k Hz for the twi interface, the controller will only send the first startbyte. When the frequency is smaller than 8k Hz than the controller send the startbyte and the addr for...


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