Sign in

username:

password:



Not a member?

Search c28x



Search tips

Subscribe to c28x



Sponsor

NEW! TMS320C6474: 3x the performance. 1/3 the cost. Three 1 GHz cores on 1 chip.

Discussion Groups

Discussion Groups | TMS320C28x | Problem with SDFlash Utility

Technical discussions about the TI C28x DSPs (including the C2810, C2811, C2812, F2801, F2806, F2808, F2810,, F2811, F2812, R2811 and R2812).

  

Post a new Thread

Problem with SDFlash Utility - hema...@gmail.com - Jun 10 12:16:20 2008



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
You can post a message or access and search the archives of this group on DSPRelated.com:
http://www.dsprelated.com/groups/c28x/1.php

_____________________________________




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

Re: Problem with SDFlash Utility - naayagi - Jun 11 6:23:54 2008

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> 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
You can post a message or access and search the archives of this group on DSPRelated.com:
http://www.dsprelated.com/groups/c28x/1.php

_____________________________________




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

Re: Problem with SDFlash Utility - Hemanth B - Jun 11 7:54:07 2008

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

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
You can post a message or access and search the archives of this group on DSPRelated.com:
http://www.dsprelated.com/groups/c28x/1.php

_____________________________________




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

Re: Problem with SDFlash Utility - naayagi - Jun 11 9:29:43 2008

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
You can post a message or access and search the archives of this group on DSPRelated.com:
http://www.dsprelated.com/groups/c28x/1.php

_____________________________________




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

Re: Problem with SDFlash Utility - Alain SALMETOZ - Jun 11 10:32:14 2008






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.
-...@yahoogroups.com wrote: -----

To: "Hemanth B" <h...@gmail.com>, c...@yahoogroups.com
From: naayagi <n...@gmail.com>
Sent by: c...@yahoogroups.com
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


You can post a message or access and search the archives of this group on DSPRelated.com:
http://www.dsprelated.com/groups/c28x/1.php< /a>

_____________________________________
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< /a>

To Post:  Send an email to c...@yahoogroups.com

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





__,_._,___


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

Re: Problem with SDFlash Utility - Bhaskar Reddy N - Jun 11 12:16:39 2008

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...@yahoogroups.com, 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
You can post a message or access and search the archives of this group on DSPRelated.com:
http://www.dsprelated.com/groups/c28x/1.php

_____________________________________




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

Re: Problem with SDFlash Utility - Hemanth B - Jun 11 14:18:53 2008

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 <b...@lntemsys.com>
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...@yahoogroups.com <c28x%40yahoogroups.com>, 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
You can post a message or access and search the archives of this group on DSPRelated.com:
http://www.dsprelated.com/groups/c28x/1.php

_____________________________________




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

Re: Problem with SDFlash Utility - Bhaskar Reddy N - Jun 12 6:40:39 2008

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...@yahoogroups.com, "Hemanth B" <hemanth.betha@...> 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 <bhaskar.reddy@...>
> 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...@yahoogroups.com <c28x%40yahoogroups.com>, 
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
You can post a message or access and search the archives of this group on DSPRelated.com:
http://www.dsprelated.com/groups/c28x/1.php

_____________________________________




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