Home

User Manual

image

Contents

1. 15 3 2 Programming the b ard sing EMmUlatOT 225 6 18 4 0 BB RX62N H BOARD Software Development 19 4 1 Executing the sample projects siennes 19 4 2 Creating sample blinky project in CubeSuite ss 20 TS ie CAE Ps S l e E E abe adewebonstiesebeansiaet E E 24 4 4 Creating a Bootloader Compliant Application ss 25 20 Scheme Board Layouten E le ee a cr eo 26 SMES MG E ee E 26 I BOOI e E E E EE A let aneees senate eteaeeeeseses 26 O30 CHANOL 1 F0 1 RO SP i E A E E A E EA N 21 OA Change SON ed ee A de RO en de on 27 SF AD Te RENE ieee oecteceamiceeceecst cvanenseeiaceceeteeemi ce eecestouceen te 27 3 www ngxtechnologies com User Manual BB RX62N H 1 0 INTRODUCTION This document is the User Manual for BB RX62N H a cost effective evaluation platform for RENESAS s RX62N MCUs This document reflects its contents which include system setup debugging and software components This document provides detailed information on the overall design and usage of the board from a systems perspective Before proceeding further please refer the quick start guide for BB RX62N H features and hardware verification For BB RX62N H quick start guide Click here 4 www nextechnologies com User Manual BB RX62N H T2 2 0 BB RX62N H BOARD Development Tool Setup 2 1 IDE and debugger The following sections will explain the setup for CUBESUITE and ET EMULATOR as the IDE and debugger respectively Other tool op
2. select Send File from the Transfer menu option Folder CoS wWork SAebOO ARs GENE Proects USE Bootloader Filename E SB Bootloader estCode Debug T estCode bin Browse Protocol kmodem Close Cancel Fig 23 16 www ngxtechnologies com User Manual BB RX62N H T2 From the Send File dialogue select XModem from the Protocol list box and then Browse to the required file Note that this file has to be a binary file Please see section 4 3 and 4 4 for details After pressing Send the progress dialogue is displayed modern file send for RX624_BootLoader Sending C AWork RXBO0 RX_G62N HE WProjects USB_Bootloader T estCode De Packet Error checking CRC Retries lo Total retries E Last error File OE of SE Elapsed Remaining Throughput Fig 24 When complete the Bootloader will report back the status of the FLASH programming process gt Enter Flash memory base address as a 32 bit hex value e g AABBCCDD gt H FFF88000 S8888Download OK i Connected 02 20 58 Auto detect 2400 6 N 1 SCROLL CAPS NUM Capture Print echo 2 Fig 25 Press any key on the Keyboard to display the Bootloader menu It is now possible to execute the new code using option 5 17 www ngxtechnologies com User Manual BB RX62N H 3 2 Programming the board using Emulator Note To programming the board using El Emulator set the Boot Mode Selectio
3. Project ta Clean Project STEM SCKCR LONG unsigned long 0x00 Set to Default Build Option for Project RTO DDR BYTE Oxff Import Build Options RTO DR BIT BS 1 Set Link Order itMIU2 2 artMTU2 2 Fig 38 D SES O File Edit View Project Build Debug Tool Window Help sat Woof sa 6 9 46 4 NGX RX62N 100Pin blinky Proje P RSF562N8BxFP Microcontroller Address setting for unused vector ai CC RX Build Tool a eae table No oe EE Binay data file FOrm Binary P Program Analyzer Analyze Tool F i Divides the conversion file J ile file FOrm Hexadecimal a g Build tool generated files al EE SN i Binary data file FOrm Binary s linkz NGX_RX62N_100Pin c Load module file convert format E vecttbl c h iodefine h woul sbrkh 2 h stacksct h il F1 Ope Fe Ren F3 Find F4 Repl Fs Go F amp Buil F Buil FB lgno Fa Set FMB Step FR Step FZ Jump a DISCONNECT Fig 39 24 www ngxtechnologies com User Manual BB RX62N H RICE 4 4 Creating a Bootloader Compliant Application The Bootloader application allows a user to easily program a User Application into the RX62N However this User Application has to be developed with the following constraints a Reduced Code Space b Interrupt handling of the fixed vector table The Bootloader expects the User Application to provide ISR handlers for the
4. please check our website for the latest documents The Board schematic and sample code are available after the product has been registered on our website 5 2 Board layout ms 100000000000 00000000000000 amp 99000000000000000000000000 USER SWITG CHE S AE a su mn Designed by me Eh RENESAS Re62H I Ri MEE ec ah DO E 3 60 Re u mo me 00 I Y1 E 00 E m a ya i io MRG o Romm sHoom go WWW SG rensas com m 67 000000000000000000000000 0 Fig 41 26 www ngxtechnologies com User Manual BB RX62N H 6 0 CHANGE HISTORY 6 1 Change History Rev Changes Date dd mm yy By Initial release of the manual 28 05 2012 Veeresh Tumbaragi 7 0 REFERENCES In addition to this document the following references are included on the NGX BB RX62N H BOARD product and can also be downloaded from www ngxtechnologies com NGX BB RX62N H BOARD schematic for the Development board Additional references include Information on development tool being used CubeSuite http sg renesas com products tools ide ide_cubesuite_plus About this document Revision History Version V1 0 author Veeresh Tumbaragi Company Terms amp Conditions Legal NGX Technologies Pvt Ltd provides the enclosed product s under the following conditions This evaluation board kit is intended for use for ENGINEERING DEVELOPMENT DEMONSTRATION and EDUCATION OR EVALUATION PURPOSES ONLY and is not considered b
5. this example it is COM27 Click OK A COM27 Properties window appears Set the values as shown below Click OK Note Please check for your machines COM port number The COM port number can be different a e Da RX62N_BootLoader Enter details for the phone number that you want to dial Country region United States 1 Area code 0 Phone number Connect using COM27 aaar COM27 Properties o So Port Settings Bits per second Data bits Parity Stop bits How control 14 www ngxtechnologies com User Manual BB RX62N H Hyper Terminal window opens press any key to display boot menu when this is received it will display the menu as shown in below figure RX62N_BootLoader HyperTerminal ioj xj File Edit view Cal Transfer Help ple ala ae e RK62N Bootloader Main Menu v1 0 Blank Check User frea Erase User frea Erase User Block Program Flash via XModem Download Start User Program Connected 00 00 05 Auto detect 2400 8 N 1 SCROLL CAPS Num Capture Print echo Fig 20 3 1 2 1 Menu Explanation PEEN Blank Check User Area Reports back the status of the User Area Dk eae Erase User Area Erases the entire User Area Os heen Erase User Block Allows the User to erase a specific block 1 Program Flash via XModem Download Transfer the binary image file of the User Application to the RX62N and program the FLASH memory d e
6. 0 01 Installing Installation completed successfully USB Driver for 8K0 IECUBE V1 10 01 Installing Installation completed successfully sis a RL78 78K0R IECUBE V1 10 01 Installing Installation completed USB Driver for V850 IECUBE V1 10 01 Installing Installation completed successfully USB Driver for V850 IECUBE V1 10 01 Installing Installation completed successfully USB Driver for V850 MINICUBE V1 10 01 Installing Installation completed successfully USE Driver for Renesas E Series V1 01 00 Installing Installation completed successfully The installation was completed Please click Next button ee A Gort lnetallations CubeSuite __ lt Back er Cancel Fig 11 Step 11 Click on Finish to complete the installation Installer step 8 8 Setup Completion Setup is complete Click Finish to edt setting Al installations were completed successtully The latest product update information can be checked when the Launch Update Manager is checked Installation skipped The same version has been installed Cube Suite V1 02 00 E MW Launch Update Manager CubeSuitet Back Finish gt Parce Fig 12 10 www ngxtechnologies com User Manual BB RX62N H 2 3 Configuration of E1 Emulator Connecting E1 Emulator to the target board is as shown in the below image Fig 13 The configuration flow of E1 Emulator is explained below Step 1 Op
7. 50 microcontrollers CubeSuite Fig 7 Step 7 Click Next w Installer step 5 8 License Registration clicking the button to the right you can register the product license key You can also register a license key after installation CubeSuitet lt Back Q Next gt D Cancel Fig 8 8 www nextechnologies com User Manual BB RX62N H Step 8 Click Next T Installer step 6 8 Installation Settings Confirmation Setup is now ready to install CubeSuite on your computer f the newer version is already installed the older version may not be installed Tools for RLY8 and 8K microcontrollers Tools for RX microcontrollers Tools for V850 microcontrollers Emulator USB drivers Install location C Program Files Renesas Hectronics Click Next button to start installation CubeSuite Cance i Fig 9 Step 9 Wait to complete the installation of all the required drivers T Installer step 7 8 Installation Execution Install Status CubeSuite V1 02 00 Installing CubeSuite PANNE ere Fig 10 www ngxtechnologies com User Manual BB RX62N H Step 10 Click Next Ai Installer step 7 8 Installation Execution Install Status Renesas Hash Programmer V1 03 01 Installing Installation completed successfully Integrated Help V1 02 00 Installing Installation completed successfully USB Driver for MINICUBEZ V1 1
8. Analyze a include iodefine h m File include yect h void InitMTUZ 2 void void StartMTUZ 2 void void StopMTUZ 2 void unsigned int counter void main void rT ees See ee Saves the specified item s to file 29 Line 15Column Insert Western European Windows mtr DISCONNECT Fig 35 22 www ngxtechnologies com User Manual BB RX62N H Step 6 To select the debug tool right click on Debug Tool option and select RX EI JTAG as shown in the below image 3 RX62N_LED Blinky CubeSuite Project Tree File Edit View Project Build Debug Tool Window Help sor EE Xt OO T A ee a 5 8 O s os ied Se Fe EC t Tree i HRX Simula atori hna Teal void InitMTU2 2 void E RX62N_LED_Blinky c void StartMIU2 2 void T c_ sbrk c void StopMTUZ 2 void F ttbl unsigned int counter i void main void Uses JTAG connected E1 as the debug tool Fig 36 Step 7 Right click on Debug Tool go to Property and select the property value as shown in the below image RX62N_LED_Blinky x ree S File Edit View Project Build Debug Tool Window Help R sot D M X D M0 Ga amp PATEE Loops a Project Tree uated RX62N_LED_Blinky c ESN RX ET ITAG Property g B RX62N LED E Internal ROMRAM B R5F562N8BxFP Microcontrolle Size of internal ROM KBytes CC RX Build Too Size of internal RAM KBytes on RX ELUTAG Dep Size of DataFlash memory KBytes e Using Debu
9. EXTAL _ i ia se a _ Allow changing of the clock source on writing interr No Using Debug Too cl E Program Ana Ac a imi S i File Property Emulator serial No E1 115009664 i t l Build tool generateumes E Connection with Target Board oJ dbsct c Power target from the emulator MAX 200mA Yes G intprg c Supply voltage 3 3V NGX_RX62N_100Pin c Communications method JTAG Le JTAG clock MHz 165 bo sbrk c E Elek R Input Mode of ID code Specify the ID code as a 32 digit hexadecimal be c vecttbl c h iodefine h Power targat from the aes MAX ANMA id sbrk h Select whether or not to supply power from the emulator M stacksct h h typedefine h R vect h the Power target from emulator property value as No 12 www ngxtechnologies com User Manual BB RX62N H 3 0 BB RX62N H BOARD Programming 3 1 Programming options BB RX62N H BOARD can be programmed using the gt USB bootloader gt Emulator E1 Emulator with CubeSuite gt El Emulator with Renesas Flash Programmer For programming using El Emulator with Renesas Flash Programmer refer Renesas Flash Programmer user manual 3 1 1 USB bootloader The Bootloader enables the user to manage the erasing amp programming of the RX62N FLASH memory and the execution of any downloaded application This is achieved by a basic 5 option menu that can be viewed in a terminal emulator program such as HyperTerminal The USB Function periphe
10. Privileged Instruction Exception Undefined Instruction Exception Floating Point Exception NMI Exception at specific addresses If not then these Exceptions will not be handled correctly causing the User Application to fail c The output of the project has to be a binary file bin not an absolute file abs The project TestCode supplied with the source code download shows how to create a Bootloader compliant application The Reduced Code Space is handled by the linker settings As the Bootloader uses FLASH blocks the first available address for the User App is H FFF88000 It is at this address that the Bootloader expects the Fixed Vector Table to be located This can be seen in the Link Options Section dialogue at address Ox FFF88000 FIXEDVECT Right click on Build Tool and select Property click on Link Options then modify the FIXEDVECT address as shown in below image File Edit View Project Build Debug Tool Window Help gt Bl Ot Be ee fy Oy 4 ee LE 1 Property NGX_RX62N_100Pin c 4 CC RX Property bli i Outputs vector information Mo J RSFS62NSBxFP RS Optimization CC RX Build Tool Optimization type No optimize NOOPtimize ik i ona sa GE a i ZAN address Q R_1 B_2 R_2 8 R 5U 51 010 b 25 www ngxtechnologies com User Manual BB RX62N H NZ 5 0 Schematic amp Board Layout 5 1 Schematic This manual will be periodically updated but for the latest documentations
11. RX62N 100Pin Pr iE RSF562N8BxFP Micra X Disconnect from Debug Tool Shift F6 Ay CC RX Build Tool ng RX ELUTAG Debug 1 StoP aii B Program Analyzer A l Go F5 T 8 0 File B Ignore Break and Go F8 KCR LONG unsigned long 0x00020100 d a Build tool generat Ba J dbsct c Step In F11 BYTE Oxff me c intprg c C Step Over F10 n 6 NGX_RX62N_100P e5 Return Out Shift F11 resetprg c E ke CPU Reset Ctri F5 z vecttbl c Restart h iodefine h wht sbrk h ool stacksct h ig peo ils yect Stopped by user operation E EOF All Messages Rapid Build Build Tool Debug Tool Fig 28 4 0 BB RX62N H BOARD Software Development 4 1 Executing the sample projects The sample projects are provided with the available kit Steps to execute the sample projects 1 Open the project folder 2 Then open the file project_name mtp eg NGX_RX62N_100pin_blinky mtpj NGX_RX62N_100Pin Cubesuite NGX RX62N 100Pin Organize Open in CubeSuite Burn New folder A Ft Favorites a MB Desktop B Downloads Recent Places EEA A HEN Libraries P teen NGX_RX62 NGX_RX62 NGX_RX62 NGX_RX62 TR N100Pin N100Pin K N100Pin N_100Pin N akarla mtu GX12 mtud d DefaultBuil intprg iodefine lowlvl src lowsrc d jE Computer amp os C New Volume F cow New Volume G a Removable Disk H amp Microsoft Of
12. User Manual BB RX62N H BlueBoard RX62N H 7299 cw Wc ol cio oll ol cl ck ol of oN eel eke O OGO Ce 0C0 000000C 000000000600 F 000000000600 1 www ngxtechnologies com User Manual BB RX62N H About NGX Technologies NGX Technologies is a leader in embedded microcontroller product development We supply reference designs and evaluation modules to silicon companies Our customers include industry leaders like NXP and RENESAS Our core business is in helping our customers realize their embedded products Contact Information NGX Technologies Pvt Ltd No 216 5th main Road R P C Layout Vijayanagar 2nd Stage Bangalore 560 104 Phone 91 80 40925507 email sales ngxtechnologies com 2 www ngxtechnologies com User Manual BB RX62N H Table of Contents jG Da Od ol BB UB GU 1 rere eee a ree re re ere E ee ee rer ere are ere ree ae 4 2 0 BB RX62N H BOARD Development Tool Setup ss 5 DA MIDE IN COU SR 2 a E a 5 2 2 Installation amp Configuration of CUBESUITE software ss 5 2 COMME OOB OF E LEMU en een de 11 3 0 BB RX62N H BOARD Programming eeeessseseensssssssssserrssssssseerrrssssssseceresssssssscererssssssseeeresssssssees 13 Sik AO SCAU AITO OPUS ace E E euceaensctacaguee cuss N E 13 LOS BOO OA CI ao ace esos ae ontas teesesaaezers 13 22 Flashing the board usine SDS 14 Dede ah NO EXD A ON ea E E E E E E E S 15 3 1 2 2 Transferring a file in Hyperterminal via XModem Protocol
13. e Suite atest CubeSuitePlus_Package_V10200 exe Publisher Renesas Electronics C rati Type Application From F Technical Renesas cubesuite Renesa_ Cubes you trust What s the risk Fig 3 Step 3 Click on Begin CubeSuite Setup the Renesas Electronics microcontroller development tools installer Readme First CubeSuite Thank you for purchasing CubeSuite The folowing document provides information about CubeSuite development tool components his includes summaries and operating precautions Please read this document before using CubeSuite Read me first Readme PDF will not be installed Please save it to your PC Adobe Reader is required to view this file Please visit Adobe Systems Incorporated s web site for more information Click the button below to start CubeSuite setup application e Microsoft NET Framework 3 5 SP1 and Microsoft Visual C 2008 SP1 runtime libraries are required to run CubeSuite If these are not installed these are installed by the CubeSuite setup Fig 4 6 www ngxtechnologies com User Manual BB RX62N H Step 4 Click on Next Renesas Electronics Microcontroller Development Tools Installer step 1 8 Welcome to the Renesas Electronics Microcontroller development tools setup program CubeSuite V1 02 00 12 Apr 2017 2010 2012 Renesas Hectronics Corporation Note Please end all Windows programs before executing th
14. en the CubeSuite Workspace then right click on the Debug Tool option click on Using Debug Tool select RX EI JTAG as shown in below image r en G3 NGX_RX62N_100Pin CubeSuite Project Tree ae a a oa ea File Edit View Project Build Debug Tool Window Help 62 oo aS Se 3 x Columns NGX RX62M 100Pin Project void StartMIU2 2 void J R5F562N8BxFP Microcontroller void StopMTU2 2 void E 2 int counter oe i il File zy P onan H Build tool generated Ti RX Simulator dbsct c e intprg c NGX_RX62N_100Pin c resetprg c sbrk c wecttbl c h iodefine h h sbrk h sia DISCONNECT E 7 A 11 www ngxtechnologies com User Manual BB RX62N H T2 Step 2 Right click on Debug Tool option click on property and set the property value as shown in below image Note Target Board can be powered through Emulator or USB When you powered the board through Emulator make sure that the USB is not connected When you powered the board through USB select NGX_RX62N_100Pin CubeSuite Project Tree un re a File Edit View Project Build Debug Tool Window Help sot Bg X Bo ow CE Oy sz ce es Us EEFE Project Tree edd Property Zf NGX_RX62N_100Pin c 5 08 RX ENUTAG Property a NGX RX62N 100Pin Project Size of DataFlash memory KEytes 32 l os jk RSFS62N8BxFP Microcontroller E Clock A CC RX Build Tool Main clock source
15. fice Click to typedefine NGX_RX62N_100Pin Date modified 25 05 2012 18 22 Date created 25 05 2012 14 06 MTP File Size 235 KB Fig 29 19 www ngxtechnologies com User Manual BB RX62N H 3 This launches the IDE File Edit View Project Build Debug Tool Window Help GX Start E Ah x 2 i m K NGX_RX62N_100Pin c x 45 0 y n Columns c A NGX RX62N 100Pin Project RSF562N86xFP Microcontroller 4 CC RX Build Tool void InitMTU2_2 void EN RX ELUTAG Debug Tool l void StartMIUZ 2 void ci Program Analyzer Analyze Tool 3 vrd a Z vord i T unsigned int counter E void main void dbsct c f SYSTEM SCKCR LONG unsigned long 0x00020 FORTO DDR BYTE Oxff PORTO DR BIT BS h iodefine h h sbrk h h stacksct h ad h_ vect h All Messages 25 Line 1 Column Insert Western European Windows ata DISCONNECT Fig 30 4 To build and download the code using ET emulator follow the steps in section 3 2 4 2 Creating sample blinky project in CubeSuite Follow the below steps for creating blinky project Step 1 Open the CubeSuite IDE E u ee o File Edit View Project Build Debug Tool Window Help stat D Ex M E W 44 Learn About CubeSuite We recommend reading the tutorial to find out what can be done in CubeSuite The tutorial contains the information on how to effectively use CubeSuite Create New P
16. g Tool Emulator serial No oem E A sbrk c bebe Supply voltage EE Communications method JTAG z Parag ia JTAG clock MHz 16 5 fossal sbr as stacksct h Power target from the emulator MAX 200mA i Select whether or not to supply power from the emulator ots typedefine h h vect h m Output a x F1 Open FE Rena F3 Find F Repla F5Go FE Build F Build FB ignore F9 SevD Fi Step FA Step In B Jump to Displays Properties panel g DISCONNECT Fig 37 Note Target Board can be powered through Emulator or USB When you powered the board through Emulator make sure that the USB is not connected When you powered the board through USB select the Power target from emulator property value as No Step 8 To build and download follow the steps in section 3 2 23 www ngxtechnologies com User Manual BB RX62N H 4 3 Creating Bin File For creating bin file follow the below steps Step 1 Right click on Build Tool option click on property as shown in below image NGX_RX62N_100Pin_blinky CubeSuite Project Tree Cameo x File Edit View Project Build Debug Tool Window Help GX Start 4 i SS ke Ag Project Tree ule Property NGX_RX62N_100Pin c x 45 ls w Columns NGX RX62N 100Pin blinky Proje 19 void StartMTU2_2 void MMicrocontroller 20 void StopMTU2_2 void n nsianed int counter void rfp Rebuild
17. herefore our arrangement with the user is not exclusive NGX Technologies assumes no liability for applications assistance customer product design software performance or infringement of patents or services described herein Please read the User s Guide and specifically the Warnings and Restrictions notice in the User s Guide prior to handling the product This notice contains important safety information about temperatures and voltages No license is granted under any patent right or other intellectual property right of NGX Technologies covering or relating to any machine process or combination in which such NGX Technologies products or services might be or are used Disclaimers Information in this document is believed to be reliable and accurate However NGX Technologies does not give any representations or warranties expressed or implied as to the completeness or accuracy of such information and shall have no liability for the consequences of use of such information NGX Technologies reserves the right to make changes to information published in this document at any time and without notice including without limitation specifications and product descriptions This document replaces and supersedes all information supplied prior to the publication hereof Trademarks All referenced trademarks product names brands and service names are the property of their respective owners 28 www ngxtechnologies com
18. is setup program CubeSuite lt Back nee Cancel Fig 5 Step 5 Accept the end user license agreement and click Next i Installer step 2 8 Software License Agreement THE END USER LICENSE AGREEMENT Please read the following end user license agreement Ce SC gt iE LICENSE AGREEMENT THIS SOFTWARE LICENSE AGREEMENT made and entered into by and between Renesas Electronics Corporation a Japanese corporation having its principal place of business at 2 6 2 Ote machi Chiyoda ku Tokyo 100 0004 Japan LICENSOR and the Customer LICENSEE with the following terms and conditions about the provided software program Licensed Program SECTION 1 LICENSE 1 1 Subject to complying to the terms and conditions set forth herein and executing only for develop the other program as executing the fights and licenses relating to the Licensed Program LICENSOR grants to LICENSEE non exclusive and non ransterable rights relating to the Licensed Program set forth in follows Do you accept to the end user license agreement CubeSuite ma Fig 6 7 www ngxtechnologies com User Manual BB RX62N H Step 6 Click Next Ai Installer step 3 8 Development Tools Selection Please specify the development tools to install M Tools for RL78 and 78K microcontrollers M Tools for RX microcontrollers Drive C Free space M Emulator USB drivers 25 893 318KB Required space M Tools for V8
19. n Switch J3 to 0000 Step 1 Build the workspace as shown in below image J NGX_RX62N 1 Shift F7 ta Clean Project Rapid Build Update Dependencies Build NGX_RX62N_100Pin f Rebuild NGX_RX62N_100Pin LA Clean NGX_RX62N_100Pin Update Dependencies of NGX_RX62N_100Pin Stop Build Ctrl F7 h iodefine h wot sbrk h Build ended Error 0 Warning 0 Ended Success 1 Projects Failed 0 Projects 25 May 2012 All Messages Fig 26 Step 2 After configuring the Emulator E1 Emulator connect the Debug tool E1 Emulator to the workspace as shown in below image ICY PYEIN 4 1 NGX_RX62N_10 Hot Plug in 1 Upload Disconnect from Debug Tool Shift F6 Stop Shift F5 Go 2 Ignore Break and Go KCR LONG unsigned long 0x00020100 ey Build tool generat GJ dbsct c ae ts BYTE Oxff intprg c Step Over E NGX_RX62N100P e Return Out Shift F11 i sve c resetprg c CPU Reset Ctrl F5 Restart lt iodefine h wot sbrkh h stacksct h wht typedefine h A vecth Build ended Error 0 Warning 0 Ended Success 1 Projects Failed 0 Projects 25 May 2012 All Messages 18 www ngxtechnologies com User Manual BB RX62N H Step 3 After success of the connection click on Download to download the code into target board as shown in the below image To run the code press F5 Build amp Download Connect to Debug Tool Hot Plug in Upload LB NGX
20. ral is used and is configured as CDC Class thus making the USB Function peripheral appear as a COM port on a PC Please note that you will have to provide the CDC inf file for the PC the first time the application is run This is provided in the source code at the following location UUSB_Bootloader USB_Bootloader Host Driver The basic operation of the Bootloader is detailed by the flow diagram in below figure Inatialise the USB peripheral PowerQn Reset Initialise the MTU peripheral Start MTU time 0s Ye No time Ss 7 a a wee PR i an ae a a d Is User App a No aa VBUS interrupt No sy grammed int aii e USB cable atiached Device a Yes a Run User App a whilet N P Le Wa Jw m iN E a Character detected _ No lt a fromHostPC 7 ae a LE Yes 7 ES mur i Display Bootloader Menu Le Fig 16 13 www ngxtechnologies com User Manual BB RX62N H 3 1 2 Flashing the board using USB Ne First load the Bootloader program using Emulator Set the Boot mode select switch J3 to 1100 If a USB cable is connected to the RSK within 5 seconds of Power On the RX62N will enumerate with the PC configure the USB Function peripheral as a CDC Class device and then wait for a character to be received on the USB Com port Open the hyper terminal as shown in the below image tT Avira i Dream Aquarium 1 24 A Games A Google Chrome A Mic
21. roject B A new project can be created o A new project can also be created by reusing the file configuration registered to an existing project Drop here to open the project fle mt Out x EOF All Messages F Open F2 Rena F3 Find F Repl F amp Go FE Build F Build FB ignor F2 Set M Step FT Step FIE Jump wig DISCONNECT Fig 31 20 www ngxtechnologies com User Manual BB RX62N H Step 2 Click on to the Project tab Create New project gt ta File Edit View Project Build Debug Tool Window Help Favorite Projects Add Set Project as Active Project Close Project te Save Project Ctrl Shift S Save Project As Remove from Project Shift Del ect can also be created by reusing the file on registered to an existing project Save Project and Development Tools as Package Drop here to op file mtpj Fig 32 Microcontroller Using microcontroller ES Search microcontroller 21 I R5F562N8AxF B 144pin J R5F562N8AxFP 100pin J R5F562N8AxLE 145pin J R5F562N8BxBG 176pin R5F562N8BxFP 1 Product Mame R5F562N8BxFP On chip ROM size KBytes 512 On chip RAM size Bytes 98304 Additional Information Package PLQP0100KB A G Data
22. rosoft Silverlight Im Mozilla Firefox HE y Registry Mechanic A Startup Ce WinRAR ons y fen BB Adobe Reader x d my d D Accessibility Im Entertainment gt mA System Tools J Address Book gt Calculator gt EM Command Prompt Internet Browser Choice gt Notepad gt W Paint gt Program Compatibility Wizard Remote Desktop Connection Synchronize tl f MOTME TETE Peivevisioedt mV st ETTINIA UE a 1 a Remote Assistance windows Media Player Windows Movie Maker A Flash Magic VA Kell uvision4 Lu TA Microsoft Office im CooCox Software ipa X Im CamStudio Im LPCXpresso v4 1 0190 z I VideoLAN Microsoft Update ci FETES LA vaGar To ft Update Catalog HA YAGARTO Tools A UsBlyzer A Microsoft Visual Studio 2008 A Microsoft Windows SDK v6 0A Set Program Access and Defaults Lt ON A dE De ON SE Ay i BEL ALLPDP Converter 3 4 Documents pe Settings Search Help and Support Buns Log Off easyarmlabs EE ae Le Windows XP Professional Turn OFF Computer d 2 ernet telnet sites bulletin y computers using eil 2 Wireless Network Setup Wizard HyperTerminal Start Lj BeSRM_Jatest pdf a FL EK LMase962_EvalBo it UM_Template1 doe O CAWorkingx Bluebo iv UM_Template1 doe Pree Download POF ml he Fig 17 A Connect To window opens where you have to select the COM port In
23. s Start User Program Allows the User to start execution of the User Application if code is detected in the User Area 3 1 2 2 Transferring a file in Hyperterminal via XModem Protocol For Bootloader menu options 1 2 3 amp 5 the User only need to enter data via the keyboard responses Bootloader menu option 4 requires data from the keyboard and then for data to be transmitted via the XModem protocol 15 www ngxtechnologies com User Manual BB RX62N H When using Hyperterminal this is achieved by the Transfer menu option loxi Fie Edit View Call Transfer Help Dia al al el gt Blank checking user area User area is BLANK RK62N Bootloader Main Menu v1 0 Blank Check User Area Erase User frea Erase User Block Program Flash via XModem Download Start User Program gt Enter Flash memory base address as a 32 bit hex value e g AABBCCDD gt H FFF 88088 Program Flash N y Start XModem download Connected 01 56 08 Auto detect 2400 8 N 1 SCROLL CAPS NUM Capture Print echo Fig 21 When Option 4 is entered the User will be prompted to enter the address to program code to followed by a prompt to confirm the programming process RX62M_BootLoader HyperTerminal ioj x File Edit View Cal Transfer Help Blel el2 a 3 a Send File Receive File Capture Text Send Text File Capture to Printer Fig 22 When Start XModem Download 1s displayed
24. sheets Renesas_documents RX62N _LED_Blinky RX62N_LED_Blinky mtpj E Pass the file composition of an existing project to the new project Project to be passed Input project file to be diverted C Copy composition files in the diverted project folder to a new project folder www ngxtechnologies com User Manual BB RX62N H Step 4 The following window opens double click on RX62N_LED_Blinky c file then write the blinky code For blinky code refer BB RX62N_100pin_blinky sample program File Edit View dis Build Debug Tool Window Help M stat LE HE x M9 AE amp GE EG D sz SS BS a new ifdef cplusplus Hexztern C void abort void 3 RX Simulator se Tool h ie endif Program Analyzer Analyze void main void ah RX62N_LED_Blinky c oF e sbrk c 29 ifdef cplusplus A ttbl a void abort void a h iodefine h SA RON le sbrk h eee ee ee ee E 17 Line 17Column Insert Western European Windows sia DISCONNECT Fig 34 Step 5 After writing the code save the code as shown in the below image File Edit View Project Build Debug Tool Window Help start TOA lt 4 cA bee 1 re ere eel E Ctrl 5 RX62N_LED_Blinky c fe a i Columns Fly NT see Microcontre A CC RX Build Tool sin RA Simulator Debug Tool oe Program Analyzer
25. tions that could be considered are A El Emulator and High Performance Embedded Workshop 2 2 Installation amp Configuration of CUBESUITE software The Installation of CubeSuite software is explained below Note We have used CubeSuite version V1 02 00 while creating the User manual for this evaluation kit Please ensure that you are using CubeSuite version V1 02 00 or above Step 1 Open the CubeSuite setup BS latest Organize Open Burn New folder All UF Favorites oa Date modified Type B Desktop gi CubeSuitePlus_ Package 0200 eye 75 5319 15 13 E E Downloads 5 Recent Places is Run as administrator Troubleshoot compatibility Zip Select Left File for Compare Libraries M e A JB Ashwin R TortoiseSVN gt 1E Computer 2 Add to archive G Network Add to CubeSuitePlus_Package_V10200 rar pM ASHWIN PC 3S Compress and email jE DEEPAK 3S Compress to CubeSuitePlus_Package_V10200 rar and email jE MARTIN 3 Extract files jE NAGARAIPC ee jE NGx12 PC Siig CubeSuitePlus_Package_V 10200 amp Open with WinRAR jE Nex13Pc er 1 NGx14PC Pin to Start Menu JE NGX15 PC Restore previous versions jE PARAN PC jE RAVI VM RE M vinaypo Fa Cut gt CubeSuitePlus Package V10200 exe Dat p Application Fig 2 5 www ngxtechnologies com User Manual BB RX62N H Step 2 Click on Run Open File Security Warning Do you want to nun this file CE Nam
26. y NGX Technologies Pvt Ltd to be a finished end product fit for general consumer use Persons handling the product s must have electronics training and observe good engineering practice standards As such the goods being provided are not intended to be complete in terms of required design marketing and or manufacturing related protective considerations including product safety and environmental measures typically found in end products that incorporate such semiconductor components or circuit boards This evaluation board kit does not fall within the scope of the European Union directives regarding electromagnetic compatibility restricted substances RoHS recycling WEEE FCC CE or UL and therefore may not meet the technical requirements of these directives or other related directives The user assumes all responsibility and liability for proper and safe handling of the goods Further the user indemnifies NGX Technologies from all claims arising from the handling or use of the goods Due to the open construction of the product it is the user s responsibility to take any and all appropriate precautions with regard to electrostatic discharge 27 www ngxtechnologies com User Manual BB RX62N H EXCEPT TO THE EXTENT OF THE INDEMNITY SET FORTH ABOVE NEITHER PARTY SHALL BE LIABLE TO THE OTHER FOR ANY INDIRECT SPECIAL INCIDENTAL OR CONSEQUENTIAL DAMAGES NGX Technologies currently deals with a variety of customers for products and t

Download Pdf Manuals

image

Related Search

Related Contents

  HF200X  取扱説明書 - 長府工産株式会社  Speed Skating Canada  PowerPrep™ HP Plasmid Purification Systems  Descargar publicación en PDF  Samsung SGH-S208 用户手册  Data Sheet - Embedded Systems Solutions  Passo 4 - Gigabyte  FX 24 Installateur  

Copyright © All rights reserved.
Failed to retrieve file