Software Toll for Reading and Setting ENBDM

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Software Toll for Reading and Setting ENBDM

1,393 Views
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
Labels (1)
0 Kudos
Reply
1 Reply

654 Views
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 Kudos
Reply