SG8 continuous reset

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

SG8 continuous reset

跳至解决方案
1,876 次查看
layman
Contributor I

Hello,

I facing a strange issue of continuous reset on my S9S08SG8 board. The SG8 seems to be resetting continously as the scope connected to reset pin shows a square wave of about 25Khz. To isolate the problem I connected only VDD and GND with a 10K pull up to RST. I can still see a 25Khz squre wave on RST.

If I pull up the BKGD/MS pin while booting, RST shows steady 5 V. P&E is unable to program the IC.

Am I missing something ? 

Thanks

Pramod

标签 (1)
0 项奖励
回复
1 解答
702 次查看
pgo
Senior Contributor V

Dear Pramad,

 

The symptoms you describe are usually caused by a COP timeout or Illegal instruction reset.  Judging by the frequency I suspect the latter.  Holding BKGD low during power-on causes the device to enter BDM mode disabling the COP and instruction execution.  This can occur if the chip is blank or programmed incorrectly.  Once programmed it usually isn't a problem.

 

I would expect that the P&E BDM would be able to  to do the same thing (i.e. hold BKGD low) while prompting you to cycle the target power. 

 

Does the P&E BDM work with other chips?

 

If so try the following sequence:

 

Hold BKGD low while powering on (use a 100R resistor if it works to avoid damaging the BDM).

Connect the P&E BDM.

Release the BKGD pin.

 

See if the BDM can connect now.

 

bye 

 

Message Edited by pgo on 2009-10-29 05:11 PM

在原帖中查看解决方案

0 项奖励
回复
3 回复数
702 次查看
layman
Contributor I
Correction : It should be

If I pull down the BKGD/MS pin while booting, RST shows steady 5 V. P&E is unable to program the IC.

instead of

If I pull up the BKGD/MS pin while booting, RST shows steady 5 V. P&E is unable to program the IC.

Thanks

Pramod

0 项奖励
回复
703 次查看
pgo
Senior Contributor V

Dear Pramad,

 

The symptoms you describe are usually caused by a COP timeout or Illegal instruction reset.  Judging by the frequency I suspect the latter.  Holding BKGD low during power-on causes the device to enter BDM mode disabling the COP and instruction execution.  This can occur if the chip is blank or programmed incorrectly.  Once programmed it usually isn't a problem.

 

I would expect that the P&E BDM would be able to  to do the same thing (i.e. hold BKGD low) while prompting you to cycle the target power. 

 

Does the P&E BDM work with other chips?

 

If so try the following sequence:

 

Hold BKGD low while powering on (use a 100R resistor if it works to avoid damaging the BDM).

Connect the P&E BDM.

Release the BKGD pin.

 

See if the BDM can connect now.

 

bye 

 

Message Edited by pgo on 2009-10-29 05:11 PM
0 项奖励
回复
702 次查看
layman
Contributor I

Thanks PGO !!!

Holding the BKGD low manually seems to solve the problem. I expected the P&E to take care of this but for some reason it doesnt.

0 项奖励
回复