It does not seem that the CCS Flashtool (nand_flash_writer_AM335x.out and/or NAND_Flashing_Tool.out) for the AM335X uses the files in the nandlib folder that are part of StarterWare. Is that true or am I missing something?
I am building my own flash read/write utility for my product and would like to know which is the recommended code base (files) to start from.
As you rightly said, the nand flashing tool under /tools doesnt use nandlib which is part of StarterWare. If you are planning to write your own flasher utility, you can proceed either way, using nandlib you can write your own referring to NAND example application. Or you can modify the source code given in /tools/flash_writer/src/nand-flash-writer_AM335x. I suggest you can modify the flashing tool and create your own utility in the desired way. That would be easier.
Thanks. I got my Flash Tool working using nandlib in my boot loader. I will probabaly browse nand-flash-writer for other ideas also. In particular, when I get my product boards in 2 or 3 weeks we will have a 16-bit Micron NAND that half the blocks of the 8-bit TI EVM Micron NAND. But I think nandlib will still work --- if not I guess I will modify it.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.