From 623d094259083eee3fde3afcc56a8fe90e04d379 Mon Sep 17 00:00:00 2001 From: richardbarry Date: Wed, 17 Apr 2013 08:47:27 +0000 Subject: [PATCH] Update RX600 IAR RX62N demo to use latest IAR tools. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@1869 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- .../Demo/RX600_RX62N-RDK_IAR/RTOSDemo.ewd | 330 ++++++++++++++---- .../Demo/RX600_RX62N-RDK_IAR/RTOSDemo.ewp | 256 ++++++++++---- .../settings/RTOSDemo.cspy.bat | 15 +- .../settings/RTOSDemo.dbgdt | 10 +- .../RX600_RX62N-RDK_IAR/settings/RTOSDemo.dni | 62 +++- .../settings/RTOSDemo.wsdt | 4 +- 6 files changed, 535 insertions(+), 142 deletions(-) diff --git a/FreeRTOS/Demo/RX600_RX62N-RDK_IAR/RTOSDemo.ewd b/FreeRTOS/Demo/RX600_RX62N-RDK_IAR/RTOSDemo.ewd index 61f282b48..9272a12b0 100644 --- a/FreeRTOS/Demo/RX600_RX62N-RDK_IAR/RTOSDemo.ewd +++ b/FreeRTOS/Demo/RX600_RX62N-RDK_IAR/RTOSDemo.ewd @@ -12,7 +12,7 @@ C-SPY 2 - 4 + 5 1 1 + + + + + + RXEMUE20 - 1 + 3 - 0 + 3 1 1 + + + + RXJLINK - 1 + 3 - 0 + 4 1 1 + + + + + @@ -194,41 +254,49 @@ 0 - $TOOLKIT_DIR$\plugins\rtos\uCOS-II\uCOS-II-286-KA-CSpy.ewplugin + $TOOLKIT_DIR$\plugins\rtos\OpenRTOS\OpenRTOSPlugin.ewplugin 0 - $TOOLKIT_DIR$\plugins\rtos\uCOS-II\uCOS-II-KA-CSpy.ewplugin + $TOOLKIT_DIR$\plugins\rtos\Quadros\Quadros_EWB6_Plugin.ewplugin 0 - $EW_DIR$\common\plugins\CodeCoverage\CodeCoverage.ENU.ewplugin - 1 + $TOOLKIT_DIR$\plugins\rtos\SafeRTOS\SafeRTOSPlugin.ewplugin + 0 - $EW_DIR$\common\plugins\FreeRTOS\FreeRTOSPlugin.ewplugin + $TOOLKIT_DIR$\plugins\rtos\ThreadX\ThreadXRxPlugin.ENU.ewplugin 0 - $EW_DIR$\common\plugins\OpenRTOS\OpenRTOSPlugin.ewplugin + $TOOLKIT_DIR$\plugins\rtos\uCOS-II\uCOS-II-286-KA-CSpy.ewplugin 0 - $EW_DIR$\common\plugins\Orti\Orti.ENU.ewplugin + $TOOLKIT_DIR$\plugins\rtos\uCOS-II\uCOS-II-KA-CSpy.ewplugin 0 - $EW_DIR$\common\plugins\Profiling\Profiling.ENU.ewplugin - 1 + $TOOLKIT_DIR$\plugins\rtos\uCOS-III\uCOS-III-KA-CSpy.ewplugin + 0 - $EW_DIR$\common\plugins\Stack\Stack.ENU.ewplugin + $EW_DIR$\common\plugins\CodeCoverage\CodeCoverage.ENU.ewplugin 1 + + $EW_DIR$\common\plugins\Orti\Orti.ENU.ewplugin + 0 + $EW_DIR$\common\plugins\SymList\SymList.ENU.ewplugin 1 + + $EW_DIR$\common\plugins\uCProbe\uCProbePlugin.ENU.ewplugin + 0 + @@ -241,7 +309,7 @@ C-SPY 2 - 4 + 5 1 1 + + + + + + RXEMUE20 - 1 + 3 - 0 + 3 1 1 + + + + RXJLINK - 1 + 3 - 0 + 4 1 1 + + + + + @@ -423,41 +551,49 @@ 0 - $TOOLKIT_DIR$\plugins\rtos\uCOS-II\uCOS-II-286-KA-CSpy.ewplugin + $TOOLKIT_DIR$\plugins\rtos\OpenRTOS\OpenRTOSPlugin.ewplugin 0 - $TOOLKIT_DIR$\plugins\rtos\uCOS-II\uCOS-II-KA-CSpy.ewplugin + $TOOLKIT_DIR$\plugins\rtos\Quadros\Quadros_EWB6_Plugin.ewplugin 0 - $EW_DIR$\common\plugins\CodeCoverage\CodeCoverage.ENU.ewplugin - 1 + $TOOLKIT_DIR$\plugins\rtos\SafeRTOS\SafeRTOSPlugin.ewplugin + 0 - $EW_DIR$\common\plugins\FreeRTOS\FreeRTOSPlugin.ewplugin + $TOOLKIT_DIR$\plugins\rtos\ThreadX\ThreadXRxPlugin.ENU.ewplugin 0 - $EW_DIR$\common\plugins\OpenRTOS\OpenRTOSPlugin.ewplugin + $TOOLKIT_DIR$\plugins\rtos\uCOS-II\uCOS-II-286-KA-CSpy.ewplugin 0 - $EW_DIR$\common\plugins\Orti\Orti.ENU.ewplugin + $TOOLKIT_DIR$\plugins\rtos\uCOS-II\uCOS-II-KA-CSpy.ewplugin 0 - $EW_DIR$\common\plugins\Profiling\Profiling.ENU.ewplugin - 1 + $TOOLKIT_DIR$\plugins\rtos\uCOS-III\uCOS-III-KA-CSpy.ewplugin + 0 - $EW_DIR$\common\plugins\Stack\Stack.ENU.ewplugin + $EW_DIR$\common\plugins\CodeCoverage\CodeCoverage.ENU.ewplugin 1 + + $EW_DIR$\common\plugins\Orti\Orti.ENU.ewplugin + 0 + $EW_DIR$\common\plugins\SymList\SymList.ENU.ewplugin 1 + + $EW_DIR$\common\plugins\uCProbe\uCProbePlugin.ENU.ewplugin + 0 + @@ -470,7 +606,7 @@ C-SPY 2 - 4 + 5 1 1 + + + + + + RXEMUE20 - 1 + 3 - 0 + 3 1 1 + + + + RXJLINK - 1 + 3 - 0 + 4 1 1 + + + + + @@ -652,41 +848,49 @@ 0 - $TOOLKIT_DIR$\plugins\rtos\uCOS-II\uCOS-II-286-KA-CSpy.ewplugin + $TOOLKIT_DIR$\plugins\rtos\OpenRTOS\OpenRTOSPlugin.ewplugin 0 - $TOOLKIT_DIR$\plugins\rtos\uCOS-II\uCOS-II-KA-CSpy.ewplugin + $TOOLKIT_DIR$\plugins\rtos\Quadros\Quadros_EWB6_Plugin.ewplugin 0 - $EW_DIR$\common\plugins\CodeCoverage\CodeCoverage.ENU.ewplugin - 1 + $TOOLKIT_DIR$\plugins\rtos\SafeRTOS\SafeRTOSPlugin.ewplugin + 0 - $EW_DIR$\common\plugins\FreeRTOS\FreeRTOSPlugin.ewplugin + $TOOLKIT_DIR$\plugins\rtos\ThreadX\ThreadXRxPlugin.ENU.ewplugin 0 - $EW_DIR$\common\plugins\OpenRTOS\OpenRTOSPlugin.ewplugin + $TOOLKIT_DIR$\plugins\rtos\uCOS-II\uCOS-II-286-KA-CSpy.ewplugin 0 - $EW_DIR$\common\plugins\Orti\Orti.ENU.ewplugin + $TOOLKIT_DIR$\plugins\rtos\uCOS-II\uCOS-II-KA-CSpy.ewplugin 0 - $EW_DIR$\common\plugins\Profiling\Profiling.ENU.ewplugin - 1 + $TOOLKIT_DIR$\plugins\rtos\uCOS-III\uCOS-III-KA-CSpy.ewplugin + 0 - $EW_DIR$\common\plugins\Stack\Stack.ENU.ewplugin + $EW_DIR$\common\plugins\CodeCoverage\CodeCoverage.ENU.ewplugin 1 + + $EW_DIR$\common\plugins\Orti\Orti.ENU.ewplugin + 0 + $EW_DIR$\common\plugins\SymList\SymList.ENU.ewplugin 1 + + $EW_DIR$\common\plugins\uCProbe\uCProbePlugin.ENU.ewplugin + 0 + diff --git a/FreeRTOS/Demo/RX600_RX62N-RDK_IAR/RTOSDemo.ewp b/FreeRTOS/Demo/RX600_RX62N-RDK_IAR/RTOSDemo.ewp index 6350bd8d7..152a86330 100644 --- a/FreeRTOS/Demo/RX600_RX62N-RDK_IAR/RTOSDemo.ewp +++ b/FreeRTOS/Demo/RX600_RX62N-RDK_IAR/RTOSDemo.ewp @@ -10,7 +10,7 @@ 1 General - 2 + 3 4 1 @@ -71,8 +71,8 @@ ICCRX - 3 + 5 - 11 + 14 1 1 - + + + ARX - 2 + 3 - 5 + 6 1 1 + @@ -603,9 +615,9 @@ ILINK - 1 + 3 - 1 + 4 1 1 - + + + + + + + + @@ -872,7 +914,7 @@ 1 General - 2 + 3 4 1 @@ -933,8 +975,8 @@ ICCRX - 3 + 5 - 11 + 14 1 1 - + + + ARX - 2 + 3 - 5 + 6 1 1 + @@ -1464,9 +1518,9 @@ ILINK - 1 + 3 - 1 + 4 1 1 - + + + + + + + + @@ -1733,7 +1817,7 @@ 1 General - 2 + 3 4 1 @@ -1794,8 +1878,8 @@ ICCRX - 3 + 5 - 11 + 14 1 1 - + + + ARX - 2 + 3 - 5 + 6 1 1 + @@ -2326,9 +2422,9 @@ ILINK - 1 + 3 - 1 + 4 1 1 - + + + + + + + + diff --git a/FreeRTOS/Demo/RX600_RX62N-RDK_IAR/settings/RTOSDemo.cspy.bat b/FreeRTOS/Demo/RX600_RX62N-RDK_IAR/settings/RTOSDemo.cspy.bat index 90ccab79a..f156635c0 100644 --- a/FreeRTOS/Demo/RX600_RX62N-RDK_IAR/settings/RTOSDemo.cspy.bat +++ b/FreeRTOS/Demo/RX600_RX62N-RDK_IAR/settings/RTOSDemo.cspy.bat @@ -2,14 +2,23 @@ @REM C-SPY Debugger, as an aid to preparing a command line for running @REM the cspybat command line utility using the appropriate settings. @REM -@REM You can launch cspybat by typing the name of this batch file followed -@REM by the name of the debug file (usually an ELF/DWARF or UBROF file). @REM Note that this file is generated every time a new debug session @REM is initialized, so you may want to move or rename the file before @REM making changes. +@REM +@REM You can launch cspybat by typing the name of this batch file followed +@REM by the name of the debug file (usually an ELF/DWARF or UBROF file). +@REM +@REM Read about available command line parameters in the C-SPY Debugging +@REM Guide. Hints about additional command line parameters that may be +@REM useful in specific cases: +@REM --download_only Downloads a code image without starting a debug +@REM session afterwards. +@REM --silent Omits the sign-on message. +@REM --timeout Limits the maximum allowed execution time. @REM -"C:\devtools\IAR Systems\Embedded Workbench 6.0\common\bin\cspybat" "C:\devtools\IAR Systems\Embedded Workbench 6.0\rx\bin\rxproc.dll" "C:\devtools\IAR Systems\Embedded Workbench 6.0\rx\bin\rxemue20.dll" %1 --plugin "C:\devtools\IAR Systems\Embedded Workbench 6.0\rx\bin\rxbat.dll" --backend -B "--core" "RX600" "-p" "C:\devtools\IAR Systems\Embedded Workbench 6.0\rx\config\debugger\ior5f562n8.ddf" "--double" "32" "--endian" "l" "--int" "32" "-d" "emue20" "--emu" "jlink" "--drv_communication" "USB" "--verify_download" "all" +"C:\devtools\IAR Systems\Embedded Workbench 6.5\common\bin\cspybat" "C:\devtools\IAR Systems\Embedded Workbench 6.5\rx\bin\rxproc.dll" "C:\devtools\IAR Systems\Embedded Workbench 6.5\rx\bin\rxjlink.dll" %1 --plugin "C:\devtools\IAR Systems\Embedded Workbench 6.5\rx\bin\rxbat.dll" --backend -B "--core" "RX600" "-p" "C:\devtools\IAR Systems\Embedded Workbench 6.5\rx\config\debugger\ior5f562n8.ddf" "--double" "32" "--endian" "l" "--int" "32" "-d" "jlink" "--drv_mode" "debugging" "--verify_download" "all" diff --git a/FreeRTOS/Demo/RX600_RX62N-RDK_IAR/settings/RTOSDemo.dbgdt b/FreeRTOS/Demo/RX600_RX62N-RDK_IAR/settings/RTOSDemo.dbgdt index 973cd3fce..ea81e7e01 100644 --- a/FreeRTOS/Demo/RX600_RX62N-RDK_IAR/settings/RTOSDemo.dbgdt +++ b/FreeRTOS/Demo/RX600_RX62N-RDK_IAR/settings/RTOSDemo.dbgdt @@ -25,13 +25,13 @@ - 200100 + 20010011Disassembly_I050020 200ethfifo-status4struct Descriptor-status420020916610010030010300Debug-LogBuild200110$PROJ_DIR$\TermIOInput.txt10 - + TabID-20000-3827 @@ -43,20 +43,20 @@ - 0TabID-2655-13188Debug LogDebug-Log0 + 0TabID-2655-13188Debug LogDebug-Log0 - TextEditor$WS_DIR$\main-full.c025112353123530TextEditor$WS_DIR$\FreeRTOSConfig.h011360956104TextEditor$WS_DIR$\webserver\EMAC.c013458335833TextEditor$WS_DIR$\uIP_Task.c022671067106TextEditor$WS_DIR$\main-blinky.c087480448040100000010000001 + TextEditor$WS_DIR$\main-full.c0000026113773137730TextEditor$WS_DIR$\main-blinky.c00000000TextEditor$WS_DIR$\..\Common\Minimal\flop.c000002941206412064TextEditor$WS_DIR$\..\..\Source\portable\IAR\RX600\portmacro.h000009955655565TextEditor$WS_DIR$\..\..\Source\queue.c0000058522892228920100000010000001 - iaridepm.enu1debuggergui.enu1-2-2740238-2-212114172024143585142857755601-2-21981682-2-216842001002381203666119048203666 + iaridepm.enu1debuggergui.enu1-2-2740238-2-212114172024143585142857755601-2-21981682-2-216842001002381203666119048203666 diff --git a/FreeRTOS/Demo/RX600_RX62N-RDK_IAR/settings/RTOSDemo.dni b/FreeRTOS/Demo/RX600_RX62N-RDK_IAR/settings/RTOSDemo.dni index 48339b9d7..14f88bc28 100644 --- a/FreeRTOS/Demo/RX600_RX62N-RDK_IAR/settings/RTOSDemo.dni +++ b/FreeRTOS/Demo/RX600_RX62N-RDK_IAR/settings/RTOSDemo.dni @@ -21,7 +21,7 @@ TraceCapacity=0 TraceRestart=0 OperatingFrequency=12.500000 [DebugChecksum] -Checksum=-1259593031 +Checksum=-128387701 [DisAssemblyWindow] NumStates=_ 1 State 1=_ 1 @@ -53,13 +53,62 @@ LimitSize=0 ByteLimit=50 [CallStack] ShowArgs=0 +[TraceHelper] +Enabled=0 +ShowSource=1 +[J-Link] +TraceMode=0 +TraceOutput=2 +TraceCapacity=0 +TraceRestart=0 +OperatingFrequency=12.500000 +PerfEnabled=0 +PerfCondition=0,0 +PerfDisplayTime=0,0 +PerfOnlyOnce=0,0 +PerfUse64Bit=0 +ChipName=R5F562N8 +PinMode=0 +RegMode=0 +Endian=1 +ExtMemBlockNum=8 +ExtMemEndian_000=0 +ExtMemCondAccess_000=0 +ExtMemEndian_001=0 +ExtMemCondAccess_001=0 +ExtMemEndian_002=0 +ExtMemCondAccess_002=0 +ExtMemEndian_003=0 +ExtMemCondAccess_003=0 +ExtMemEndian_004=0 +ExtMemCondAccess_004=0 +ExtMemEndian_005=0 +ExtMemCondAccess_005=0 +ExtMemEndian_006=0 +ExtMemCondAccess_006=0 +ExtMemEndian_007=0 +ExtMemCondAccess_007=0 +InputClock=12.500000 +AllowClkSrcChange=0 +WorkRamStart=12288 +ComunicationSelect=0 +JtagClock=10 +FINE=0 +FlashOvrNum=0 +DebugFlags=0,0 +EmulatorMode=0 +NeedInit=1 +[Disassembly] +MixedMode=1 [PowerLog] LogEnabled=0 GraphEnabled=0 ShowTimeLog=1 ShowTimeSum=0 -Title0=Power -Setup0=0 1 0 500 2 0 4 1 0 +Title0=ID0 +Symbol0=0 4 +LiveEnabled=0 +LiveFile=PowerLogLive.log [Log file] LoggingEnabled=_ 0 LogFile=_ "" @@ -67,6 +116,10 @@ Category=_ 0 [TermIOLog] LoggingEnabled=_ 0 LogFile=_ "" +[PowerProbe] +Frequency=10000 +Probe0=ID0 +ProbeSetup0=2 1 1 2 0 0 [CallStackLog] Enabled=0 [DriverProfiling] @@ -74,6 +127,7 @@ Enabled=0 Mode=3 Graph=0 Symbiont=0 +Exclusions= [Breakpoints] Count=0 [Monitor Execution] @@ -82,6 +136,6 @@ Release target=0 [Aliases] Count=0 SuppressDialog=0 -[TraceHelper] +[Trace1] Enabled=0 ShowSource=1 diff --git a/FreeRTOS/Demo/RX600_RX62N-RDK_IAR/settings/RTOSDemo.wsdt b/FreeRTOS/Demo/RX600_RX62N-RDK_IAR/settings/RTOSDemo.wsdt index 6dd1c2cc6..c22e7832b 100644 --- a/FreeRTOS/Demo/RX600_RX62N-RDK_IAR/settings/RTOSDemo.wsdt +++ b/FreeRTOS/Demo/RX600_RX62N-RDK_IAR/settings/RTOSDemo.wsdt @@ -53,14 +53,14 @@ - TextEditor$WS_DIR$\main-full.c0441235312353TextEditor$WS_DIR$\main-blinky.c0494804480410100000010000001 + TextEditor$WS_DIR$\main-full.c00000721377313773TextEditor$WS_DIR$\main-blinky.c00000720010100000010000001 - iaridepm.enu1-2-2706351-2-2331284197024289206210119720978-2-22321682-2-216842341002381238289197024289206 + iaridepm.enu1-2-2706351-2-2331284197024289206210119720978-2-22321682-2-216842341002381238289197024289206 -- 2.39.5