##// END OF EJS Templates
dsu3 wip
jeandet -
r37:934336d3c2c5 default
parent child
Show More
@@ -73,7 +73,15 bool dsu3plugin::configureTarget()
73 DSUBASEADDRESS = 0x90000000;
73 DSUBASEADDRESS = 0x90000000;
74 unsigned int MCTRLBASEADDRESS = SocExplorerEngine::self()->getEnumDeviceBaseAddress(this,0x04 , 0x00F,0);
74 unsigned int MCTRLBASEADDRESS = SocExplorerEngine::self()->getEnumDeviceBaseAddress(this,0x04 , 0x00F,0);
75 if(MCTRLBASEADDRESS == (unsigned int)-1)
75 if(MCTRLBASEADDRESS == (unsigned int)-1)
76 return false;
76 {
77 SocExplorerEngine::message(this,"Can't find MemCtrlr",1);
78 MCTRLBASEADDRESS = SocExplorerEngine::self()->getEnumDeviceBaseAddress(this,0x01 , 0x051,0);
79 if(MCTRLBASEADDRESS == (unsigned int)-1)
80 {
81 SocExplorerEngine::message(this,"Can't find FTMemCtrlr",1);
82 return false;
83 }
84 }
77
85
78 //Force a debug break
86 //Force a debug break
79 WriteRegs(uIntlist()<<0x0000002f,(unsigned int)DSUBASEADDRESS);
87 WriteRegs(uIntlist()<<0x0000002f,(unsigned int)DSUBASEADDRESS);
General Comments 0
You need to be logged in to leave comments. Login now