AT91SAM9261 and NOR Flash

Started by hnwagner66 in AT91SAM ARM15 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 ARM16 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


AT91sam9xe512 - Internal Flash got erased at powerup

Started by raja_mahendra10 in AT91SAM ARM11 years ago 1 reply

Hi All We have developed a custom board based on at91sam9xe512 chip. With sam-ba2.10 I can enable internal flash access, Reading and writing...

Hi All We have developed a custom board based on at91sam9xe512 chip. With sam-ba2.10 I can enable internal flash access, Reading and writing to internal flash is also working.The problem is when I poweroff and poweron the board, the internal flash content got erased. We have checked that the ERASE pin is maintained "Low"..still internal flash got erased. Appreciate your help on this issue...


Question on Flash Timeout Problem

Started by tasbihmr in AT91SAM ARM14 years ago 2 replies

Dear All, Recently I have had a problem that when I try to load the flash on the SAM7X board with a program, I get the flash timeout error, and...

Dear All, Recently I have had a problem that when I try to load the flash on the SAM7X board with a program, I get the flash timeout error, and nothing works, I cannot even erase the flash. What do you think is this problem? Anyone out there has had such kind of problem? By the way, this happened after the last time I loaded the uTasker on the board, could this be making the problem. Also if...


AT91SAM7X512 flash damage during programming

Started by Paul in AT91SAM ARM14 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 ARM17 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


S64 doesn't want to cooperate with OpenOCD

Started by Adam Malinowski in AT91SAM ARM15 years ago 1 reply

Hi. I have clone of Amontec JTAG Key and AT91SAM7S64. When cpu flash is cleared everythig is OK. I can program the flash using OpenOCD and...

Hi. I have clone of Amontec JTAG Key and AT91SAM7S64. When cpu flash is cleared everythig is OK. I can program the flash using OpenOCD and program works fine. But starting now I can't program flash again because my program works. OpenOCD can't do anything with the CPU. It connects to it but can't do anything even can't read registers value (all are zeros). After clearing the flash everythi...


Data flash programming

Started by "ICLI, Bekir (EXT)" in AT91SAM ARM14 years ago 3 replies

Hi all, I am trying to read-write the data flash thru spi, but somehow, as it seems, I am not reading at all. I am using the atmels bootstrap...

Hi all, I am trying to read-write the data flash thru spi, but somehow, as it seems, I am not reading at all. I am using the atmels bootstrap code as the basis, there they have defined all the functionality, but I don't see it working. Is there a simple way that I can check whether my initializations are correct, I mean if I can connect to the data flash correctly? Mit freundlichem Gru? / Be...


NAND FLASH on Evaluation kit AT91SAMSE-EK

Started by Jenish in AT91SAM ARM15 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 ARM15 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.


AT91sam9260

Started by ahmad karimian in AT91SAM ARM13 years ago 1 reply

hello to All please help me every one that Know I can't program Internal Flash (ROM) for this Board .What Shoud I do ? and how can use...

hello to All please help me every one that Know I can't program Internal Flash (ROM) for this Board .What Shoud I do ? and how can use bootloader to Boot From Data Flash and Run Application Codes Becouse if My Codes will be larger than 4KB ,It can't load to SRAM For Run and I nead to DATA Flash for My Purpose Your's Expected To Help me If you Know My answer Since I Need it Tank's a ...


Memory Configuration on AT91SAM9260-EK board.

Started by yh.p...@yahoo.com in AT91SAM ARM15 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


AT91SAM9rl-ek USB mass storage example

Started by Ranjeet in AT91SAM ARM13 years ago

Hi experts, I need to use external flash as USB mass storage device and was looking for some help here. I went through the sample...

Hi experts, I need to use external flash as USB mass storage device and was looking for some help here. I went through the sample 'usb-device-massstorage-project-at91sam9rl-ek-gnu' provided with the kit. It handles USB mass storage for SDRAM and internal flash. But it does not talk about external flash. Is there any ready sample for external flash?? Also, the code has '#if defined(AT91C_B...


Flash Programming

Started by rbdi...@gmail.com in AT91SAM ARM12 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. ------------------------------------


Question on using the embedded flash memory on AT91SAM7A3

Started by Cho in AT91SAM ARM15 years ago

Hi all, I am working on a project on AT91SAM7A3 that requires a lot of storage. The first thing came into my mind is the on-chip 256Kb...

Hi all, I am working on a project on AT91SAM7A3 that requires a lot of storage. The first thing came into my mind is the on-chip 256Kb flash memory. I plan to load my program on SRAM and upload the data to the flash. I grab the 600-pages datasheet and read through the memory controller section but still have no idea how I should initialize the memory controller. Can any of you provide ...


data bus problem

Started by Bernd in AT91SAM ARM14 years ago 2 replies

Hi, I`m working with the AT91SAM9260 and the AT49BV160D nor flash memory. I`m able to read out the flash manufactor code - therefore I...

Hi, I`m working with the AT91SAM9260 and the AT49BV160D nor flash memory. I`m able to read out the flash manufactor code - therefore I have to write 0x98 at any adress within the flash. But when I try to read out the cfi code QRY - the command is 0x90 at any adress - I always get also the manufactor code. It seems that I have a problem within the databus. Which problem could ma...


AT91SAM9260 programm Nor Flash at NCS0

Started by Bernd in AT91SAM ARM14 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 ARM13 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? ...


nand flash loading

Started by ssan...@ecil.co.in in AT91SAM ARM11 years ago 1 reply

Hi all, i am using at91sam9263-ek board and developing the application using keil uv4. I am able to run the program in SDRAM. Can anyone help...

Hi all, i am using at91sam9263-ek board and developing the application using keil uv4. I am able to run the program in SDRAM. Can anyone help me telling the procedure to load same bin file to nand flash. thanks samhyd ------------------------------------


IAR breakpoint error with Branch in FLASH Debug with HJTAG

Started by naderus2000 in AT91SAM ARM15 years ago

Hello, I use IAR 4.41A with HJTAG v04.4. I can debug my code without any problem in RAM and I can program the flash and run the code but when...

Hello, I use IAR 4.41A with HJTAG v04.4. I can debug my code without any problem in RAM and I can program the flash and run the code but when I want to debug my code in FLASH the debugger stop at every branch instruction (B,BL,BLX,...) never go further. and when I press Step Into in Debug Log window I can see this error: ____________________________________________________________________...