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.

problem running microsd file write program in standalone mode

Hi,

As discussed in the thread

http://e2e.ti.com/support/dsp/tms320c5000_power-efficient_dsps/f/109/p/52076/397552.aspx#397552:

I could load large bin files on the c5515 ezdsp stick and run in stand alone mode.

But I cannot do this for the program CSL_MMCSD_SdCardFSExample. This project is created as bios project and has a VC5505_CSL_BIOS_cfg.tcf file unlike other projects which has VC5505.cmd.

Other than the normal PLL configuration to 100 MHz in the program which I want to run stand alone, is there any other change needed to ba made?

Can someone please help?

 

Thanks,

Riju

 

  • Hi,

     

    During compiling, have set as ezdsp in csl_general.h file? SD port changed from C5515EVM.

    Regards,

    Hyun

  • Everything runs fine in ccs - have changed the csl_general.h log back ... that's not the issue. Issue is in running from nor_flash.

    Even after booting large bin file, I am not able to run in standalone mode. Have you tried running the CSL_MMCSD_FSExample_Out project in stand alone mode?

    If I add only PLL initialization in main program and create bin file and load to flash, my USB stick doesn't run my application nor does it connect to ccs. I have to shrt pins on the nor_flash during powering up the stick to corrupt the bad boot image, to make it connect to ccs.

     After reading the infinite forum discussions related to this topic, I guess I need to

    (1) include lpva.inc and vectors.asm files in the project from the C5515 Audio Filter project

    (2) define and call InitSystem(); ConfigPort(); and SYS_GlobalIntEnable(); functions in my main program like the C5515 Audio Filter projectand also include the register_system.h file for register definitions.

    (3) change the entry point of my program to reset_isr instead of c_init00

    (4) build the project after removing possible compilation and link errors due to register name conflict etc. due to the newly added files

    (5) create bin and load using new nor_writer.

    Am I correct in my understanding? Anyone, who has been able to succefully load and run a dsp/bios based csl project in satnd alone mode from flash, please help.

    Thanks,

    Riju