DSPRelated.com
Forums

AW: Bootstrap code for DSP56F803/5

Started by Bende Georg June 30, 2003
I'd rather use the same method as with mobile phones: the boot code looks on
powerup for a few ms for an external trigger "password" on the serial port to
initiate download; if the trigger doesn't arrive, it continues with normal
bootup procedure.
In this case you have to have the updater running during bootup, and the user
has to power up the device when commanded to do so. If these conditions are
acceptable, I'd use this solution.
Plus, if power fails during your copying from the serial memory you have a dead
device again - I suppose not to touch the boot code when reprogramming unless
very necessary.

Georg Bende
Softwareentwickler
Abteilung Elektronik
Dr. Fritz Faulhaber GmbH & Co KG
Daimlerstr. 23
71101 Schaich
Tel: +49 7031 638294 > -----Ursprgliche Nachricht-----
> Von: rootesracer [mailto:]
> Gesendet: Freitag, 27. Juni 2003 21:00
> An:
> Betreff: [motoroladsp] Bootstrap code for DSP56F803/5 > I have looked all over the Mot site, and really havent seen much of
> what I can use...
>
> I found an application note that is for the DSP56F85X, also
> an FAQ for doing development in CW in pure assembly. > What I have in mind is to safely update firmware on a 56F803 or 5
> so that if the serial link is disturbed during the update, that
> the system isnt dead in the water.
>
> What I proposed to myself is to place a bootstap routine into
> serial memory (not big enough to hold the whole application),
> then when commanded to do so, the application would take the bootstrap
> from the serial memory, and write it to the boot memory of the DSP.
> The DSP would be restarted, and would then allow a polled serial
> transfer of the actual application.
> After a 100% successfull transfer, the boot memory would then be
> altered to erase the bootstrap, and program in the boot section
> for the application.
>
> The bootstrap would be written in assembly, and would not use
> any interrupts to insure that the bootstrap is 100% free of
> application dependancy.
>
> Anyone seen such a thing?
>
> The target hardware is updated often and cant be shipped back
> for JTAG firmware updates.
>
> Comments or assistance would be much appreciated. > ------------------------ Yahoo! Groups Sponsor
> ---------------------~-->
> Get A Free Psychic Reading! Your Online Answer To Life's
> Important Questions.
> http://us.click.yahoo.com/Lj3uPC/Me7FAA/ySSFAA/PNArlB/TM
> --------------------------
> -------~->
>
> _____________________________________
> 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:
>
> To Post:
>
> To Leave:
>
> Archives: http://www.yahoogroups.com/group/motoroladsp
>
> More Groups: http://www.dsprelated.com/groups.php3 > ">http://docs.yahoo.com/info/terms/ >