TI E2E Community
Digital Signal Processors (DSP)
C5000 Ultra Low Power DSP
C5000 Ultra Low Power DSP Forum
Flashing in C5505 eZdsp
Can C5505 eZdsp be flashed in and can work stand alone?
Can you clarify what you mean when you say that the 'memory is corrupted'? Are you not able to write the code to the NOR flash or is it that it doesn't work stand alone once it's been written?
Please click the Verify Answer button on this post if it answers your question.
In my case 'memory corrupted' means: 1) It doesn't work stand alone once it's been written; 2) I am not able to write code to the NOR flash because CCS stops to connect to target.
Thanks for any help.
Did you check the post I have posted long back?
And a still better solution by Robert
Thanks and regards
Please take a look at the process of burning the NOR flash given in our FAQ #4 and #5 on C5000 Wiki page. If you follow this process you should be able to burn any program in the NOR flash successfully. If the program does not work stand alone after following this procedure, then it would point towards something else missing in the code itself.
I am trying to program the C5505 eZdsp to work in stand alone mode.
The size of the .bin file of the program is around 110KB. So I cannot boot this off the EEPROM. What can be done to boot the program from the usb stick?
a) Some external memory device be attached to boot the program off it?
b) the same program work with C5515 eZdsp (which has a 4MB NOR Flash) with no/minimal changes?
Thanks and Regards,
Did you succeed to flash CSL_MMCSD_SdCardFSExtExample_Out on C5515 eZDSP?
With a modified nor_writer, I can load large files to c5515 now. But the micro sd card file write example always corrupts the memory.
I have also posted the same issue at http://e2e.ti.com/support/dsp/tms320c5000_power-efficient_dsps/f/109/p/52076/397564.aspx#397564:
I have done the normal PLL configurations at the beginning of main function. The same PLL configurations are working for led.bin and that program is running stand alone perfectly. So the issue is not in PLL settings I guess.
In case you have been successful with this particular boot image, please let me know the changes that you made.
I had the same hanging problem while nor flash booting. Then I tried Anand's solution(to add PLL initialization to beginning) for EZDSP sample and uled example, they worked perfect after bootloading to nor flash. Before I tried to boot 'usb' example in TI directory, I added InitSystem() function into beginning of the code. But program stops at a point (line of command : USB_FADDR_POWER |= 0x4000; // USB D+/D- lines are enabled), indeed consistently at the same point. When I debug the code step by step, the program stops at the same point and the problem reported as:
C55xx: Can't Single Step Target Program: (Error -2130 @ 0x400) Unable to access device memory. Verify that the memory address is in valid memory. If error persists, confirm configuration, power-cycle board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 5.0.681.0) C55xx: Trouble Reading PC Register: (Error -1143 @ 0x0) Device core was hung. The debugger has forced the device to a ready state and recovered debug control, but your application's state is now corrupt. You should have limited access to memory and registers, but you may need to reset the device to debug further. (Emulation package 5.0.681.0)
Is there anyone who has an idea about that problem?
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.