Renesas 70 manuals
Computer Equipment > Network Card
When we buy new device such as Renesas 70 we often through away most of the documentation but the warranty.
Very often issues with Renesas 70 begin only after the warranty period ends and you may want to find how to repair it or just do some service work.
Even oftener it is hard to remember what does each function in Network Card Renesas 70 is responsible for and what options to choose for expected result.
Fortunately you can find all manuals for Network Card on our side using links below.
162 pages 748.4 Kb
3 Preface Requirements for MR308 Use C-compiler package M3T-NC308WA(abbreviated as NC308) for M16C/70,80 M32C/80 series micro- Release Note Users Manual (PDF file) Reference Manual (PDF file) 5 Contents 8 List of Figures 10 List of Tables 19 Chapter 3 Introduction to MR308 20 3.1 Concept of Real-time OS 26 3.2 Service Call 29 3.3 Task 31 36 TCBthe timeout function is used. 37 3.4 System States 40 3.5 MR308 Kernel Structure 3.5.1 Module Structure 3.5.2 Module Overview 41 Scheduler 3.5.3 Task Management Function 42 Activate Task (act_tsk, iact_tsk) Activate Task (sta_tsk, ista_tsk) Terminate Invoking Task (ext_tsk) Terminate Task (ter_tsk) TaskA Task B ter_tsk(B) Task B reset Change Task Priority (chg_pri, ichg_pri) 43 Reference task priority (get_pri, iget_pri) Reference task status (simple version) (ref_tst, iref_tst) Reference task status (ref_tsk, iref_tsk) 3.5.4 Synchronization functions attached to task 44 Put Task to sleep (slp_tsk,tslp_tsk) Wakeup task (wup_tsk, iwup_tsk) Wake up r eque st c oun t 0 0 1 0 0 0 0 1 2 1 Cancel Task Wakeup Requests (can_wup) slp_tsk slp_tsk wup_tsk wup_tsk wup_tskTask slp_tsk slp_tsk wup_tsk wup_tsk can_wup Suspend task (sus_tsk, isus_tsk) Resume suspended task (rsm_tsk, irsm_tsk) 45 Forcibly resume suspended task (frsm_tsk, ifrsm_tsk) Release task from waiting (rel_wai, irel_wai) 46 Delay task (dly_tsk) 3.5.5 Synchronization and Communication Function (Semaphore) SemaphoreTask A cquired Returned after use 47 Release Semaphore Resource(sig_sem, isig_sem) Acquire Semaphore Resource(wai_sem, twai_sem) Acquire Semaphore Resource(pol_sem, ipol_sem) 48 Reference Semaphore Status (ref_sem, iref_sem) 3.5.6 Synchronization and Communication Function (Eventflag) 49 Set Eventflag (set_flg, iset_flg) Clear Eventflag (clr_flg, iclr_flg) Wait for Eventflag (wai_flg, twai_flg) Wait for Eventflag (polling)(pol_flg, ipol_flg) Reference Eventflag Status (ref_flg, iref_flg) 51 Send to Data Queue(snd_dtq, tsnd_dtq) Send to Data Queue (psnd_dtq, ipsnd_dtq) Forced Send to Data Queue (fsnd_dtq, ifsnd_dtq) Receive from Data Queue (rcv_dtq, trcv_dtq) Receive from Data Queue (prcv_dtq,iprcv_dtq) Reference Data Queue Status (ref_dtq,iref_dtq) 53 Send to Mailbox (snd_mbx, isnd_mbx) Receive from Mailbox (rcv_mbx, trcv_mbx) Receive from Mailbox (polling) (prcv_mbx, iprcv_mbx) Reference Mailbox Status (ref_mbx, iref_mbx) 3.5.9 Memory pool Management Function 54 Acquire Fixed-size Memory Block (polling) (pget_mpf, ipget_mpf) Release Fixed-size Memory Block (rel_mpf, irel_mpf) Reference Fixed-size Memory Pool Status (ref_mpf, iref_mpf) 55 Acquire Variable-size Memory Block (pget_mpl) 56 Release Acquire Variable-size Memory Block (rel_mpl) Reference Acquire Variable-size Memory Pool Status (ref_mpl, iref_mpl) 3.5.10 Time Management Function 57 Place a task in a finite time wait state by specifying a timeout value 3.5.11 Cyclic Handler Function 59 Start Cyclic Handler Operation (sta_cyc, ista_cyc) Stop Cyclic Handler Operation (stp_cyc, istp_cyc) Reference Cyclic Handler Status (ref_cyc, iref_cyc) 3.5.12 Alarm Handler Function 60 Start Alarm Handler Operation (sta_alm, ista_alm) Stop alarm Handler Operation (stp_alm, istp_alm) Reference Alarm Handler Status (ref_alm, iref_alm) 3.5.14 Interrupt Management Function 62 Returns from interrupt handler (ret_int) 3.5.15 System Configuration Management Function 63 References Version Information(ref_ver, iref_ver) 3.5.16 Extended Function (Short Data Queue) Send to Short Data Queue (vsnd_dtq, vtsnd_dtq) Send to Short Data Queue (vpsnd_dtq, vipsnd_dtq) Forced Send to Short Data Queue (vfsnd_dtq, vifsnd_dtq) Receive from Short Data Queue(vrcv_dtq, vtrcv_dtq) Receive from Short Data Queue (vprcv_dtq, viprcv_dtq) Reference Short Data Queue Status (vref_dtq, viref_dtq) 69 Chapter 4 Applications Development Procedure Overview 70 4.1 Overview 1. Generating a project 2. Coding the application program 3. Creating a configuration file 4. Executing the configurator 5. System generation 6. Writing to ROM Chapter 4 Applications Development Procedure Overview - 61 - mr308tbl lmc308 ROM write format Configurator cfg308 Configuration file C compiler nc308 as308 ln308 Load module converter Create Jamp table utility MR308 C standard 71 HEW 74 4.2.2 Configuration File Preparation Figure 4.3 Configuration File Example 75 4.2.3 Configurator Execution 4.2.4 System generation 4.2.5 Writing ROM 77 Chapter 5 Detailed Applications Chapter 5 Detailed Applications - 68 - 78 5.1 Program Coding Procedure in C Language 83 5.2 Program Coding Procedure in Assembly Language 88 5.3 The Use of INT Instruction 5.4 The Use of registers of bank 89 5.5 Regarding Interrupts 5.5.1 Types of Interrupt Handlers Kernel(OS-dependent) interrupt handler Non-kernel(OS-independent) interrupt handler Low 0 1 2 3 4 5 6 7 5.5.2 The Use of Non-maskable Interrupt 5.5.3 Controlling Interrupts 90 For service calls that can be issued from only task context. Chapter 5 Detailed Applications - 85 - 95 5.8.1 C Language Startup Program (crt0mr.a30) 100 5.9 Memory Allocation asm_sec.inc c_sec.inc 104 5.10 Using in M16C/70 Series 106 6.1 Configuration File Creation Procedure 6.1.1 Configuration File Data Entry Format Comment Statement End of statement Numerical Value () - / % From left to right + - (Binary_minus) Low From loft to right 107 123 123 + 0x23 (23/4 + 3) 100B + 0aH _TASK1 IDLE3 main() func() 16MHz 8.1234MHz Maximum value of priority ; Timeout function Task Pause Time tick denominator Time tick numerator Maximum message priority valueChapter 6 Using Configurator - 119 - 129 6.1.3 Configuration File Example 133 6.2 Configurator Execution Procedures 6.2.1 Configurator Overview 1. Executing the configurator requires the following input files: Configuration file (XXXX.cfg) Default configuration file (default.cfg) makefile template files (makefile.dos, makefile, Makefile) include template file(mr308.inc, sys_ram.inc) MR308 version file (version) 2. When the configurator is executed, the files listed below are output. System data definition file (sys_rom.inc, sys_ram.inc) Include file (mr308.inc) System generation procedure description file(makefile) 142 6.3 Editing makefile 143 6.4 About an error when you execute make mr308tbl Warning : You need not specify systime.timeout YES in configuration file tslp_tsk, twai_flg, trcv_mbx, twai_sem, tsnd_dtq, trcv_dtq, vtsnd_dtq, vtrcv_dtq 146 7.1 Processing Procedures for System Calls from Handlers 150 7.2 Stacks 7.2.1 System Stack and User Stack User Stack System Stack 152 8.1 Overview of Sample Program task2 operates in order of the following. Chapter 8 Sample Program Description - 143 - 153 8.2 Program Source Listing Chapter 8 Sample Program Description - 144 - 154 8.3 Configuration Fil e 156 9.1 How to Form Separate ROMs Programs to be located in the kernel ROM 157 Programs to be located in the application ROM How to locate individual programs is given below. 161 2005. Renesas Technology Corp. and Renesas Solutions Corp.,
Also you can find more Renesas manuals or manuals for other Computer Equipment.