Forums

Re: Pre installed boot loader question

Started by Pete Becher March 29, 2005

Hello Minesh,

Yes the bootloader is pre-installed in all new processors. If you
were using CW to run in Flash debug mode it does remove the
bootloader for some reason. Just do as Michael suggested and reload
the bootloader into that processor. I don't think that Michael was
recommending that you always reload the bootloader into new
processors to "be safe" because it would be an awful waste of time.

Pete

--- In motoroladsp@moto..., "Michael W. Mann"
<Michael.W.Mann@F...> wrote:
>
> --- In motoroladsp@moto..., "drmpatel493" <mpatel@t...>
wrote:
> >
> >
> > Hello All,
> >
> > I have a F805. There is supposed to be a bootloader pre-installed
> on
> > the FLASH. We are not using an EVM but a custom built board with
> > purchased DSP chips. I hooked up a digital analyzer to the SCI0
TX
> > pins to see some message information to come out on reset.
Nothing.
> I
> > brought up my CW to check the address and at the rest vector
> address
> > (0x0000), it has a jump to 0x80 which is the address of my
> > application program. So every time I reset, it goes straight to
my
> > application. Now I looked at 0x8000 where I thought my boot
loader
> > was pre stored and there I found all 0xFFFFs.
> >
> > My only assumption is that the bootloader was never installed in
> > FLASH. Does anyone know if the manufacturer always loads the boot
> > flash?
> >
> > Are there some configurations that I have to do in my CW project
> that
> > affects the bootloader process? Or pushes the start address of my
> > application to the reset vector jump address?
> >
> > Thanks
> >
> > Minesh
>
> To be safe, I recommend you simply reprogram the device with a new
> copy of the bootloader. This requires that you use a command
> converter (a.k.a. a wiggler) hooked up to the JTAG port of the
> device. You simply load the project into CodeWarrior and program
the
> device again.
>
> Once you have the bootloader loaded, you can't directly program the
> device again. You use CodeWarrior to generate a S record file
which
> is then downloaded over an RS232 link to the device's SCI port.
>
> You can always debug the application directly on the device using
> CodeWarrior, and, once satisfied, program the Bootloader and load
the
> application using the bootloader.



Use
asm("nop;nop;nop;");

At 04:30 AM 3/29/2005, nupur agarwal wrote:
>hi all
>I am working on ADSP21061 .I am a new user of VDSP.I have written my
>program in simple \\\'c\\\' language without any reference to the segments etc.
>
>I want to add 3 nop instruction at the end of program.
>
>1. So do I need to call an assembly routien for these 3 nops in my C
>program?If yes then how?
>
>2.Should I call that routien at the end of main() or after all my function
>definitions(i.e. subroutien definitions) are complete(which are outside
>the main)?
>
>3.Where should i declare functions in the C program..in pm segment or dm
>segment and within main or outside main.
>
>4. I also tried to modify the ldf file created by expert linker but while
>compiling it gave error.I followed the prcedure given in the E-132 and
>EE69 notes .
>
>5.Is it necessary to use expert linker?What if i add an " .ach" file to my
>project in the source files folder or to the linker folder and then try to
>build and run it?
>
>6.One last question - what is the use of the segments seg_rth,seg_init
>,seg_stack and seg_heap......created by expert linker in ldf file.
>
>thank you
>regards
>nupur ><http://yahoo.shaadi.com/india-matrimony/>Yahoo!" target="_blank" rel="nofollow">http://in.rd.yahoo.com/specials/mailtg/*http://yahoo.shaadi.com/india-matrimony/>Yahoo!
>India Matrimony: Find your life partner
><http://yahoo.shaadi.com/india-matrimony/>online" target="_blank" rel="nofollow">http://in.rd.yahoo.com/specials/mailtg2/*http://yahoo.shaadi.com/india-matrimony/>online. >
> * To

Steve Holle
Link Communications, Inc.
1035 Cerise Rd.
Billings, MT 59101
s...@link-comm.com


Use
asm("nop;nop;nop;");

At 04:30 AM 3/29/2005, nupur agarwal wrote:
>hi all
>I am working on ADSP21061 .I am a new user of VDSP.I have written my
>program in simple \\\\\\\'c\\\\\\\' language without any reference to the segments etc.
>
>I want to add 3 nop instruction at the end of program.
>
>1. So do I need to call an assembly routien for these 3 nops in my C
>program?If yes then how?
>
>2.Should I call that routien at the end of main() or after all my function
>definitions(i.e. subroutien definitions) are complete(which are outside
>the main)?
>
>3.Where should i declare functions in the C program..in pm segment or dm
>segment and within main or outside main.
>
>4. I also tried to modify the ldf file created by expert linker but while
>compiling it gave error.I followed the prcedure given in the E-132 and
>EE69 notes .
>
>5.Is it necessary to use expert linker?What if i add an " .ach" file to my
>project in the source files folder or to the linker folder and then try to
>build and run it?
>
>6.One last question - what is the use of the segments seg_rth,seg_init
>,seg_stack and seg_heap......created by expert linker in ldf file.
>
>thank you
>regards
>nupur ><http://yahoo.shaadi.com/india-matrimony/>Yahoo!" target="_blank" rel="nofollow">http://in.rd.yahoo.com/specials/mailtg/*http://yahoo.shaadi.com/india-matrimony/>Yahoo!
>India Matrimony: Find your life partner
><http://yahoo.shaadi.com/india-matrimony/>online" target="_blank" rel="nofollow">http://in.rd.yahoo.com/specials/mailtg2/*http://yahoo.shaadi.com/india-matrimony/>online. >
> * To

Steve Holle
Link Communications, Inc.
1035 Cerise Rd.
Billings, MT 59101
s...@link-comm.com