EmbeddedRelated.com

AT91SAM9261 and NOR Flash

Started by hnwagner66 in AT91SAM ARM17 years ago 3 replies

I am using a AT91SAM9261 and external (AT49BV160D 1Mx16 NOR flash) in my target. I plan on using the flash as boot & program memory so the...

I am using a AT91SAM9261 and external (AT49BV160D 1Mx16 NOR flash) in my target. I plan on using the flash as boot & program memory so the flash /CE is connected to NCS0. I have not been able to program the flash memory. The closest I have gotten is every other word (address 0, 4, 8, 12, 16 etc) when programming with Seggers JFlash program through the JTAG port. I have been able to co...


Partially Erasing Flash

Started by Leighton Rowe in AT91SAM ARM17 years ago 5 replies

I'm currently reviewing the Embedded Flash Controller for the AT91SAM7S256. I understand that there's only one Erase Command (Erase All) that...

I'm currently reviewing the Embedded Flash Controller for the AT91SAM7S256. I understand that there's only one Erase Command (Erase All) that 'only' erases the entire flash and cancels if any of the pages were locked. Does anyone know any methods/workarounds for erasing individual pages/sectors of the flash? Many thanks, Leighton


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...


How to program flash in Rowley Crossstudio

Started by armcoder in AT91SAM ARM19 years ago 5 replies

Hi all, I'm using Rowley Crossstudio in the evaluation period. As a debug interface I use wiggler. Debugging in RAM works great, but when...

Hi all, I'm using Rowley Crossstudio in the evaluation period. As a debug interface I use wiggler. Debugging in RAM works great, but when trying to debug in Flash it pops an error, that verifier has found errors, and nothing in Flash has changed. How to program the flash correctly through the IDE and wiggler? Where to set output to .hex or hzx to use Cross


NAND FLASH on Evaluation kit AT91SAMSE-EK

Started by Jenish in AT91SAM ARM17 years ago 3 replies

Hello all, the at91sam7se-ek kit comes with nand flash from samsung..what i found from the atmel website is they give out testing software...

Hello all, the at91sam7se-ek kit comes with nand flash from samsung..what i found from the atmel website is they give out testing software for all components mounted on evaluation kit...but i did not find any software for evaluating this nand flash.. does any once have sample code for SAMSUNG NAND FLASH K9F2G08U0M Best regards jens


ask about AT91SAM7S256 flash memory

Started by michael angelo in AT91SAM ARM16 years ago 2 replies

Dear all, About AT91SAM7S256, How do I use the internal flash memory as an EEPROM data storage ? Anybody know how to read and write the flash...

Dear all, About AT91SAM7S256, How do I use the internal flash memory as an EEPROM data storage ? Anybody know how to read and write the flash memory area ? Thanks a lots for any attention Regards Fayes --------------------------------- Never miss a thing. Make Yahoo your homepage.


Memory Configuration on AT91SAM9260-EK board.

Started by yh.p...@yahoo.com in AT91SAM ARM17 years ago 3 replies

Hi, Does anyone know the reason of using SDRAM and NAND flash on 9260-EK instead of combination of parallel flash and SRAM? I am thinking to...

Hi, Does anyone know the reason of using SDRAM and NAND flash on 9260-EK instead of combination of parallel flash and SRAM? I am thinking to connect parallel flash and SRAM to the 9260's EBI interface. I believe SRAM will give better performance in terms of accessing speed. Any comments? Regards Phuah


Flash Programming

Started by rbdi...@gmail.com in AT91SAM ARM13 years ago 15 replies

Hi I am very new to microcontrollers. Now my assignment is to write a program to store data on the flash memory of the controller. I am using...

Hi I am very new to microcontrollers. Now my assignment is to write a program to store data on the flash memory of the controller. I am using AT91SAM7s128. Can any one pls send me the code. ------------------------------------


AT91SAM9260 programm Nor Flash at NCS0

Started by Bernd in AT91SAM ARM16 years ago 1 reply

Hi, I`m working with the AT91SAM9260 controller and I try to download some code by the jtag interface to the external NOR flash (connected...

Hi, I`m working with the AT91SAM9260 controller and I try to download some code by the jtag interface to the external NOR flash (connected at NCS0). When I power up the board the controller tries to read out a valid sequence from the nor flash (NCS0 is low, NWE0 is high and NRD is low (similar to a clock signal)). Therefore I think the bootloader / controller is working there should ...


IAR5.x fails to program sam7s

Started by Foltos in AT91SAM ARM15 years ago 3 replies

Hi, I am evaluation IAR 5.2 and IAR 5.3 products. Both seems to fails to program the on chip FLASH of sam7s256 and sam7s64 chips. Version...

Hi, I am evaluation IAR 5.2 and IAR 5.3 products. Both seems to fails to program the on chip FLASH of sam7s256 and sam7s64 chips. Version 5.2 hangs after a progress bar window pops up saying "Programming flash". Version 5.3 reports an error in the debug log (similar to "Flash programming failed."). The same boards work fine with IAR 4.41. Does anybody has a solution to this problem? ...


MCU flashing problem getting-started-project-at91sam9263-ek sample program

Started by mehmetrizaoz in AT91SAM ARM14 years ago 1 reply

Hi, i have an at91sam9263-ek board. i flash mcu using samba for demo programs without any problem. Which boot code should i load and...

Hi, i have an at91sam9263-ek board. i flash mcu using samba for demo programs without any problem. Which boot code should i load and also where should i load it in(NAND, NOR etc ) for getting-started-project-at91sam9263-ek demo program? There are also soamae other things i really dont understand. For example what the data flash is? is it a serial flash or internal rom? i will ...


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...


read flash with crossworks

Started by in AT91SAM ARM15 years ago 4 replies

Hi! Can someone help me how to read the content of the flash of a uC (SAM7X) back to a hex file with Crossworks? Thanks a lot. best...

Hi! Can someone help me how to read the content of the flash of a uC (SAM7X) back to a hex file with Crossworks? Thanks a lot. best regards, David ------------------------------------


Internal Flash control in AT91SAM9XE

Started by kci419 in AT91SAM ARM14 years ago 3 replies

How are you? I am sorry, my english is not so good. I am a user developing the AT91SAM device using IAR. I want to write data in internal...

How are you? I am sorry, my english is not so good. I am a user developing the AT91SAM device using IAR. I want to write data in internal flash of at91sam9xe device from host via usb communication. I am controlling using eefc module provided in at91sam9xe. When I try to write data received from host into internal flash via usb port, occur "prefetch handler" error. error location is "EFC_pe...


AT91SAM9263 is not booting with NAND Flash..........

Started by KRN in AT91SAM ARM15 years ago 7 replies

Deal All, I am using AT91SAM9263 Rev.B CPU, with NAND Boot-Strap from www.linux4sam.org. CPU will not boot with 64MB (512b page, 16k/block) ...

Deal All, I am using AT91SAM9263 Rev.B CPU, with NAND Boot-Strap from www.linux4sam.org. CPU will not boot with 64MB (512b page, 16k/block) NAND Flash (ST/Numonyx make) NAND512W3A2C, but I changed 256MB (2048b page, 64pages/block) NAND Flash (Micron make) MT29F2G08AACWP, CPU is booting well.... Can any one suggest me what may be the woring thing?? Thanks in advance. Regards, Kiran


JFFS2 prblm on AT91SAM9260EK with STMICRO NAND FLASH

Started by pudayana in AT91SAM ARM15 years ago 2 replies

Hi all, i am working on customized ATMEL at91sam9260 board with ST MICRO NAND FLASH NAND01GW3B2C(128MiB,3,8-bit,) page size :(2048 + 64...

Hi all, i am working on customized ATMEL at91sam9260 board with ST MICRO NAND FLASH NAND01GW3B2C(128MiB,3,8-bit,) page size :(2048 + 64 spare) bytes, block size (128 k + 4k spare) bytes, i am unable to mount jffs2 filesystem on nand flash , but im able to mount on samsung nand from AT91SAM9260EK BOARD, While mounting i am getting some ECC errors and mtd-> read errors. so plz sugge


Can't write to flash memory

Started by ffredrik in AT91SAM ARM17 years ago 11 replies

Hi all, I have encountered a problem when storing user data in the program flash memory. I use the normal code: mc-> MC_FCR =...

Hi all, I have encountered a problem when storing user data in the program flash memory. I use the normal code: mc-> MC_FCR = AT91C_MC_WRITE_KEY | AT91C_MC_FCMD_START_PROG | (page < < 8); Writes below 0x100000 work fine, at this address and above, the processor crashes. The problem seems to occur with various SAM7 models I have tried. Any idea? Is it a mapping issue? Thanks


how to read Flash / SDRAM size and vendor name

Started by athukuri_ashok in AT91SAM ARM11 years ago 1 reply

Hello All, I have just joined the grioup. I'm working on AT91SAM9G45 device and using IAR workbench. I would like to read Flash /...

Hello All, I have just joined the grioup. I'm working on AT91SAM9G45 device and using IAR workbench. I would like to read Flash / SDRAM "SIZE and VENDOR NAME". Is there any API or any registers to read where I can get above information ? Thanks in advance. -Ashok ------------------------------------


Interrupt not working on Eval Board...

Started by strong_arm7s in AT91SAM ARM19 years ago 6 replies

Hello, Has anybody else experienced where Interrupts are not working on the AT91SAM7S-EK eval board when one downloads a new version of...

Hello, Has anybody else experienced where Interrupts are not working on the AT91SAM7S-EK eval board when one downloads a new version of code into the flash via the JTAG and then running it under the debugger.. They are all ther ein the AIC module Interrupt Pending register. I have to power down the board, repower, burn the flash with the FREERTOS


Re: Cooperative FreeRTOS on SAM7-ex256 - Interrupts

Started by "FreeRTOS.org Info" in AT91SAM ARM17 years ago 3 replies

> Ok! I've made the changes. So this might be the problem. The=20 > interrupts are working, but the tasks do not. What should I do next? So...

> Ok! I've made the changes. So this might be the problem. The=20 > interrupts are working, but the tasks do not. What should I do next? So the tick interrupt now runs. Are you still installing other interrupts? If you have just the tick interrupt running, do the flash tasks now execute= ? Can you place a break point in the flash task to be double sure it is not running. Regards, Rich