BDM Question - MPC565  CW8.1

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

BDM Question - MPC565  CW8.1

831 Views
John_J
Contributor I

In the CW IDE there is a little green triangular button labeled 'run'. What signals -exactly- are sent to the BDM hardware interface when this button is pushed? (Macraigor parallel Raven)

 

Here's the situation. Just received a couple of new 565 proto boards. They are a slight modification to an existing design. The boards will only start with the BDM connected and by pushing the 'run' button in CW. When attempting to start them without the BDM connected, they appear to leave reset and then hang. I have tried using simpler debug software, Macraigor OCD_Commander for one, but no other BDM debug software is able to start the board. Once running, they work perfectly. Therefore I am trying to identify exactly what CW is doing that the other debuggers are not. 

 

By the way, if anyone has any idea why this happening I sure would like to hear (any probably move that to a more appropriate hardware forum) 

 

So my question again. What exactly does CW do when one pushes the 'run' button? 

 

Thanks

John 

Labels (1)
0 Kudos
1 Reply

236 Views
J2MEJediMaster
Specialist I

When Run is pressed, the CW debugger will bit-bang the processor with commands that perform some basic setup. Some of this information is in the configuration file (.cfg), which is chosen in the EPPC Debugger Settings panel, and some of it is in the memory configration fle (.mem), also selected with the same panel. Your initialization code may not be performing the same set up, so the processor goes out into the weeds when you try to run it stand-alone. Alternatively, you may have misconfigured the reset vector in your interrupt vector table. Both topics have been discussed a number of times in these forums, so you should be able to do some searches and find the information you need.

 

---Tom

0 Kudos