Sign in

username:

password:



Not a member?

Search motoroladsp



Search tips

Subscribe to motoroladsp



motoroladsp by Keywords

56303 | 563xx | 5680 | 56805 | 5680x | 56F80 | 56F800DEMO | 56F805 | 56f807 | 56F830 | ADC | Bootloader | Codec | CodeWarrior | CW5 | CW6 | Debugger | DSP56303 | DSP56303EVM | DSP563xx | DSP5680 | DSP56800 | DSP56807 | DSP56858 | DSP56858EVM | DSP56F803 | DSP56F805 | DSP56F807 | DSP56F80x | DSP56F826 | DSP56F827 | DSP56F8xx | EVM | FFT | Flash_over_jtag | GPIO | Interrupt | Interrupts | JTAG | LCD | Linker | MCF5307 | Metrowerks | Modulus | MSCAN | PCMaster | PWM | Quad | Rif | RTOS | SDK | SPI

Sponsor

Industry's highest performing at the lowest power DSPs now as low as $5.00*
Start development today!
*volume pricing for 10ku

Discussion Groups

See Also

Embedded SystemsFPGAElectronics

Discussion Groups | Freescale DSPs | AW: stand alone

Technical discussions about Freescale (Motorola) DSPs (including the DSP56000, DSP56300, DSP56600, 56800 DSPs).

  

Post a new Thread

AW: stand alone - Bende Georg - Jan 28 16:29:00 2004

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 >




______________________________
New Code Sharing Section now Live on DSPRelated.com. Learn about the Reward Program for Contributors here.



(You need to be a member of motoroladsp -- send a blank email to motoroladsp-subscribe@yahoogroups.com )

AW: stand alone - Bende Georg - Jan 28 17:31:00 2004

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
> >
> >
> >
> >
> >
>


______________________________
New Code Sharing Section now Live on DSPRelated.com. Learn about the Reward Program for Contributors here.



(You need to be a member of motoroladsp -- send a blank email to motoroladsp-subscribe@yahoogroups.com )