Changes

Jump to navigation Jump to search
10 bytes added ,  00:02, 21 February 2018
m
FLOW_MODE_STOP -> FLOW_MODE_WAITEVENT (0x40000000 isn't FLOW_MODE_STOP)
Line 138: Line 138:  
   
 
   
 
  u32 FLOW_CTLR_HALT_COP_EVENTS = 0x60007004;
 
  u32 FLOW_CTLR_HALT_COP_EVENTS = 0x60007004;
  u32 FLOW_MODE_STOP = 0x40000000;
+
  u32 FLOW_MODE_WAITEVENT = 0x40000000;
 
  u32 HALT_COP_EVENT_JTAG = 0x10000000;
 
  u32 HALT_COP_EVENT_JTAG = 0x10000000;
 
   
 
   
 
  // Halt the boot processor
 
  // Halt the boot processor
 
  while (true)
 
  while (true)
     *(u32 *)FLOW_CTLR_HALT_COP_EVENTS = (FLOW_MODE_STOP | HALT_COP_EVENT_JTAG);
+
     *(u32 *)FLOW_CTLR_HALT_COP_EVENTS = (FLOW_MODE_WAITEVENT | HALT_COP_EVENT_JTAG);
 
</syntaxhighlight>
 
</syntaxhighlight>
  
28

edits

Navigation menu