This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Nand Flash with .out using nandWriter

Using EVM C6474L and CCS v4.2.

Application built and runs correctly within CCS. Transferred .out file to EVM using nandWriter application provided as per guide in SPRUGX3.

Application does not run. Imported and built oob Demo and transferred .out using nandWriter to verify procedure. The oob Demo was transferred and works.

My app was build using default project and lnk.cmd. Is this the area that needs changes and if so what changes are needed?

Any help/pointers appreciated.

  • One thing I doubt is DDR usage. Are you using any data section in DDR. The DDR is not initialized by boot process, so you need to do that.

     

    Thanks,

    Arun.

  • Arun,

    Thanks for the post.

    Not using DDR, all is set for L2. I had another post regarding EMAC boot and got a reply pointing me to a the following link,

    http://processors.wiki.ti.com/index.php/BIOS_MCSDK_1.0_User_Guide

    This link provides more info than found in SPRUGX3. In the mean time, I ran CCS debug session (non project) and found that some registers were altered by my code. The app is fairly simple, it uses McBSP, Timers and EDMA. The main app configures the system and provides ISR's to handle EMAC transfer of data. The problem is, no EMAC messages were being sent.

    I added a few lines of code from the LED example in the above link with the intent of using them for indications for what was going on at run time. Oddly, when I transferred the resulting .out to the EVM, Everything works including EMAC messages. Only down side is I'm not sure how those minor changes fixed the initial problem.

     

    Fred

  • That is interesting. Only thing that happens by adding the code is the section would have moved. Can you comment the code for LED again and try?

     

    Thanks,

    Arun.

  • Arun,

    This EVM is working and much needed for a demo for a project sponsor. I will be transferring the app to a different EVM tomorrow. If that works, I will do as you indicted and let you know the results. If not, I have this EVM as a backup.  Either way, I'll have a different EVM tomorrow and will try to repeat the problem. I  always learn more from those things that go wrong than things that go right.

    Fred