DSPRelated.com
Forums

Fw: Re: DM642EVM flash boot

Started by mohamad rezaee January 24, 2011
Dear Mr. Williams
 
I am trying to boot “MPEG loopback example” from EVM flash
 (As you know “MPEG loop back” is larger than half page (more than 256KB)) 
I used some ways (software and hardware) to boot it, but I could not to attain.
I don’t know what correct (or underlying) way is? 
 
Yours Sincerely,
 
M.Rezaee

--- On Sun, 1/23/11, Richard Williams wrote:
From: Richard Williams
Subject: Re: [c6x] DM642EVM flash boot
To: "mohamad rezaee" , c...
Date: Sunday, January 23, 2011, 11:56 AM
mohamad,

Have you tried usieng the CCS debugger to step through the boot process to see
exactly what is not working?

R. Williams

---------- Original Message -----------
From: mohamad rezaee
To: Richard Williams , c...
Sent: Sat, 22 Jan 2011 23:14:04 -0800 (PST)
Subject: Re: [c6x] DM642EVM flash boot

>  
> Dear Mr. Williams
>
> Thank you very much for your consideration.
>
> Almost 90% of programs are booted. What I mean is jpeg loopback or
> H263 loopback and others are booted but Mpeg loopback example cannot
> be booted.
>
> My bootable procedure is as follow:
>
> 1- Add the “boot.asm file” to the program
>
> 2- Update “linker file”
>
> 3- At the end, when the program is completed, then burn it on the Page
> 0x02.
>
> Other programs work correctly using this procedure except “Mpeg loop
> back”.
>
> In case of any further queries, please do not hesitate to contact me.
>
> Yours Sincerely,
>
> M.Rezaee
>
> --- On Thu, 1/20/11, Richard Williams wrote:
>
> From: Richard Williams
> Subject: Re: [c6x] DM642EVM flash boot
> To: "mohamad rezaee" , c...
> Date: Thursday, January 20, 2011, 9:50 PM
>
>  
>
> mohamad,
>
> what does not work? the boot operation or the mpeg loopback example?
>
> We need specifics so we can be of any help.
>
> BTW:
> If the problem is in the code, then where can we/I find this code example?
>
> R. Williams
>
> ---------- Original Message -----------
> From: mohamad rezaee
> To: c...
> Sent: Thu, 20 Jan 2011 06:16:33 -0800 (PST)
> Subject: [c6x] DM642EVM flash boot
>
> > Hello,
> >
> > I want to boot mpeg2 loopback example from the flash emory of the
> > DM642EVM board. but it does not work.can eny one help me?
> ------- End of Original Message -------
------- End of Original Message -------
M.Rezaee,

On 1/24/2011 10:40 AM, mohamad rezaee wrote:
>
> Dear Mr. Williams
>
> I am trying to boot “MPEG loopback example” from EVM flash
>
> (As you know “MPEG loop back” is larger than half page (more than
> 256KB))
>
> I used some ways (software and hardware)to boot it, but I could
> not to attain.
>
> I don’t know what correct (or underlying) way is?
>

'Booting' is a conceptually simple process that can become a bit
complicated by housekeeping chores. Like many tasks, there are multiple
ways to accomplish the goal. In your case, I would suggest the following:
1. Understand what is going on with the largest working example.
a. Reset causes 1k of code to be DMA'd from external ROM/FLASH to
internal memory beginning at address 0.
b. This 1k of 'boot code' is executed. It normally does 1 of 2
things - it copies your program to memory and executes it OR it copies a
larger, more intelligent 'secondary boot loader' into memory and
executes it. You should understand the capabilities and constraints of
the code that loads a program into memory.
2. Troubleshoot your problem.
3. The first step is to verify that your are flashing the entire,
correct program. Check the FLASH after you burn it.
Q1. Is the complete program there??
4. Check the hardware design of your board.
Q2. Does it require special manual manipulation of any address bits when
you exceed 128K or 256K??
Q3. IF Q2==yes, does this bit[s] get handled properly by the FLASH
program AND the boot loader??
5. You should be able to perform a CPU Reset from CCS. This should load
the boot loader. Set a breakpoint and run to it or use a combination of
single step and breakpoints to see what is happening.

mikedunn
>
> Yours Sincerely,
>
> M.Rezaee
>
> --- On *Sun, 1/23/11, Richard Williams //*
> wrote:
> From: Richard Williams
> Subject: Re: [c6x] DM642EVM flash boot
> To: "mohamad rezaee" , c...
> Date: Sunday, January 23, 2011, 11:56 AM
>
> mohamad,
>
> Have you tried usieng the CCS debugger to step through the
> boot process to see
> exactly what is not working?
>
> R. Williams
>
> ---------- Original Message -----------
> From: mohamad rezaee > >
> To: Richard Williams > >,
> c...
>
> Sent: Sat, 22 Jan 2011 23:14:04 -0800 (PST)
> Subject: Re: [c6x] DM642EVM flash boot
>
> >
> > Dear Mr. Williams
> >
> > Thank you very much for your consideration.
> >
> > Almost 90% of programs are booted. What I mean is jpeg
> loopback or
> > H263 loopback and others are booted but Mpeg loopback
> example cannot
> > be booted.
> >
> > My bootable procedure is as follow:
> >
> > 1- Add the “boot.asm file” to the program
> >
> > 2- Update “linker file”
> >
> > 3- At the end, when the program is completed, then burn it
> on the Page
> > 0x02.
> >
> > Other programs work correctly using this procedure except
> “Mpeg loop
> > back”.
> >
> > In case of any further queries, please do not hesitate to
> contact me.
> >
> > Yours Sincerely,
> >
> > M.Rezaee
> >
> > --- On Thu, 1/20/11, Richard Williams
> > >
> wrote:
> >
> > From: Richard Williams > >
> > Subject: Re: [c6x] DM642EVM flash boot
> > To: "mohamad rezaee" > >,
> c...
>
> > Date: Thursday, January 20, 2011, 9:50 PM
> >
> >
> >
> > mohamad,
> >
> > what does not work? the boot operation or the mpeg loopback
> example?
> >
> > We need specifics so we can be of any help.
> >
> > BTW:
> > If the problem is in the code, then where can we/I find this
> code example?
> >
> > R. Williams
> >
> > ---------- Original Message -----------
> > From: mohamad rezaee > >
> > To: c...
>
> > Sent: Thu, 20 Jan 2011 06:16:33 -0800 (PST)
> > Subject: [c6x] DM642EVM flash boot
> >
> > > Hello,
> > >
> > > I want to boot mpeg2 loopback example from the flash emory
> of the
> > > DM642EVM board. but it does not work.can eny one help me?
> > ------- End of Original Message -------
> >
> >
> ------- End of Original Message -------