TI E2E Community
WinCE eboot debugging through CCS4?
Is there a way that you can download eboot image through CCS4 and debug?
I am not sure what is the image format generated by wince tools and is there a tool that converts to elf?
I have used CCS for debugging uboot in elf format and looking for a similar mechanism for eboot.
Thanks and regards,
You may upload eboot.nb0 directly to the memory and manualy set the PC to the start address. I did debug the eboot in that way.
Thanks Vitaly. That was useful.
As I understand nb0 stands for Raw image format
bin is as described here: http://msdn.microsoft.com/en-us/library/ee478913(v=winembedded.60).aspx
With this method, debug symbols will not be there and I cannot see the symbol information (assembly debugging will be tough)
I saw a tool called Cvrtbin which converts to srecord.
But CCS doesnt understand srecord right? Any other way?
As I know SREC format also doesn't have symbol information. I don't know the way of source level debugging the eboot with CCS. I used an eboot.map and corresponding source.cod files for debugging. Of caurse that wasn't very convenient, but worked anyway.
It worked and thanks for your help.
As a side note: Loading eboot to external RAM and then setting the PC did not work as I feel eboot is not stand alone.
I executed the MLO/XLDR (x-loder) and then loaded and executed eboot both through CCS and then I was able to get the eboot prompt.
On linux side, uboot is independent of x-loder and I wish wince is also that way.
I could download through pserial as well, but looks like pserial flash to NAND and but i dont know if there is a way to only download and execute through RAM procedure. Any one knows?
The MLO has small size and is loaded to the internal RAM. It does all necessary initialization (SDRAM, pinmux and so on) and after that loads eboot or u-boot to the intialized SDRAM. Some SoC have internal RAM big enough for entire eboot or u-boot. I think you are talking about u-boot for that type of SoC. In the case of one step boot loade the u-boot or eboot are responcible for the SDRAM, pinmux and other intialization.
Any way, if you want to download the eboot to SDRAM through CCS w/o MLO intialization, you have to use a CCS gel file which does all of the intialization.
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.