bcp_ui_clk.tst 1.66 KB
//****************************************************************************
//
// File: bcp_ui.tst 
//	 Test file for USB Interface (AI)
//
// File Format:
//
// t <id> <arg1> <arg2> <arg3> <arg4>	- Run test id with the 4 args
//						where id   = decimal number
//						      argX = hex number
// q					- Quit testing and shutdown verilog 
//					  server
// 
//****************************************************************************

//****************************************************************************
// Configure DDR
//
//t 0200 00000000 00000000 00000000 00000000
k 1

// Enter the security mode
t 0100 04300014 00000000 00000000 00000000
t 0100 1fc00000 00000000 00000000 00000000

// Let USB in security mode
t 0102 04940010 00000001 00000000 00000000 
t 0102 04A40010 00000001 00000000 00000000

// usbclk = sysclk / 2 
t 0102 04940000 00000001 00000000 00000000 
t 0102 04A40000 00000001 00000000 00000000

t 0510 00000001 00000000 00000000 00000000
t 0511 00000001 00000000 00000000 00000000
t 0512 00000001 00000000 00000000 00000000
t 0513 00000001 00000000 00000000 00000000
t 0514 00000001 00000000 00000000 00000000
t 0515 00000001 00000000 00000000 00000000
t 0502 00000001 00000010 00000000 00000000

t 0510 00000000 00000000 00000000 00000000
t 0511 00000000 00000000 00000000 00000000
t 0512 00000000 00000000 00000000 00000000
t 0513 00000000 00000000 00000000 00000000
t 0514 00000000 00000000 00000000 00000000
t 0515 00000000 00000000 00000000 00000000
t 0502 00000000 00000010 00000000 00000000

t 0102 04940000 00000000 00000000 00000000 
t 0102 04A40000 00000000 00000000 00000000

// Leave security mode
t 0110 04300014 04300014 00000042 00000000 

k 0
//q