DSPRelated.com
Forums

Booting from FLASH

Started by Unknown September 19, 2001
Hi. Is anyone familiar with booting an application from FLASH? I
have followed very carefully what the folks at TI have suggested.
Obviously and expectedly, it did not work. I have also tried
everything under the sun I thought was reasonable but to no avail. I
am now convinced that the so called DSP specialists at TI really know
nothing. If anyone know, I will appreciate any hints and better yet
solid detailed discussions. If anyone is interested in the same
subject but is encountering the same problem, we can work together
adn hopefully we can hack this out among ourselves.

Also if anyone is familiar with desiging a custom DSP board, any sort
of hints are appreciated. As with the above, I would be very
interested in discussing anything relating to this topic. I would
also like to work together with anyone trying to do the same thing.

Please email me at or reply with your email.

Thanks!



RE: [c6x] Booting from FLASH

I haven't tried to bootload 6x, but I did it with 54x quite successfully, with no problems of any kind. I had to read quite a lot of documentation that TI made available on the subject to figure out how to do it, but after it  "just worked".

The questions I had to answer were:
1. How to make hardware that can booload from flash (I was using serial flash)
2. How to prepare my code so it'll load and boot properly once it's in the flash.

The (1) was easy - just follow instruction in a data books/app. notes. The (2) was little bit more involved and required reading software manuals on linker, compiler and COFF converter. Once I read and understood it all, I had no problems. Now, could you be a little bit more specific on what problem you having and what you tried to do? Like what processor, what kind of flash, what you tried... In my experience, TI people usually quite helpful and they do have some knowledgeable engineers that can help you if you ask right person a right question.

Mike.

-----Original Message-----
From: a...@hotmail.com [mailto:a...@hotmail.com]
Sent: Tuesday, September 18, 2001 8:42 PM
To: c...@yahoogroups.com
Subject: [c6x] Booting from FLASH


Hi.  Is anyone familiar with booting an application from FLASH?  I
have followed very carefully what the folks at TI have suggested. 
Obviously and expectedly, it did not work.  I have also tried
everything under the sun I thought was reasonable but to no avail.  I
am now convinced that the so called DSP specialists at TI really know
nothing.  If anyone know, I will appreciate any hints and better yet
solid detailed discussions.  If anyone is interested in the same
subject but is encountering the same problem, we can work together
adn hopefully we can hack this out among ourselves.

Also if anyone is familiar with desiging a custom DSP board, any sort
of hints are appreciated.  As with the above, I would be very
interested in discussing anything relating to this topic.  I would
also like to work together with anyone trying to do the same thing.

Please email me at a...@hotmail.com or reply with your email.

Thanks!



We have a c6211 design that boots from FLASH.

The only hardware related things were to set the boot mode with pull up/down
resistors on the HPI pins and locate the FLASH on the CE1 address space.

The other trick is to make sure that the bytes are in the FLASH in the right
order. The DSP packs them to make 32bit words, our FLASH is 16bit wide and
the programmers default was to write the two bytes sequentially into the
16bit word so that when the DSP read them the byte pairs were swapped and
the instructions were garbage.

Regards
David Burkitt
T L Jones Ltd
P O Box 1151
46 B Halwyn Drive
Christchurch
New Zealand
Phone 0064 +3 349 1752
Fax 0064 +3 349 5466 -----Original Message-----
From: [mailto:]
Sent: Wednesday, 19 September 2001 12:42
To:
Subject: [c6x] Booting from FLASH Hi. Is anyone familiar with booting an application from FLASH? I
have followed very carefully what the folks at TI have suggested.
Obviously and expectedly, it did not work. I have also tried
everything under the sun I thought was reasonable but to no avail. I
am now convinced that the so called DSP specialists at TI really know
nothing. If anyone know, I will appreciate any hints and better yet
solid detailed discussions. If anyone is interested in the same
subject but is encountering the same problem, we can work together
adn hopefully we can hack this out among ourselves.

Also if anyone is familiar with desiging a custom DSP board, any sort
of hints are appreciated. As with the above, I would be very
interested in discussing anything relating to this topic. I would
also like to work together with anyone trying to do the same thing.

Please email me at or reply with your email.

Thanks!
_____________________________________
Note: If you do a simple "reply" with your email client, only the author of
this message will receive your answer. You need to do a "reply all" if you
want your answer to be distributed to the entire group.

_____________________________________
About this discussion group:

To Join: Send an email to

To Post: Send an email to

To Leave: Send an email to

Archives: http://www.yahoogroups.com/group/c6x

Other Groups: http://www.dsprelated.com ">http://docs.yahoo.com/info/terms/ **********************************************************************
The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material. If you are not the addressee, any disclosure, reproduction,
copying, distribution, or other dissemination or use of this communication is
strictly prohibited. If you have received this transmission in error please
notify the sender immediately and then delete this e-mail.

E-mail transmission cannot be guaranteed to be secure or error free as
information could be intercepted, corrupted, lost, destroyed, arrive late or
incomplete, or contain viruses.
The sender therefore does not accept liability for any errors or omissions in
the contents of this message which arise as a result of e-mail transmission.
If verification is required please request a hard copy version.
**********************************************************************


A Feynman-

Do you have the DSK C6211 schematic? The DSK C62xx boards boot from Flash.
Just follow the schematic for a starting point, and then go from there.

Asking TI pretty much does not work unless you are persistent for weeks. Your
best bet is with peers, news groups, 3rd party vendors, published reference
designs (DSK), etc. TI support knows this, so they tend to wait a bit and see
how who else helps you first ;-).

Jeff Brower
DSP sw/hw engineer
Signalogic

On Wed, 19 Sep 2001, wrote:
>Hi. Is anyone familiar with booting an application from FLASH? I
>have followed very carefully what the folks at TI have suggested.
>Obviously and expectedly, it did not work. I have also tried
>everything under the sun I thought was reasonable but to no avail. I
>am now convinced that the so called DSP specialists at TI really know
>nothing. If anyone know, I will appreciate any hints and better yet
>solid detailed discussions. If anyone is interested in the same
>subject but is encountering the same problem, we can work together
>adn hopefully we can hack this out among ourselves.
>
>Also if anyone is familiar with desiging a custom DSP board, any sort
>of hints are appreciated. As with the above, I would be very
>interested in discussing anything relating to this topic. I would
>also like to work together with anyone trying to do the same thing.
>
>Please email me at or reply with your email.
>
>Thanks!




hi,
we had also designed our DSP 54x based system on the same way, means that
DSP software will be in flash and in reset that code will be downloaded to
DSP through the mastering of one master processor(which will control many
DSPs). After that DSP will be taking out of reset. This will ensure that
after reset DSP will jump to vector table of ISR and it will start
executing.

>From your mail what I can guess that you are not able to start DSP after
downloading to the DSP. For this check the status registers for proper
initialization.

If this doesn't solve, please send the details of your problem, I will try
to debug it.

Regards
Atanu Guchhait
Research Engineer
CDOT, Govt of India
Bangalore
----- Original Message -----
From: <>
To: <>
Sent: Wednesday, September 19, 2001 6:11 AM
Subject: [c6x] Booting from FLASH > Hi. Is anyone familiar with booting an application from FLASH? I
> have followed very carefully what the folks at TI have suggested.
> Obviously and expectedly, it did not work. I have also tried
> everything under the sun I thought was reasonable but to no avail. I
> am now convinced that the so called DSP specialists at TI really know
> nothing. If anyone know, I will appreciate any hints and better yet
> solid detailed discussions. If anyone is interested in the same
> subject but is encountering the same problem, we can work together
> adn hopefully we can hack this out among ourselves.
>
> Also if anyone is familiar with desiging a custom DSP board, any sort
> of hints are appreciated. As with the above, I would be very
> interested in discussing anything relating to this topic. I would
> also like to work together with anyone trying to do the same thing.
>
> Please email me at or reply with your email.
>
> Thanks!