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.

SDFlash - problem with executing code after programming with SDFlash (tms320f28335)

Other Parts Discussed in Thread: TMS320F28335

I have strange problem. I use tms320f28335. For this time I used JTAG to program this DSP. Today I have made new project in SDFlash to program this with SDFlash via SCIA. I have set proper boot mode selection which is (GPIO84 low and GPIO85-GPIO87 high) -  SCIA boot. I have created project in SDFlash and started programming. Everything works fine, erasing successfully, programing successfully and veryfing successfully. Then I changed boot from SCIA to proper (Jump to Flash mode), reset my board and nothing. It looks like processor is working but  not executing my code!. Any other observations: on xclkout pin there is 150MHz(correct frequency), so I assume that initiation of PLL worked? Also pwms works fine. But my program doesn't work, looks like didn't start. Code is not executing(I assume)

When I program my board with same code via JTAG everything works fine.  Any suggestions?

  • Piotr Ludwiniak said:
    When I program my board with same code via JTAG everything works fine.  Any suggestions?

    Piotr

    When you program via JTAG is it with SDFlash or is it with Code Composer Studio?  One of the quirks of SDFlash is it does not program anything on the data page.  So init sections like .econst need to be on the program page in the linker command file (.cmd). Code Composer Studio does not have this limitation.

    You may also want to try the codeskin programmer (c2prog).  A lot of customers have given good feedback regarding it. http://www.codeskin.com/

    Regards

    Lori

  • I program via JTAG with Code Composer Studio. I also have init sections in program page! It still doesn't work. Anyway I can program my board with same code just using c2prog and then everythink works fine.