You seem to have CSS turned off. Please don't fill out this field. Please provide the ad click URL, if possible:. Help Create Join Login. Operations Management. IT Management.

Author:Shaktilrajas Gardat
Language:English (Spanish)
Published (Last):14 January 2005
PDF File Size:14.65 Mb
ePub File Size:4.98 Mb
Price:Free* [*Free Regsitration Required]

You seem to have CSS turned off. Please don't fill out this field. Please provide the ad click URL, if possible:. Help Create Join Login. Operations Management. IT Management. Project Management. Resources Blog Articles Deals. Menu Help Create Join Login. Oh no! Some styles failed to load. Sign Up No, Thank you. Thanks for helping keep SourceForge clean. X You seem to have CSS turned off. Briefly describe the problem required :. Upload screenshot of ad required :.

Rath gm Unfortunately, I still can't program anything with it. Until now I tried the following: add flash bank in the openocd configuration: flash bank cfi 0x 0x 2 2 0 I'm not sure if the CFI driver is correct.

Anyway, it did not work. I also tried writing to the address with no flash bank configured which seemed to work at first. However, after device reset by pressing the reset button on the board all changes are gone and the overwritten memory region is as it was before the writing. Also, writing to the connected NAND flash doesn't work. I added a flash bank for it: flash bank cfi 0x 0x 2 2 0 I'm using the current svn version "Open On-Chip Debugger 1.

Is there any openocd documentation that is not outdated? Although I can connect to the board now, dump memory, halt and resume the cpu, programming and resetting the cpu still does not work. I would really appreciate any help that brings me forward.

The WIKI is completely outdated, but unfortunately none of the pages can be edited. What board do you use, or rather what memories does your board have? Looks like you had the internal SRAM mapped to 0x0 at that point. Check the processors user's manual for information about its internal memories and mappings. NAND flash has completely different characteristics, e. Hello Dominic, thanks for your fast answer.

Is there some more recent documentation available somewhere? I just saw that. Yep, I have to check that first, thanks for the tip. So how can I program it then with openocd? I guess openocd would need to support that controller to be able to access nand flash? It is actively being improved, though more and better patches to openocd. One advantage of openocd. If you check out an old version of openocd, you get the old openocd. I had a closer look at the at91sam datasheet.

So, is there a possibility to write to the NAND flash on my board? For this reason all I would have to do is to write to this memory region provided that the at91sam is initialized with NAND flash support.

After reading through some examples, I found out that I can actually create scripts which are executed after reset. However, the tool only runs on windows which would be kind of cumbersome for me since my whole development environment runs under linux. But if the memory controller is not initialized to support NAND flash, that won't be of much help either. How do you guys program your ARM based boards? They most possibly also have their code in NAND flash, haven't they? Unfortunately, it is very slow compared to the windows version.

You don't know a way to speed this up, do you? Btw, openocd also works just fine now so I can also do things like "reset halt".


Atmel Evaluation Kit AT91SAM9260-EK AT91SAM9260-EK Data Sheet

This is followed by a remap and a jump to the first address of the SRAM. Boot Program Algorithm Flow Diagram An easy software workaround that offers an unconditional access to the SAM-BA Boot monitor consists in adding a recovery procedure in the bootstrap sequence Figure Revision History Table Document Ref. Disclaimer: The information in this document is provided in connection with Atmel products.


Atmel AT91SAM9260



Atmel AT91SAM9260 ARM quick start


Related Articles