Corporate Development Division Semiconductor Company Matsushita Electric Industrial Co.,Ltd. http://www.panasonic.co.jp/semicon/
DebugFactory Builder for MN101C
PanaX IDE
IBM PC/AT CPU Intel Pentium 450MHz * CPU (Pentium 1GHz ) OS Windows98/Me/2000/XP (Windows2000/XP ) 256MB ( 512MB ) HD 400MB ( 1GB )
I/O
func() void func() { } void stab_func() { }
User interface Block API Hardware control Block Hardware User interface Block API Hardware control Block debug-only function Panel Tool
DFF_SetFuncSwap, DFF_SetMemEvent, DFF_SetTimerEvent, DFF_FileOpen, DFF_FileRead, DFF_FileWrite, DFP_ShowPanel, DFP_GetLastMouseDownPosition, DFP_ShowParts, DFP_MoveParts,
void DFEvent_RestStart(void) // This function is always called at reset start. { // calling a DF simulation function to set Function Swap DFF_SetFuncSwap( Func_Tray_stop, // pointer of function which will be swapped and ignored Callback_of_func_swap // string of the function // which will be executed by swap ); } void Callback_of_func_swap(void) { // needed procedures. }
void DFEvent_RestStart(void) // This function is always called at reset start. { // calling a DF simulation function to set Memory Access Event DFF_SetMemEvent2( (void*)p9out, // start address of the memory event area (void*)p10out, // end address of the memory event area atwrite, // specification of read access or write access Callback_of_WriteRegister // string of the function // which will be executed by the access event ); } void Callback_of_WriteRegister(unsigned long address) { // the access address is set to the argument. }
void DFEvent_RestStart(void) // This function is always called at reset start. { // calling a DF simulation function to set Timer Event Handle1 = DFF_SetSingleTimerEvent( // this event will be occurred only at once 1000, // event generating time in micro second Callback_of_TimerEvent // string of the function of the timer event ); Handle2 = DFF_SetTimerEvent( // this event will be occurred repeatedly 10000, // event generating interval time in micro second Callback_of_TimerEvent // string of the function of the timer event ); } void Callback_of_TimerEvent(unsigned long handle) { // the handle of the timer event is set to the argument. }