Reply by Bhaskar Reddy N June 12, 20082008-06-12
I don't think, the reason for erratic behaviour of your code is due
to flash problem.
I hope any flash utility has verify option, and it would definitely
check whatever it wrote is what it intended to write or not. If your
flash burn is successful means it might have verified the contents.
If you didn't enable verify option, do it. If that utility doesn't
have option then change to other utility.
As alternate, you can try to read all the flash contents (either
through memory view or File>>Data>Save option in CCS)and compare with
your binary file.
For this you need to know how to convert your .out file to .bin file.
Otherwise, take a working code or example code and run from flash to
see if they work correct.

/bhaskar
--- In c..., "Hemanth B" wrote:
>
> Thankyou Bhaskar and naayagi.
> Yes bhaskar,I am
working with
> a custom board. As you said this is due to power supply. So, now I
am
> supplying externally from an SMPS. Now I am able to download my
program to
> the flash without having any problem. But now from flash,the
program is
> working sometimes properly but sometimes it is not giving any
output. I feel
> this problem is due to because of flash erase operation failure
which I had
> earlier (may be some flash contents are in meta stable state). As I
am
> working with a custom board, I cann't even perform depletion
recovery
> because I don't have any direct interface between CCS and my custom
board.
> Can I perform somehow this depletion recovery with my board.
> Thankyou.
>
> On Wed, Jun 11, 2008 at 8:11 PM, Bhaskar Reddy N
> wrote:
>
> > In genaral Flash Erase/Write operation takes more current. Are
you
> > working on custom board or a evaluation board like eZdsp. If its
> > custome then board power supply might not be capable enough to
> > provide sufficient current. That might be the reason for the Flash
> > utility hanged.
> > A failed erase/write operation will definetly result in bad flash
> > content. But still you can try programming again until unless you
> > didn't corrupted the security block of flash. If passwords got
> > programmed to junk values or zeros then its highly difficult to
> > recover it back.
> > You are saying, the controller is not working properly. Does that
> > mean, it work sometimes and it wont sometimes.
> > What kind of behaviour you are seeing with controller.
> >
> > --- In c... ,
hemanth.betha@
> > wrote:
> > >
> > > Hi everyone,
> > >
> > > I am facing two problems with SDFlash Utility(with F2812).
> > First one is that, when the erase operation is about to start, the
> > 3.3V supply voltage is suddenly dropping down to 0 Volts for a
moment
> > (apprx 0.4 Sec) and again stabilized back to 3.3 Volts. I want to
> > know whether it usually happens like this when we are flashing the
> > chip or this is happening to me only.If it usually not, will the
DSP
> > get damaged because of this voltage drop.
> > > 2.Usually when I am flashing the device, the erase operation
> > takes few seconds. But unfortunately, once I am flashing the
> > device,it was taking much time to erase and this erase operation
is
> > running forever. So without any other option, I manually stopped
the
> > process. Then onwards the processor is not working properly. Upto
my
> > knowledge, interrupting the erase operation either through
manually
> > stopping or power supply failure will create problems with FLASH
> > contents. Can anybody tell me the solutions for the above two
> > problems.Please respond to it immediately. I hope someone will
help
> > in this regard.
> > >
> > > Thank you.
> > >
> >
> >
>

OMAP35x EVM jump-starts low-power apps
The modular and extensible OMAP35x Evaluation Module (EVM) enables developers to start building applications based on the OMAP35x architecture: http://www.DSPRelated.com/omap35x
Reply by Hemanth B June 11, 20082008-06-11
Thankyou Bhaskar and naayagi.
Yes bhaskar,I am working with
a custom board. As you said this is due to power supply. So, now I am
supplying externally from an SMPS. Now I am able to download my program to
the flash without having any problem. But now from flash,the program is
working sometimes properly but sometimes it is not giving any output. I feel
this problem is due to because of flash erase operation failure which I had
earlier (may be some flash contents are in meta stable state). As I am
working with a custom board, I cann't even perform depletion recovery
because I don't have any direct interface between CCS and my custom board.
Can I perform somehow this depletion recovery with my board.
Thankyou.

On Wed, Jun 11, 2008 at 8:11 PM, Bhaskar Reddy N
wrote:

> In genaral Flash Erase/Write operation takes more current. Are you
> working on custom board or a evaluation board like eZdsp. If its
> custome then board power supply might not be capable enough to
> provide sufficient current. That might be the reason for the Flash
> utility hanged.
> A failed erase/write operation will definetly result in bad flash
> content. But still you can try programming again until unless you
> didn't corrupted the security block of flash. If passwords got
> programmed to junk values or zeros then its highly difficult to
> recover it back.
> You are saying, the controller is not working properly. Does that
> mean, it work sometimes and it wont sometimes.
> What kind of behaviour you are seeing with controller.
>
> --- In c... , hemanth.betha@...
> wrote:
> >
> > Hi everyone,
> >
> > I am facing two problems with SDFlash Utility(with F2812).
> First one is that, when the erase operation is about to start, the
> 3.3V supply voltage is suddenly dropping down to 0 Volts for a moment
> (apprx 0.4 Sec) and again stabilized back to 3.3 Volts. I want to
> know whether it usually happens like this when we are flashing the
> chip or this is happening to me only.If it usually not, will the DSP
> get damaged because of this voltage drop.
> > 2.Usually when I am flashing the device, the erase operation
> takes few seconds. But unfortunately, once I am flashing the
> device,it was taking much time to erase and this erase operation is
> running forever. So without any other option, I manually stopped the
> process. Then onwards the processor is not working properly. Upto my
> knowledge, interrupting the erase operation either through manually
> stopping or power supply failure will create problems with FLASH
> contents. Can anybody tell me the solutions for the above two
> problems.Please respond to it immediately. I hope someone will help
> in this regard.
> >
> > Thank you.
>


OMAP35x EVM jump-starts low-power apps
The modular and extensible OMAP35x Evaluation Module (EVM) enables developers to start building applications based on the OMAP35x architecture: http://www.DSPRelated.com/omap35x
Reply by Bhaskar Reddy N June 11, 20082008-06-11
In genaral Flash Erase/Write operation takes more current. Are you
working on custom board or a evaluation board like eZdsp. If its
custome then board power supply might not be capable enough to
provide sufficient current. That might be the reason for the Flash
utility hanged.
A failed erase/write operation will definetly result in bad flash
content. But still you can try programming again until unless you
didn't corrupted the security block of flash. If passwords got
programmed to junk values or zeros then its highly difficult to
recover it back.
You are saying, the controller is not working properly. Does that
mean, it work sometimes and it wont sometimes.
What kind of behaviour you are seeing with controller.

--- In c..., hemanth.betha@... wrote:
>
> Hi everyone,
>
> I am facing two problems with SDFlash Utility(with F2812).
First one is that, when the erase operation is about to start, the
3.3V supply voltage is suddenly dropping down to 0 Volts for a moment
(apprx 0.4 Sec) and again stabilized back to 3.3 Volts. I want to
know whether it usually happens like this when we are flashing the
chip or this is happening to me only.If it usually not, will the DSP
get damaged because of this voltage drop.
> 2.Usually when I am flashing the device, the erase operation
takes few seconds. But unfortunately, once I am flashing the
device,it was taking much time to erase and this erase operation is
running forever. So without any other option, I manually stopped the
process. Then onwards the processor is not working properly. Upto my
knowledge, interrupting the erase operation either through manually
stopping or power supply failure will create problems with FLASH
contents. Can anybody tell me the solutions for the above two
problems.Please respond to it immediately. I hope someone will help
in this regard.
>
> Thank you.
>


OMAP35x EVM jump-starts low-power apps
The modular and extensible OMAP35x Evaluation Module (EVM) enables developers to start building applications based on the OMAP35x architecture: http://www.DSPRelated.com/omap35x
Reply by Alain SALMETOZ June 11, 20082008-06-11

We had the same issue few month ago. After a failed flashing operation, we were not able to flash correctly again (some bits in flash were changing over time).
 
Depletion recovery operation was the only fix for this issue.
-... wrote: -----

To: "Hemanth B" <h...@gmail.com>, c...
From: naayagi <n...@gmail.com>
Sent by: c...
Date: 06/11/2008 02:20PM
Subject: Re: [c28x] Problem with SDFlash Utility

You can use the option from the tools menu of Codecomposer studio, F28xx
onchip flash programmer and you can see the option as depletion recovery,
you select all the flash sectors and check depletion recovery and click
execute operation, it will recover the affected sectors. I am sorry, I have
not used SDFlash facility. You can try running the program and check whether
the results are correct.

On Wed, Jun 11, 2008 at 12:04 PM, Hemanth B <h...@gmail.com> wrote:

> Thankyou naayagi. I recently downloaded v4.1 algorithm file from spectrum
> digital. In that I found one depletion recovery project in that folder. Do
> you mean I need to execute that program from my DSP flash or I have to do
> any modifications to that project or asm file.
>                             Thankyou.
>
>
>
>   On Wed, Jun 11, 2008 at 12:55 AM, naayagi <n...@gmail.com> wrote:
>
>>     Hi,
>>
>> If you abruptly stop your program while running in flash, you cann't make
>> use of your flash. But there is a option called depletion recovery,
>> because
>> when you abruptly stop the program some of the memory cells would be in
>> the
>> meta stable state (between zero and 1), if u use the depletion recovery,
>> there is a possibility for the cells to be recovered. Try loading your
>> program in flash after depletion recovery and check the output.You said,
>> erase operation is going on forever, i think it ddin't do the erase
>> function
>> at all in that case, i beleive.
>>
>> I don't have any idea about your first question, i think , if the
>> potential
>> exceeds 3.3V, it will damage the DSP, otherwise this drop within the 3.3V
>> may not cause any problem.
>>
>> Hope this helps.
>> If any of you find anything wrong, do correct my reply.
>>
>> On Tue, Jun 10, 2008 at 12:07 PM, <h...@gmail.com<hemanth.betha%40gmail.com>>
>> wrote:
>>
>> > Hi everyone,
>> >
>> > I am facing two problems with SDFlash Utility(with F2812). First one is
>> > that, when the erase operation is about to start, the 3.3V supply
>> voltage is
>> > suddenly dropping down to 0 Volts for a moment (apprx 0.4 Sec) and again
>> > stabilized back to 3.3 Volts. I want to know whether it usually happens
>> like
>> > this when we are flashing the chip or this is happening to me only.If it
>> > usually not, will the DSP get damaged because of this voltage drop.
>> > 2.Usually when I am flashing the device, the erase operation takes few
>> > seconds. But unfortunately, once I am flashing the device,it was taking
>> much
>> > time to erase and this erase operation is running forever. So without
>> any
>> > other option, I manually stopped the process. Then onwards the processor
>> is
>> > not working properly. Upto my knowledge, interrupting the erase
>> operation
>> > either through manually stopping or power supply failure will create
>> > problems with FLASH contents. Can anybody tell me the solutions for the
>> > above two problems.Please respond to it immediately. I hope someone will
>> > help in this regard.
>> >
>> > Thank you.
>> >
>> >
>>
>> --
>> Naayagi
>>
>>  
>>
>
>


--
Naayagi


__._,_.___









OMAP35x EVM jump-starts low-power apps



The modular and extensible OMAP35x Evaluation Module (EVM) enables developers to start building applications based on the OMAP35x architecture: http://www.DSPRelated.com/omap35x





">http://www.dsprelated.com/groups/c28x/1.php



_____________________________________

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:



Archives:  http://www.dsprelated.com/groups/c28x/1.php



To Post:  Send an email to c...



Other DSP Related Groups: http://www.dsprelated.com/groups.php










stime13194731













__,_._,___
Reply by naayagi June 11, 20082008-06-11
You can use the option from the tools menu of Codecomposer studio, F28xx
onchip flash programmer and you can see the option as depletion recovery,
you select all the flash sectors and check depletion recovery and click
execute operation, it will recover the affected sectors. I am sorry, I have
not used SDFlash facility. You can try running the program and check whether
the results are correct.

On Wed, Jun 11, 2008 at 12:04 PM, Hemanth B wrote:

> Thankyou naayagi. I recently downloaded v4.1 algorithm file from spectrum
> digital. In that I found one depletion recovery project in that folder. Do
> you mean I need to execute that program from my DSP flash or I have to do
> any modifications to that project or asm file.
> Thankyou.
>
> On Wed, Jun 11, 2008 at 12:55 AM, naayagi wrote:
>
>> Hi,
>>
>> If you abruptly stop your program while running in flash, you cann't make
>> use of your flash. But there is a option called depletion recovery,
>> because
>> when you abruptly stop the program some of the memory cells would be in
>> the
>> meta stable state (between zero and 1), if u use the depletion recovery,
>> there is a possibility for the cells to be recovered. Try loading your
>> program in flash after depletion recovery and check the output.You said,
>> erase operation is going on forever, i think it ddin't do the erase
>> function
>> at all in that case, i beleive.
>>
>> I don't have any idea about your first question, i think , if the
>> potential
>> exceeds 3.3V, it will damage the DSP, otherwise this drop within the 3.3V
>> may not cause any problem.
>>
>> Hope this helps.
>> If any of you find anything wrong, do correct my reply.
>>
>> On Tue, Jun 10, 2008 at 12:07 PM, >
>> wrote:
>>
>> > Hi everyone,
>> >
>> > I am facing two problems with SDFlash Utility(with F2812). First one is
>> > that, when the erase operation is about to start, the 3.3V supply
>> voltage is
>> > suddenly dropping down to 0 Volts for a moment (apprx 0.4 Sec) and again
>> > stabilized back to 3.3 Volts. I want to know whether it usually happens
>> like
>> > this when we are flashing the chip or this is happening to me only.If it
>> > usually not, will the DSP get damaged because of this voltage drop.
>> > 2.Usually when I am flashing the device, the erase operation takes few
>> > seconds. But unfortunately, once I am flashing the device,it was taking
>> much
>> > time to erase and this erase operation is running forever. So without
>> any
>> > other option, I manually stopped the process. Then onwards the processor
>> is
>> > not working properly. Upto my knowledge, interrupting the erase
>> operation
>> > either through manually stopping or power supply failure will create
>> > problems with FLASH contents. Can anybody tell me the solutions for the
>> > above two problems.Please respond to it immediately. I hope someone will
>> > help in this regard.
>> >
>> > Thank you.
>> >
>> >
>>
>> --
>> Naayagi
>>
>>
>>
--
Naayagi

OMAP35x EVM jump-starts low-power apps
The modular and extensible OMAP35x Evaluation Module (EVM) enables developers to start building applications based on the OMAP35x architecture: http://www.DSPRelated.com/omap35x
Reply by Hemanth B June 11, 20082008-06-11
Thankyou naayagi. I recently downloaded v4.1 algorithm file from spectrum
digital. In that I found one depletion recovery project in that folder. Do
you mean I need to execute that program from my DSP flash or I have to do
any modifications to that project or asm file.
Thankyou.

On Wed, Jun 11, 2008 at 12:55 AM, naayagi wrote:

> Hi,
>
> If you abruptly stop your program while running in flash, you cann't make
> use of your flash. But there is a option called depletion recovery, because
> when you abruptly stop the program some of the memory cells would be in the
> meta stable state (between zero and 1), if u use the depletion recovery,
> there is a possibility for the cells to be recovered. Try loading your
> program in flash after depletion recovery and check the output.You said,
> erase operation is going on forever, i think it ddin't do the erase
> function
> at all in that case, i beleive.
>
> I don't have any idea about your first question, i think , if the potential
> exceeds 3.3V, it will damage the DSP, otherwise this drop within the 3.3V
> may not cause any problem.
>
> Hope this helps.
> If any of you find anything wrong, do correct my reply.
>
> On Tue, Jun 10, 2008 at 12:07 PM, >
> wrote:
>
> > Hi everyone,
> >
> > I am facing two problems with SDFlash Utility(with F2812). First one is
> > that, when the erase operation is about to start, the 3.3V supply voltage
> is
> > suddenly dropping down to 0 Volts for a moment (apprx 0.4 Sec) and again
> > stabilized back to 3.3 Volts. I want to know whether it usually happens
> like
> > this when we are flashing the chip or this is happening to me only.If it
> > usually not, will the DSP get damaged because of this voltage drop.
> > 2.Usually when I am flashing the device, the erase operation takes few
> > seconds. But unfortunately, once I am flashing the device,it was taking
> much
> > time to erase and this erase operation is running forever. So without any
> > other option, I manually stopped the process. Then onwards the processor
> is
> > not working properly. Upto my knowledge, interrupting the erase operation
> > either through manually stopping or power supply failure will create
> > problems with FLASH contents. Can anybody tell me the solutions for the
> > above two problems.Please respond to it immediately. I hope someone will
> > help in this regard.
> >
> > Thank you.
> >
> > --
> Naayagi
>

OMAP35x EVM jump-starts low-power apps
The modular and extensible OMAP35x Evaluation Module (EVM) enables developers to start building applications based on the OMAP35x architecture: http://www.DSPRelated.com/omap35x
Reply by naayagi June 11, 20082008-06-11
Hi,

If you abruptly stop your program while running in flash, you cann't make
use of your flash. But there is a option called depletion recovery, because
when you abruptly stop the program some of the memory cells would be in the
meta stable state (between zero and 1), if u use the depletion recovery,
there is a possibility for the cells to be recovered. Try loading your
program in flash after depletion recovery and check the output.You said,
erase operation is going on forever, i think it ddin't do the erase function
at all in that case, i beleive.

I don't have any idea about your first question, i think , if the potential
exceeds 3.3V, it will damage the DSP, otherwise this drop within the 3.3V
may not cause any problem.

Hope this helps.
If any of you find anything wrong, do correct my reply.

On Tue, Jun 10, 2008 at 12:07 PM, wrote:

> Hi everyone,
>
> I am facing two problems with SDFlash Utility(with F2812). First one is
> that, when the erase operation is about to start, the 3.3V supply voltage is
> suddenly dropping down to 0 Volts for a moment (apprx 0.4 Sec) and again
> stabilized back to 3.3 Volts. I want to know whether it usually happens like
> this when we are flashing the chip or this is happening to me only.If it
> usually not, will the DSP get damaged because of this voltage drop.
> 2.Usually when I am flashing the device, the erase operation takes few
> seconds. But unfortunately, once I am flashing the device,it was taking much
> time to erase and this erase operation is running forever. So without any
> other option, I manually stopped the process. Then onwards the processor is
> not working properly. Upto my knowledge, interrupting the erase operation
> either through manually stopping or power supply failure will create
> problems with FLASH contents. Can anybody tell me the solutions for the
> above two problems.Please respond to it immediately. I hope someone will
> help in this regard.
>
> Thank you.

--
Naayagi

OMAP35x EVM jump-starts low-power apps
The modular and extensible OMAP35x Evaluation Module (EVM) enables developers to start building applications based on the OMAP35x architecture: http://www.DSPRelated.com/omap35x
Reply by hema...@gmail.com June 10, 20082008-06-10
Hi everyone,

I am facing two problems with SDFlash Utility(with F2812). First one is that, when the erase operation is about to start, the 3.3V supply voltage is suddenly dropping down to 0 Volts for a moment (apprx 0.4 Sec) and again stabilized back to 3.3 Volts. I want to know whether it usually happens like this when we are flashing the chip or this is happening to me only.If it usually not, will the DSP get damaged because of this voltage drop.
2.Usually when I am flashing the device, the erase operation takes few seconds. But unfortunately, once I am flashing the device,it was taking much time to erase and this erase operation is running forever. So without any other option, I manually stopped the process. Then onwards the processor is not working properly. Upto my knowledge, interrupting the erase operation either through manually stopping or power supply failure will create problems with FLASH contents. Can anybody tell me the solutions for the above two problems.Please respond to it immediately. I hope someone will help in this regard.

Thank you.


OMAP35x EVM jump-starts low-power apps
The modular and extensible OMAP35x Evaluation Module (EVM) enables developers to start building applications based on the OMAP35x architecture: http://www.DSPRelated.com/omap35x