Reply by MW Ron June 26, 20022002-06-26
Krzysztof Gruszka wrote:

> please be so kind and help me. I am newbie in CodeWarrior and I need to
> program DSP56F803 as single chip without external memory. I can't find correct
> way how to setup CW5.0 for such type of application. Can you send me some
> example?

Krzysztof,

Since you have CodeWarrior for DSP56800 R5.0, most of the work is already
done for you. In our newer stationery included in the 5.0 release we
prebuilt target settings for each different scenario regarding memory
configuration.

So, for example, when creating a new project you would do the following:

1) File --> New..
2) Select "DSP56800 EABI Stationery" and give your project a name.
3) Hit OK
4) Select "M56803"

Now, CodeWarrior will create a project for you that is tailored to the
DSP56F803. You will notice in the upper left hand corner of the project
window there should be a pull down bar for all of the different targets that
you have associated with your project associated with each different memory
configuration. The current selection is probably "external RAM (mode 3)".
However, you can click on the pull down arrow to see your other possible
selections. In your case, you will either be interested in the

"flash pxROM w/ int xRAM" (code put in PROM, constant data put in XROM,
dynamic data put in intRAM)

OR

"flash pROM xROM-to-RAM" (code put in PROM, all data put in XROM, dynamic
data copied to XRAM at runtime)

targets as these targets both do not use any external memory. You will need
to examine the linker command files for these different targets to see how
they differ (although I've summarized it above).

Now it's just a matter of you providing your own code into the project and
specifying the rest of your target settings and you should be all set.

Hope this info helps!

--
CodeWarrior, the ultimate development tools for Symbian OS
http://www.metrowerks.com/products/symbian/d4

Metrowerks, maker of CodeWarrior - "Software Starts Here"
Ron Liechty - - http://www.metrowerks.com


Reply by Krzysztof Gruszka June 26, 20022002-06-26
Hello,

please be so kind and help me. I am newbie in CodeWarrior and I need to program
DSP56F803 as single chip without external memory. I can't find correct way how
to setup CW5.0 for such type of application. Can you send me some example?

Best regards
Krzysztof Gruszka
--
.-- .''`. --.
| : :' : using |
| `. `' Debian GNU/Linux |
`-- `- ----www.debian.org----'