Software Toll for Reading and Setting ENBDM

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

Software Toll for Reading and Setting ENBDM

1,395 次查看
Pegasus
Contributor I
I'm trying to put  DEMO9S08QG8E (demo board for MS9S08QG8) into STOP 1 mode. But when exiting the STOP Mode I receive the message "exiting stop 3 mode". I suspect that ENBDM is set.
I'm connected to the board using USB. The baord include P&E USB-DBC controller.
I couldn't find how the read and set ENBDM (Actually BDSCR) using codeWarrier 5.0. Can someone help in explaining how to use CodeWarrier, or recommend a software tool for reading and setting BDSCR?
 
Pegasus
标签 (1)
0 项奖励
回复
1 回复

656 次查看
peg
Senior Contributor IV
Hi Pegasus,
 
I think you are correct, I think that when the BDM pod is connected it likes to set this bit so it can be in control. I don't think there is a way to directly control or read the BDSCR register from Codewarrior or P&E software.
 
There are dedicated BDM commands for this (READ_STATUS and WRITE_CONTROL).
But the software does it all for you automatically.
 
Gabriel Dubatti's BDMLoader can but it uses its own pod which is a problem for you with your built in pod.
You can drive BDMLoader from a terminal where you have full access to the raw commands.
 
I presume you are powering the board via the USB cable?
Have you tried to go to STOP1 after a power on reset without any software running? This way ENBDM should still be a 0 (unless the hardware does it on its own???)
 
Regards
David
 

Message Edited by peg on 2006-11-2007:41 AM

0 项奖励
回复