Reg-AT91SAM7A3

Started by sree...@yahoo.co.in in AT91SAM ARM11 years ago 1 reply

Hello every one, I am using At91SAM7A3 for one of my development projects,i actually have a requirement of programming FLASH for upgrading...

Hello every one, I am using At91SAM7A3 for one of my development projects,i actually have a requirement of programming FLASH for upgrading firware,i have written some flash routines to program flash based on the Flash Page,now my flash program routines are in first 2 Flash pages,can i program other flash pages using the Flash routines in the first 2 flash pages(i.e code running from flash and p...


Trying to run from flash on my PCB...

Started by strong_arm7s in AT91SAM ARM13 years ago 2 replies

I am able to run my code from flash on the eval board, but now I am trying to run it from Flash. With the debugger, i do the initreset,...

I am able to run my code from flash on the eval board, but now I am trying to run it from Flash. With the debugger, i do the initreset, then it come back on undefined instruction and the following JTAG error. Breakpoint at 0000 overlaps curretn PC address. I am using the standard basic flash supplied source code that has a FLASH mode option, so it


programing flash from flash?

Started by Brad Parker in AT91SAM ARM12 years ago 1 reply

This might be a dumb question, but it seems you can not program flash while running from flash. Is this true? Is the solution to copy...

This might be a dumb question, but it seems you can not program flash while running from flash. Is this true? Is the solution to copy some code to ram and jump into to ram during the programming? I wrote a simple bootloaders and it seems to fail when running out of flash, trying to write blocks which are distinct from the blocks it is r


AT91SAM9261 and NOR Flash

Started by hnwagner66 in AT91SAM ARM10 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...


Writing to flash from application

Started by Mike Wolfram in AT91SAM ARM13 years ago

Hi, I need to write to flash from my application, so I have made the required functions to execute in RAM and I also disabled the...

Hi, I need to write to flash from my application, so I have made the required functions to execute in RAM and I also disabled the interrupts before trying to write to flash. My code is according to the BasicFlash samples for the IAR, but I use GCC. Well, everytime I want to write something to flash the system hangs. I could track it down t


Partially Erasing Flash

Started by Leighton Rowe in AT91SAM ARM11 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 ARM6 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...


Embedded Flash Controller

Started by Jenish in AT91SAM ARM11 years ago 2 replies

Dear All, I am new to using embedded flash..especially one given on the AT91SAM7SE512 To program the embedded flash I use the following...

Dear All, I am new to using embedded flash..especially one given on the AT91SAM7SE512 To program the embedded flash I use the following code..please inform if I am wrong somewhere CODE: FLASH_PAGE_SIZE 64 // 64 words per page p = (unsigned int *) ((pagenum * FLASH_PAGE_SIZE) + 0x00140000);//since i am gonna start with bank 2 of flash. while(!( AT91C_BASE_MC-> MC1_FSR & AT91C_


Question on Flash Timeout Problem

Started by tasbihmr in AT91SAM ARM9 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 ARM9 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 ARM12 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 ARM10 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 ARM10 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 ARM11 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 ARM10 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.


flash program problem.

Started by soma...@maniindiatech.com in AT91SAM ARM11 years ago

hi i downloaded mass storage program from at91 web.i selected one common workface program for flash memory interfacing.i couldn't identify...

hi i downloaded mass storage program from at91 web.i selected one common workface program for flash memory interfacing.i couldn't identify this program for internal flash memory or external memory.but that downloaded folder have one nandflash memory interfacing program.i compiled this nand flash program but one error'bfsa_nandflash.h coold not found'.any one have solution to solve this error.p...


AT91sam9260

Started by ahmad karimian in AT91SAM ARM8 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 ARM10 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 ARM9 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 ARM7 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. ------------------------------------