Re: Basic question: how to flash omap system with ccs?

Olav Kongas
2005-11-27T21:55:09Z

On Sun, 27 Nov 2005, Li Weichen wrote:

> Hi all,
>
> I have an TI XDS560 emulator and CCS 3.1 by hand. Can I load the
> bootloader, kernel and file system with them? I have never used CCS before,
> so I eagerly hope someone could show me the steps or where I can find the
> answer.

I'm right now working on the same problem. I'm using XDS510
if that matters. The aim is to transfer u-boot to omap5912's
SRAM and then burn it into the virgin onboard flash of our
custom board. I plan to transfer kernel and the rest later
when already booted up from u-boot.

Initially I started to modify u-boot so that it could run in
SRAM, with jtag connected, so that I could use u-boot
functionality to burn itself into flash. However, it turned
out more and more changes to u-boot were needed so I decided
to whip up a little custom flash programmer for that.

The scheme is the following: the u-boot image will be
appended to the flash programmer image, the result will be
converted to the TI's COFF format and transferred from CCS
over jtag to omap's SRAM, where the programmer will be
started.

I have CCS and jtag emulator working. I really recommend to
carefully read the instructions at Spectrum Digital's
webpage on how to set it all correctly up. I have written a
little COFF header generator to convert raw images into TI's
COFF; that's the format the CCS agrees to load over jtag. If
you want the tool just let me know. Currently I am working
on the flash programmer.

Olav