Sign in

username or email:

password:



Not a member?
Forgot your Password?

Search Comp.Arch.Embedded



Search tips

Discussion Groups

See Also

DSPFPGA

There are 9 messages in this thread.

You are currently looking at messages 1 to 9.


So far in May, you have voted 0 times ou of a total of 20 votes by the community.
Please help us clean the archives from unuseful discussion threads by using the voting system! Details here.

PUC! - Viet Tran - 2012-08-04 22:51:00

Hi everybody!
Can you help me to answer this question:
How to recognize a PUC when it occur?

Thank so much!

Re: PUC! - hamilton - 2012-08-04 23:05:00

On 8/4/2012 8:51 PM, Viet Tran wrote:
> Hi everybody!
> Can you help me to answer this question:
> How to recognize a PUC when it occur?
>
> Thank so much!
>

OK, I'll bite,  What's a "PUC" ???


Re: PUC! - Viet Tran - 2012-08-04 23:23:00

Power-up Clear : PUC

it occur when The watchdog timer overflows in watchdog mode

Re: PUC! - hamilton - 2012-08-04 23:37:00

On 8/4/2012 9:23 PM, Viet Tran wrote:
> Power-up Clear : PUC
>
> it occur when The watchdog timer overflows in watchdog mode
>
Power Up Clear !!!

Did you just make that up ???

Its called "Power Up Reset",
Or its called "Watch Dog Reset",
if that is what you really mean.


But, what is it you want to know ??

What processor are you using ?
What peripherals are you concerned about ??

What are you talking about ??????



Re: PUC! - Viet Tran - 2012-08-04 23:46:00

Vào 11:37:54 UTC+8 Chủ nhật, ngày 05 tháng tám năm 2012, hamilton đã viết:
> On 8/4/2012 9:23 PM, Viet Tran wrote:
> 
> > Power-up Clear : PUC
> 
> >
> 
> > it occur when The watchdog timer overflows in watchdog mode
> 
> >
> 
> Power Up Clear !!!
> 
> 
> 
> Did you just make that up ???
> 
> 
> 
> Its called "Power Up Reset",
> 
> Or its called "Watch Dog Reset",
> 
> if that is what you really mean.
> 
> 
> 
> 
> 
> But, what is it you want to know ??
> 
> 
> 
> What processor are you using ?
> 
> What peripherals are you concerned about ??
> 
> 
> 
> What are you talking about ??????


Thank for your answer!

1/ i'm using MSP430
2/ i want make a LED light at the time a PUC occur
3/ i want to know that :
   if a PUC occur: any flag to be set?
   

Re: PUC! - hamilton - 2012-08-05 01:48:00

On 8/4/2012 9:46 PM, Viet Tran wrote:

> Thank for your answer!
>
> 1/ i'm using MSP430
> 2/ i want make a LED light at the time a PUC occur
> 3/ i want to know that :
>     if a PUC occur: any flag to be set?

http://lmgtfy.com/?q=MSP430+PUC



Re: PUC! - mike - 2012-08-05 02:22:00

On 8/4/2012 8:23 PM, Viet Tran wrote:
> Power-up Clear : PUC
>
> it occur when The watchdog timer overflows in watchdog mode

What are you trying to accomplish?
The watchdog timer should never overflow.
If it does, something has gone horribly wrong.
And it resets the processor, so whatever you flagged
is likely gone.  Might depend on the processor...RTFM

Fix the code to detect the condition you're looking for.

You can turn the led at boot and turn it off manually
with a switch.  If it's on after you reset it, there's
been a reboot.

Still, not a substitute for fixing the code.

Re: PUC! - David Brown - 2012-08-05 07:26:00

On 05/08/12 05:46, Viet Tran wrote:
> Vào 11:37:54 UTC+8 Chủ nhật, ngày 05 tháng tám năm 2012, hamilton đã viết:
>> On 8/4/2012 9:23 PM, Viet Tran wrote:
>>
>>> Power-up Clear : PUC
>>
>>>
>>
>>> it occur when The watchdog timer overflows in watchdog mode
>>
>>>
>>
>> Power Up Clear !!!
>>
>>
>>
>> Did you just make that up ???
>>
>>
>>
>> Its called "Power Up Reset",
>>
>> Or its called "Watch Dog Reset",
>>
>> if that is what you really mean.
>>
>>
>>
>>
>>
>> But, what is it you want to know ??
>>
>>
>>
>> What processor are you using ?
>>
>> What peripherals are you concerned about ??
>>
>>
>>
>> What are you talking about ??????
>
>
> Thank for your answer!
>
> 1/ i'm using MSP430
> 2/ i want make a LED light at the time a PUC occur
> 3/ i want to know that :
>     if a PUC occur: any flag to be set?
>

Have you looked in the reference manuals for the msp430?  Like most 
microcontrollers, it has a register holding the cause of reset.  Note 
that you need to clear the various flags yourself after reading them - 
for obvious reasons, they are not cleared automatically at reset.


Re: PUC! - Meindert Sprang - 2012-08-07 03:19:00

"Viet Tran" <q...@gmail.com> wrote in message
news:f...@googlegroups.com...
> Thank for your answer!
>
> 1/ i'm using MSP430
> 2/ i want make a LED light at the time a PUC occur
> 3/ i want to know that :
>    if a PUC occur: any flag to be set?

Start reading the datasheet of the MSP430. It should all be in there!

Meindert