Transistion from Single chip to expanded mode on 9s12XEP100

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

Transistion from Single chip to expanded mode on 9s12XEP100

1,533 Views
vijay_v
Contributor I
Hi,
I am using the EP100 evaluation kit with P&E debugger.
 
The MODE pins on the micro were set to Normal Single Chip mode (MODE A = 0;MODE B = 0;MODE C = 1) and the MODE register was written to (MODE= 0xA0) in the software to get in to Normal Expanded mode. This worked very well when i ran the software using Debugger.
 
But if i remove debugger and reset the micro i do not see the intended results.
 
But when i changed the MODE settings on the Eval board to expanded mode  (MODE A = 1;MODE B = 0;MODE C = 1) everything works correctly. 
 
Is it really necessary for the MODE pins on the Micro correspond to the CPU operating mode required?
 
vijay
 
 
Labels (1)
0 Kudos
Reply
1 Reply

503 Views
kef
Specialist I
When debugging via BDM, you aren't operating your part in Normal Single Chip mode, but in Special Single Chip mode (, unless you didn't enable HotPlug option).
 
There are two major differences between Normal and Special Single Chip modes
 
1) There's quite a long list of registers, that are write once in Normal modes, but are write as many times as you wish in Special modes.
 
2) In Special Single Chip mode ECLK output is enabled by default. In Normal Single Chip it is disabled by default. Try clearing NECLK bit (ECLKCTL register).
 
 
0 Kudos
Reply