Technical discussions about Freescale (Motorola) DSPs (including the DSP56000, DSP56300, DSP56600, 56800 DSPs).
|
The addresses $0000-$0003 are mirrored from the Boot Flash locations $8000-$8003, their contents are always the same. I hope this explains the phenomen. Georg Bende Softwareentwickler Abteilung Elektronik Dr. Fritz Faulhaber GmbH & Co KG Daimlerstr. 23 71101 Schönaich Tel: +49 7031 638294 > -----Ursprüngliche Nachricht----- > Von: Mariano Filippa [mailto:] > Gesendet: Mittwoch, 28. Januar 2004 17:05 > An: ; zuffpasc > Betreff: Re: [motoroladsp] stand alone > I'm using the EABI stationary and it is able to run > "standalone". I modified > the reset vectors file to have the RESET and COP, both > pointing at the main > routine, and both vectors mirrored to the BOOT section > (meaning that the > same RESET and COP vectors are copied in both P:0x0000 and P:0x8000). > > By the way, can anyone explain me how does the 5680x boots > from reset? does > it fetch the RESET/COP from 0x0000 or 0x8000 ? The user > manual is not clear > about this. I found that writing both vectors allows me to > run without the > debugger. But which one is the DSP using? > > Thanks ! > Mariano > ----- Original Message ----- > From: "zuffpasc" <> > To: <> > Sent: Wednesday, January 28, 2004 3:56 AM > Subject: [motoroladsp] stand alone > > Hello! > > Thank you for your previous answers!! Now my code is working with > > interrupts... but only with debugger because I've made a "DSP 56800 > > EABI stationery project". Therefore my program can't work in "stand > > alone mode". > > How is the best way to make my program to run alone, without > > debugger?? > > > > Is is better that I implement my code with a "SDK > stationery project" > > who allows the stand alone mode directly, but in this way, the > > implementation of interrupts is different than with a simple > > assembler vector file... (as I just succeed!! :-)) > > > > Or, is it better to modify my EABI stationery project to make it > > run "by itself" ?? > > > > Thank you in advance!! > > > > regards, > > > > Pascal > > > > > > _____________________________________ > > /groups.php3 > > > > > > > > > > > > > > _____________________________________ > /groups.php3 > |
|
|
|
They are by hardware means mirrored; please see the User's Manual chapter
3.8 (p.131). "The hardware and COP reset vectors, $0000 and $0002, are mapped into the Boot Flash at locations $8000 and $8002." The correct configuration of the vectors secures that in the case of a program flash corruption the still functional boot flash can take over the control and initiate a download operation. These two vectors are meant point to the beginning of the boot flash software which checks the PFLASH contents (by checksum, CRC or whatsoever) and if it is OK then jumps into the application; otherwise initiates a download process. What do you mean by normal and boot operation? In case you don't have any software in the boot flash, you can direct these two vectors directly to your main application. Georg Bende Softwareentwickler Abteilung Elektronik Dr. Fritz Faulhaber GmbH & Co KG Daimlerstr. 23 71101 Schönaich Tel: +49 7031 638294 > -----Ursprüngliche Nachricht----- > Von: Mariano Filippa [mailto:] > Gesendet: Mittwoch, 28. Januar 2004 18:03 > An: ; Bende Georg > Betreff: Re: [motoroladsp] stand alone > What do you mean by "are mirrored" ? Are they mirrored by > Codewarrior or is > it internal to the DSP circuitry? why is that there are two > RESET and COP > vectors? which one is used and when ? The user manual > specifies two possible > boot modes: normal and boot. But how do you enter those two > different modes? > > Thanks > Mariano > > ----- Original Message ----- > From: "Bende Georg" <> > To: "Mariano Filippa" <>; > <>; "zuffpasc" <> > Sent: Wednesday, January 28, 2004 11:29 AM > Subject: AW: [motoroladsp] stand alone > The addresses $0000-$0003 are mirrored from the Boot Flash locations > $8000-$8003, their contents are always the same. I hope this > explains the > phenomen. > > Georg Bende > Softwareentwickler > Abteilung Elektronik > Dr. Fritz Faulhaber GmbH & Co KG > Daimlerstr. 23 > 71101 Schönaich > Tel: +49 7031 638294 > > -----Ursprüngliche Nachricht----- > > Von: Mariano Filippa [mailto:] > > Gesendet: Mittwoch, 28. Januar 2004 17:05 > > An: ; zuffpasc > > Betreff: Re: [motoroladsp] stand alone > > > > > > I'm using the EABI stationary and it is able to run > > "standalone". I modified > > the reset vectors file to have the RESET and COP, both > > pointing at the main > > routine, and both vectors mirrored to the BOOT section > > (meaning that the > > same RESET and COP vectors are copied in both P:0x0000 and > P:0x8000). > > > > By the way, can anyone explain me how does the 5680x boots > > from reset? does > > it fetch the RESET/COP from 0x0000 or 0x8000 ? The user > > manual is not clear > > about this. I found that writing both vectors allows me to > > run without the > > debugger. But which one is the DSP using? > > > > Thanks ! > > Mariano > > > > > > ----- Original Message ----- > > From: "zuffpasc" <> > > To: <> > > Sent: Wednesday, January 28, 2004 3:56 AM > > Subject: [motoroladsp] stand alone > > > > > > > Hello! > > > Thank you for your previous answers!! Now my code is working with > > > interrupts... but only with debugger because I've made a > "DSP 56800 > > > EABI stationery project". Therefore my program can't work > in "stand > > > alone mode". > > > How is the best way to make my program to run alone, without > > > debugger?? > > > > > > Is is better that I implement my code with a "SDK > > stationery project" > > > who allows the stand alone mode directly, but in this way, the > > > implementation of interrupts is different than with a simple > > > assembler vector file... (as I just succeed!! :-)) > > > > > > Or, is it better to modify my EABI stationery project to make it > > > run "by itself" ?? > > > > > > Thank you in advance!! > > > > > > regards, > > > > > > Pascal > > > > > > > > > _____________________________________ > > > /groups.php3 > > > > > > > > > > > > > > > > > > > > > > > > > > > _____________________________________ > > /groups.php3 > > > > > > > > > > > |