]> git.sur5r.net Git - freertos/commitdiff
RX GCC port - Introduce macros that perform the interrupt entry and exit manually...
authorrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Mon, 20 Sep 2010 20:02:48 +0000 (20:02 +0000)
committerrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Mon, 20 Sep 2010 20:02:48 +0000 (20:02 +0000)
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@1112 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

Demo/RX600_RX62N-RSK_GNURX/RTOSDemo/FreeRTOSConfig.h
Demo/RX600_RX62N-RSK_GNURX/RTOSDemo/IntQueueTimer.c
Demo/RX600_RX62N-RSK_GNURX/RTOSDemo/RTOSDemo.hwp
Demo/RX600_RX62N-RSK_GNURX/RTOSDemo/RTOSDemo.nav
Demo/RX600_RX62N-RSK_GNURX/RTOSDemo/RTOSDemo.tps
Demo/RX600_RX62N-RSK_GNURX/RTOSDemo/RegTest.asm [deleted file]
Demo/RX600_RX62N-RSK_GNURX/RTOSDemo/SessionRX600_E1_E20_SYSTEM.hsf
Demo/RX600_RX62N-RSK_GNURX/RTOSDemo/main-full.c
Demo/RX600_RX62N-RSK_GNURX/RX600_RX62N_MDK_GNURX.hws
Demo/RX600_RX62N-RSK_GNURX/RX600_RX62N_MDK_GNURX.tws

index 4ce6706a25090873fa8e77d38ed012b2592b458b..0819826b6b8f2ab8b92d32a5493ce8f2c14f3661 100644 (file)
@@ -115,9 +115,9 @@ to exclude the API function. */
 #define INCLUDE_uxTaskGetStackHighWaterMark    1\r
 #define INCLUDE_xTaskGetSchedulerState         1\r
 \r
-extern volatile unsigned long ulHighFrequencyTickCount;\r
-#define portCONFIGURE_TIMER_FOR_RUN_TIME_STATS() nop() /* Run time stats use the same timer as the high frequency timer test. */\r
-#define portGET_RUN_TIME_COUNTER_VALUE() ulHighFrequencyTickCount\r
+//extern volatile unsigned long ulHighFrequencyTickCount;\r
+#define portCONFIGURE_TIMER_FOR_RUN_TIME_STATS() portNOP() /* Run time stats use the same timer as the high frequency timer test. */\r
+#define portGET_RUN_TIME_COUNTER_VALUE() 0 /*ulHighFrequencyTickCount*/\r
 \r
 \r
 /* Override some of the priorities set in the common demo tasks.  This is\r
index 5b3f11c70c14711b183c66eee06f6826d37c8aaf..963e3623d42a4f194896a6fb1d344866a2ed22d4 100644 (file)
@@ -72,8 +72,8 @@
 #define tmrTIMER_2_3_FREQUENCY ( 2001UL )\r
 \r
 /* Handlers for the two timers used. */\r
-void vT0_1InterruptHandler( void ) __attribute((interrupt));\r
-void vT2_3InterruptHandler( void ) __attribute((interrupt));\r
+void vT0_1InterruptHandler( void ) __attribute((naked));\r
+void vT2_3InterruptHandler( void ) __attribute((naked));\r
 \r
 void vInitialiseTimerForIntQueueTest( void )\r
 {\r
@@ -131,13 +131,27 @@ void vInitialiseTimerForIntQueueTest( void )
 \r
 void vT0_1InterruptHandler( void )\r
 {\r
+       /* This is a naked function.  This macro saves registers then re-enables\r
+       interrupts. */\r
+       portENTER_INTERRUPT();\r
+       \r
        portYIELD_FROM_ISR( xFirstTimerHandler() );\r
+       \r
+       /* Restore registers, then return. */\r
+       portEXIT_INTERRUPT();\r
 }\r
 /*-----------------------------------------------------------*/\r
 \r
 void vT2_3InterruptHandler( void )\r
 {\r
+       /* This is a naked function.  This macro saves registers then re-enables\r
+       interrupts. */\r
+       portENTER_INTERRUPT();\r
+       \r
        portYIELD_FROM_ISR( xSecondTimerHandler() );\r
+       \r
+       /* Restore registers, then return. */\r
+       portEXIT_INTERRUPT();\r
 }\r
 \r
 \r
index 2d4c593f91eca3029ee674f9a2725de33722d8fe..b55dcb304f3345e017346f3213c704956631784b 100644 (file)
@@ -3,16 +3,16 @@
 [DATABASE_VERSION]\r
 "2.8" \r
 [PROJECT_DETAILS]\r
-"RTOSDemo" "C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-MDK_GNURX\RTOSDemo" "C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-MDK_GNURX\RTOSDemo\RTOSDemo.hwp" "RX" "KPIT GNURX [ELF]" "C Application" "RX600" "Other" \r
+"RTOSDemo" "C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-RSK_GNURX\RTOSDemo" "C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-RSK_GNURX\RTOSDemo\RTOSDemo.hwp" "RX" "KPIT GNURX [ELF]" "C Application" "RX600" "Other" \r
 [INFORMATION]\r
 "No project information available" \r
 [TOOL_CHAIN]\r
 "KPIT GNURX [ELF] Toolchain" "v10.02" \r
 [CONFIGURATIONS]\r
-"Blinky" "C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-MDK_GNURX\RTOSDemo\Blinky" \r
-"Debug" "C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-MDK_GNURX\RTOSDemo\Debug" \r
-"Debug_RX600_E1_E20_SYSTEM" "C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-MDK_GNURX\RTOSDemo\Debug_RX600_E1_E20_SYSTEM" \r
-"Debug_with_optimisation" "C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-MDK_GNURX\RTOSDemo\Debug_with_optimisation" \r
+"Blinky" "C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-RSK_GNURX\RTOSDemo\Blinky" \r
+"Debug" "C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-RSK_GNURX\RTOSDemo\Debug" \r
+"Debug_RX600_E1_E20_SYSTEM" "C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-RSK_GNURX\RTOSDemo\Debug_RX600_E1_E20_SYSTEM" \r
+"Debug_with_optimisation" "C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-RSK_GNURX\RTOSDemo\Debug_with_optimisation" \r
 [BUILD_PHASES]\r
 "GNU Assembler" 1 \r
 "GNU Compiler" 1 \r
 "C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\Minimal\integer.c" "User" "C source file|Standard Demo Files" 2 \r
 "C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\Minimal\recmutex.c" "User" "C source file|Standard Demo Files" 2 \r
 "C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\Minimal\semtest.c" "User" "C source file|Standard Demo Files" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-MDK_GNURX\RTOSDemo\GNU-Files\hwinit.c" "User" "C source file|GNU Files" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-MDK_GNURX\RTOSDemo\GNU-Files\inthandler.c" "User" "C source file|GNU Files" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-MDK_GNURX\RTOSDemo\GNU-Files\start.asm" "User" "Preprocess Assembly file" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-MDK_GNURX\RTOSDemo\HighFrequencyTimerTest.c" "User" "C source file" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-MDK_GNURX\RTOSDemo\IntQueueTimer.c" "User" "C source file" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-MDK_GNURX\RTOSDemo\ParTest.c" "User" "C source file" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-MDK_GNURX\RTOSDemo\RegTest.asm" "User" "Preprocess Assembly file" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-MDK_GNURX\RTOSDemo\Renesas-Files\hwsetup.c" "User" "C source file|Renesas Files" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-MDK_GNURX\RTOSDemo\main-blinky.c" "User" "C source file" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-MDK_GNURX\RTOSDemo\main-full.c" "User" "C source file" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-MDK_GNURX\RTOSDemo\vects.c" "User" "C source file" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-RSK_GNURX\RTOSDemo\GNU-Files\hwinit.c" "User" "C source file|GNU Files" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-RSK_GNURX\RTOSDemo\GNU-Files\inthandler.c" "User" "C source file|GNU Files" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-RSK_GNURX\RTOSDemo\GNU-Files\start.asm" "User" "Preprocess Assembly file" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-RSK_GNURX\RTOSDemo\HighFrequencyTimerTest.c" "User" "C source file" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-RSK_GNURX\RTOSDemo\IntQueueTimer.c" "User" "C source file" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-RSK_GNURX\RTOSDemo\ParTest.c" "User" "C source file" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-RSK_GNURX\RTOSDemo\Renesas-Files\hwsetup.c" "User" "C source file|Renesas Files" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-RSK_GNURX\RTOSDemo\main-blinky.c" "User" "C source file" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-RSK_GNURX\RTOSDemo\main-full.c" "User" "C source file" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-RSK_GNURX\RTOSDemo\vects.c" "User" "C source file" 2 \r
 "C:\E\Dev\FreeRTOS\WorkingCopy\Source\list.c" "User" "C source file|FreeRTOS Source" 2 \r
 "C:\E\Dev\FreeRTOS\WorkingCopy\Source\portable\GCC\RX600\port.c" "User" "C source file|FreeRTOS Source|Portable Layer" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Source\portable\GCC\RX600\port_asm.asm" "User" "Preprocess Assembly file" 2 \r
 "C:\E\Dev\FreeRTOS\WorkingCopy\Source\portable\MemMang\heap_2.c" "User" "C source file|FreeRTOS Source|Portable Layer" 2 \r
 "C:\E\Dev\FreeRTOS\WorkingCopy\Source\queue.c" "User" "C source file|FreeRTOS Source" 2 \r
 "C:\E\Dev\FreeRTOS\WorkingCopy\Source\tasks.c" "User" "C source file|FreeRTOS Source" 2 \r
 [ON_DEMAND_COMPONENTS_LOADED]\r
 [SYNC_SESSION_NAMES]\r
 [SESSIONS]\r
-"DefaultSession" "C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-MDK_GNURX\RTOSDemo\DefaultSession.hsf" 0 \r
-"SessionRX600_E1_E20_SYSTEM" "C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-MDK_GNURX\RTOSDemo\SessionRX600_E1_E20_SYSTEM.hsf" 0 \r
+"DefaultSession" "C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-RSK_GNURX\RTOSDemo\DefaultSession.hsf" 0 \r
+"SessionRX600_E1_E20_SYSTEM" "C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-RSK_GNURX\RTOSDemo\SessionRX600_E1_E20_SYSTEM.hsf" 0 \r
 [GENERAL_DATA_SESSION_DefaultSession]\r
 [GENERAL_DATA_SESSION_SessionRX600_E1_E20_SYSTEM]\r
 [OPTIONS_Blinky_GNU Assembler]\r
 "C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\Minimal\integer.c" "040c74480d54bc10" 2 \r
 "C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\Minimal\recmutex.c" "040c74480d54bc10" 2 \r
 "C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\Minimal\semtest.c" "040c74480d54bc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-MDK_GNURX\RTOSDemo\GNU-Files\hwinit.c" "0c2f425afc54bc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-MDK_GNURX\RTOSDemo\GNU-Files\inthandler.c" "0c2f425afc54bc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-MDK_GNURX\RTOSDemo\GNU-Files\start.asm" "0c2f425afc54bc10" 3 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-MDK_GNURX\RTOSDemo\HighFrequencyTimerTest.c" "0ee9ca064d54bc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-MDK_GNURX\RTOSDemo\IntQueueTimer.c" "0db6be4c3d54bc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-MDK_GNURX\RTOSDemo\ParTest.c" "0c2f425afc54bc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-MDK_GNURX\RTOSDemo\RegTest.asm" "0ab7c3c6c864bc10" 3 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-MDK_GNURX\RTOSDemo\Renesas-Files\hwsetup.c" "0c2f425afc54bc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-MDK_GNURX\RTOSDemo\main-blinky.c" "0c2f425afc54bc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-MDK_GNURX\RTOSDemo\main-full.c" "0c2f425afc54bc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-MDK_GNURX\RTOSDemo\vects.c" "0c2f425afc54bc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-RSK_GNURX\RTOSDemo\GNU-Files\hwinit.c" "0c2f425afc54bc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-RSK_GNURX\RTOSDemo\GNU-Files\inthandler.c" "0c2f425afc54bc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-RSK_GNURX\RTOSDemo\GNU-Files\start.asm" "0c2f425afc54bc10" 3 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-RSK_GNURX\RTOSDemo\HighFrequencyTimerTest.c" "0ee9ca064d54bc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-RSK_GNURX\RTOSDemo\IntQueueTimer.c" "0db6be4c3d54bc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-RSK_GNURX\RTOSDemo\ParTest.c" "0c2f425afc54bc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-RSK_GNURX\RTOSDemo\Renesas-Files\hwsetup.c" "0c2f425afc54bc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-RSK_GNURX\RTOSDemo\main-blinky.c" "0c2f425afc54bc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-RSK_GNURX\RTOSDemo\main-full.c" "0c2f425afc54bc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-RSK_GNURX\RTOSDemo\vects.c" "0c2f425afc54bc10" 2 \r
 "C:\E\Dev\FreeRTOS\WorkingCopy\Source\list.c" "0c2f425afc54bc10" 2 \r
 "C:\E\Dev\FreeRTOS\WorkingCopy\Source\portable\GCC\RX600\port.c" "0c2f425afc54bc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Source\portable\GCC\RX600\port_asm.asm" "0c122188ca64bc10" 3 \r
 "C:\E\Dev\FreeRTOS\WorkingCopy\Source\portable\MemMang\heap_2.c" "0c2f425afc54bc10" 2 \r
 "C:\E\Dev\FreeRTOS\WorkingCopy\Source\queue.c" "0c2f425afc54bc10" 2 \r
 "C:\E\Dev\FreeRTOS\WorkingCopy\Source\tasks.c" "0c2f425afc54bc10" 2 \r
 [OPTIONS_Blinky_GNU Library Generator]\r
 "Single Shot" "0e2d0de05744bc10" 1 \r
 [OPTIONS_Blinky_GNU Linker]\r
-"Single Shot" "09435288ca64bc10" 5 \r
+"Single Shot" "0b9121896095bc10" 5 \r
 [OPTIONS_Blinky]\r
 "" 0 \r
 "[V|VERSION|2] [B|DOEXTF|1] [S|INCDIR|^"$(TCINSTALL)\rx-elf\lib\gcc\rx-elf\4.5-GNURX_v10.02^"|^"$(CONFIGDIR)^"] [B|RSARCH|1] [B|FIXUPLIBS|1] [S|ARCHIVE|lib$(PROJECTNAME).a*libgcc.a] [S|OUTFORM|BOTH] [B|MFILEGEN|1] [S|PLMFILE|^"$(CONFIGDIR)\$(PROJECTNAME).map^"] [S|OUTFILE|^"$(CONFIGDIR)\$(PROJECTNAME).x^"] [S|GROUPDET|.fvectors|0|0||1|0xFFFFFF80|0|1|0|.fvectors|All-files|<<FEND>>|<<CEND>>|<<GEND>>|.text|0|0||1|0xFFF80000|0|0|0|.text|All-files|<<FEND>>|0|.text.*|All-files|<<FEND>>|0|P|All-files|<<FEND>>|1|etext|<<FEND>>|<<CEND>>|<<GEND>>|.rvectors|0|0||0||0|1|1|_rvectors_start|<<FEND>>|0|.rvectors|All-files|<<FEND>>|1|_rvectors_end|<<FEND>>|<<CEND>>|<<GEND>>|.init|0|0||0||0|0|0|.init|All-files|<<FEND>>|<<CEND>>|<<GEND>>|.fini|0|0||0||0|0|0|.fini|All-files|<<FEND>>|<<CEND>>|<<GEND>>|.got|0|0||0||0|0|0|.got|All-files|<<FEND>>|0|.got.plt|All-files|<<FEND>>|<<CEND>>|<<GEND>>|.rodata|0|0||0||0|0|0|.rodata|All-files|<<FEND>>|0|.rodata.*|All-files|<<FEND>>|0|C_1|All-files|<<FEND>>|0|C_2|All-files|<<FEND>>|0|C|All-files|<<FEND>>|1|_erodata|<<FEND>>|<<CEND>>|<<GEND>>|.eh_frame_hdr|0|0||0||0|0|0|.eh_frame_hdr|All-files|<<FEND>>|<<CEND>>|<<GEND>>|.eh_frame|0|0||0||0|0|0|.eh_frame|All-files|<<FEND>>|<<CEND>>|<<GEND>>|.jcr|0|0||0||0|0|0|.jcr|All-files|<<FEND>>|<<CEND>>|<<GEND>>|.tors|0|0||0||0|0|1|__CTOR_LIST__|<<FEND>>|1|___ctors|<<FEND>>|0|.ctors|All-files|<<FEND>>|1|___ctors_end|<<FEND>>|1|__CTOR_END__|<<FEND>>|1|__DTOR_LIST__|<<FEND>>|1|___dtors|<<FEND>>|0|.dtors|All-files|<<FEND>>|1|___dtors_end|<<FEND>>|1|__DTOR_END__|<<FEND>>|1|_mdata|<<FEND>>|<<CEND>>|<<GEND>>|.istack|0|0||1|0x00017FF0|0|0|1|_istack|<<FEND>>|<<CEND>>|<<GEND>>|.ustack|0|0||1|0x00017FF8|0|0|1|_ustack|<<FEND>>|<<CEND>>|<<GEND>>|.data|0|2|_mdata|1|0x00001001|0|0|1|_data|<<FEND>>|0|.data|All-files|<<FEND>>|0|.data.*|All-files|<<FEND>>|0|D|All-files|<<FEND>>|0|D_1|All-files|<<FEND>>|0|D_2|All-files|<<FEND>>|1|_edata|<<FEND>>|<<CEND>>|<<GEND>>|.gcc_exc|0|0||0||0|0|0|.gcc_exc|All-files|<<FEND>>|<<CEND>>|<<GEND>>|.bss|0|0||0||0|0|1|_bss|<<FEND>>|0|.bss|All-files|<<FEND>>|0|.bss.*|All-files|<<FEND>>|0|COMMON|All-files|<<FEND>>|0|B|All-files|<<FEND>>|0|B_1|All-files|<<FEND>>|0|B_2|All-files|<<FEND>>|1|_ebss|<<FEND>>|1|_end|<<FEND>>|<<CEND>>|<<GEND>>|] [S|APPTXT|^"-e _start^"] [S|CPUTYPE|RX600] [S|ENDIAN|LITTLE] [S|CPU|Other] [I|RMINTREGVAL|0] [I|RMMAXCONSTVAL|0] [I|RMMAXVARSVAL|0] [S|PROJECTTYPE|CAPPPROJECT] [B|DOOPTLIB|1] [B|DOPROJBUILT|1]\r
 "C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\Minimal\QPeek.c" \r
 "C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\Minimal\recmutex.c" \r
 "C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\Minimal\semtest.c" \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-MDK_GNURX\RTOSDemo\HighFrequencyTimerTest.c" \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-MDK_GNURX\RTOSDemo\IntQueueTimer.c" \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-MDK_GNURX\RTOSDemo\main-full.c" \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-RSK_GNURX\RTOSDemo\HighFrequencyTimerTest.c" \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-RSK_GNURX\RTOSDemo\IntQueueTimer.c" \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-RSK_GNURX\RTOSDemo\main-full.c" \r
 [LINKAGE_ORDER_Blinky]\r
 [GENERAL_DATA_CONFIGURATION_Blinky]\r
 [OPTIONS_Debug_GNU Assembler]\r
 "C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\Minimal\integer.c" "039fcd7f6164bc10" 2 \r
 "C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\Minimal\recmutex.c" "039fcd7f6164bc10" 2 \r
 "C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\Minimal\semtest.c" "039fcd7f6164bc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-MDK_GNURX\RTOSDemo\GNU-Files\hwinit.c" "039fcd7f6164bc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-MDK_GNURX\RTOSDemo\GNU-Files\inthandler.c" "039fcd7f6164bc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-MDK_GNURX\RTOSDemo\GNU-Files\start.asm" "039fcd7f6164bc10" 3 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-MDK_GNURX\RTOSDemo\HighFrequencyTimerTest.c" "039fcd7f6164bc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-MDK_GNURX\RTOSDemo\IntQueueTimer.c" "039fcd7f6164bc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-MDK_GNURX\RTOSDemo\ParTest.c" "039fcd7f6164bc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-MDK_GNURX\RTOSDemo\RegTest.asm" "0ab7c3c6c864bc10" 3 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-MDK_GNURX\RTOSDemo\Renesas-Files\hwsetup.c" "039fcd7f6164bc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-MDK_GNURX\RTOSDemo\main-blinky.c" "039fcd7f6164bc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-MDK_GNURX\RTOSDemo\main-full.c" "039fcd7f6164bc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-MDK_GNURX\RTOSDemo\vects.c" "039fcd7f6164bc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-RSK_GNURX\RTOSDemo\GNU-Files\hwinit.c" "039fcd7f6164bc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-RSK_GNURX\RTOSDemo\GNU-Files\inthandler.c" "039fcd7f6164bc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-RSK_GNURX\RTOSDemo\GNU-Files\start.asm" "039fcd7f6164bc10" 3 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-RSK_GNURX\RTOSDemo\HighFrequencyTimerTest.c" "039fcd7f6164bc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-RSK_GNURX\RTOSDemo\IntQueueTimer.c" "039fcd7f6164bc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-RSK_GNURX\RTOSDemo\ParTest.c" "039fcd7f6164bc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-RSK_GNURX\RTOSDemo\Renesas-Files\hwsetup.c" "039fcd7f6164bc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-RSK_GNURX\RTOSDemo\main-blinky.c" "039fcd7f6164bc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-RSK_GNURX\RTOSDemo\main-full.c" "039fcd7f6164bc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-RSK_GNURX\RTOSDemo\vects.c" "039fcd7f6164bc10" 2 \r
 "C:\E\Dev\FreeRTOS\WorkingCopy\Source\list.c" "039fcd7f6164bc10" 2 \r
 "C:\E\Dev\FreeRTOS\WorkingCopy\Source\portable\GCC\RX600\port.c" "039fcd7f6164bc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Source\portable\GCC\RX600\port_asm.asm" "0c122188ca64bc10" 3 \r
 "C:\E\Dev\FreeRTOS\WorkingCopy\Source\portable\MemMang\heap_2.c" "039fcd7f6164bc10" 2 \r
 "C:\E\Dev\FreeRTOS\WorkingCopy\Source\queue.c" "039fcd7f6164bc10" 2 \r
 "C:\E\Dev\FreeRTOS\WorkingCopy\Source\tasks.c" "039fcd7f6164bc10" 2 \r
 [OPTIONS_Debug_GNU Library Generator]\r
 "Single Shot" "0e2d0de05744bc10" 1 \r
 [OPTIONS_Debug_GNU Linker]\r
-"Single Shot" "09435288ca64bc10" 5 \r
+"Single Shot" "0b9121896095bc10" 5 \r
 [OPTIONS_Debug]\r
 "" 0 \r
 "[V|VERSION|2] [B|DOEXTF|1] [S|INCDIR|^"$(TCINSTALL)\rx-elf\lib\gcc\rx-elf\4.5-GNURX_v10.02^"|^"$(CONFIGDIR)^"] [B|RSARCH|1] [B|FIXUPLIBS|1] [S|ARCHIVE|libgcc.a*lib$(PROJECTNAME).a] [S|OUTFORM|BOTH] [B|MFILEGEN|1] [S|PLMFILE|^"$(CONFIGDIR)\$(PROJECTNAME).map^"] [S|OUTFILE|^"$(CONFIGDIR)\$(PROJECTNAME).x^"] [S|GROUPDET|.fvectors|0|0||1|0xFFFFFF80|0|1|0|.fvectors|All-files|<<FEND>>|<<CEND>>|<<GEND>>|.text|0|0||1|0xFFF80000|0|0|0|.text|All-files|<<FEND>>|0|.text.*|All-files|<<FEND>>|0|P|All-files|<<FEND>>|1|etext|<<FEND>>|<<CEND>>|<<GEND>>|.rvectors|0|0||0||0|1|1|_rvectors_start|<<FEND>>|0|.rvectors|All-files|<<FEND>>|1|_rvectors_end|<<FEND>>|<<CEND>>|<<GEND>>|.init|0|0||0||0|0|0|.init|All-files|<<FEND>>|<<CEND>>|<<GEND>>|.fini|0|0||0||0|0|0|.fini|All-files|<<FEND>>|<<CEND>>|<<GEND>>|.got|0|0||0||0|0|0|.got|All-files|<<FEND>>|0|.got.plt|All-files|<<FEND>>|<<CEND>>|<<GEND>>|.rodata|0|0||0||0|0|0|.rodata|All-files|<<FEND>>|0|.rodata.*|All-files|<<FEND>>|0|C_1|All-files|<<FEND>>|0|C_2|All-files|<<FEND>>|0|C|All-files|<<FEND>>|1|_erodata|<<FEND>>|<<CEND>>|<<GEND>>|.eh_frame_hdr|0|0||0||0|0|0|.eh_frame_hdr|All-files|<<FEND>>|<<CEND>>|<<GEND>>|.eh_frame|0|0||0||0|0|0|.eh_frame|All-files|<<FEND>>|<<CEND>>|<<GEND>>|.jcr|0|0||0||0|0|0|.jcr|All-files|<<FEND>>|<<CEND>>|<<GEND>>|.tors|0|0||0||0|0|1|__CTOR_LIST__|<<FEND>>|1|___ctors|<<FEND>>|0|.ctors|All-files|<<FEND>>|1|___ctors_end|<<FEND>>|1|__CTOR_END__|<<FEND>>|1|__DTOR_LIST__|<<FEND>>|1|___dtors|<<FEND>>|0|.dtors|All-files|<<FEND>>|1|___dtors_end|<<FEND>>|1|__DTOR_END__|<<FEND>>|1|_mdata|<<FEND>>|<<CEND>>|<<GEND>>|.istack|0|0||1|0x0000FFF8|0|0|1|_istack|<<FEND>>|<<CEND>>|<<GEND>>|.ustack|0|0||1|0x0000F7F8|0|0|1|_ustack|<<FEND>>|<<CEND>>|<<GEND>>|.data|0|2|_mdata|1|0x00001001|0|0|1|_data|<<FEND>>|0|.data|All-files|<<FEND>>|0|.data.*|All-files|<<FEND>>|0|D|All-files|<<FEND>>|0|D_1|All-files|<<FEND>>|0|D_2|All-files|<<FEND>>|1|_edata|<<FEND>>|<<CEND>>|<<GEND>>|.gcc_exc|0|0||0||0|0|0|.gcc_exc|All-files|<<FEND>>|<<CEND>>|<<GEND>>|.bss|0|0||0||0|0|1|_bss|<<FEND>>|0|.bss|All-files|<<FEND>>|0|.bss.*|All-files|<<FEND>>|0|COMMON|All-files|<<FEND>>|0|B|All-files|<<FEND>>|0|B_1|All-files|<<FEND>>|0|B_2|All-files|<<FEND>>|1|_ebss|<<FEND>>|1|_end|<<FEND>>|<<CEND>>|<<GEND>>|] [B|WONCEU|1] [B|OUTTRAD|1] [S|APPTXT|^"-e _start^"] [S|CPUTYPE|RX600] [S|ENDIAN|LITTLE] [S|CPU|Other] [I|RMINTREGVAL|0] [I|RMMAXCONSTVAL|0] [I|RMMAXVARSVAL|0] [S|PROJECTTYPE|CAPPPROJECT] [B|DOOPTLIB|1] [B|DOPROJBUILT|1]\r
 "[V|VERSION|2] [S|OBJPATH|^"$(CONFIGDIR)\$(FILELEAF).o^"] [I|DEBUGLV|2] [B|LINCHLS|1] [B|LINCASS|1] [B|LINCSYM|1] [S|LFILE|^"$(CONFIGDIR)\$(FILELEAF).^"] [S|PROJECTTYPE|CAPPPROJECT] [S|INCDIR|^"$(PROJDIR)^"] [S|CPUTYPE|RX600] [S|ENDIAN|LITTLE] [S|CPU|Other] " 4 \r
 "[V|VERSION|2] [S|OUTPUTPATH|^"$(CONFIGDIR)\lib$(PROJECTNAME).a^"] [B|OPTIMIZE|1] [I|OPTTYPE|1] [S|MODE|BUILD/CHANGED] [S|CPUTYPE|RX600] [S|ENDIAN|LITTLE] [S|CPU|Other] [B|DOPROJBUILT|1] [B|DOOPTLIB|1] [B|MATH|1] [B|STDIO|1] [B|STDLIB|1] [B|STRING|1] " 1 \r
 [EXCLUDED_FILES_Debug]\r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-MDK_GNURX\RTOSDemo\main-blinky.c" \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-RSK_GNURX\RTOSDemo\main-blinky.c" \r
 [LINKAGE_ORDER_Debug]\r
 [GENERAL_DATA_CONFIGURATION_Debug]\r
 [OPTIONS_Debug_RX600_E1_E20_SYSTEM_GNU Assembler]\r
 "C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\Minimal\integer.c" "040c74480d54bc10" 2 \r
 "C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\Minimal\recmutex.c" "040c74480d54bc10" 2 \r
 "C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\Minimal\semtest.c" "040c74480d54bc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-MDK_GNURX\RTOSDemo\GNU-Files\hwinit.c" "02a2a3fe5744bc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-MDK_GNURX\RTOSDemo\GNU-Files\inthandler.c" "02a2a3fe5744bc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-MDK_GNURX\RTOSDemo\GNU-Files\start.asm" "02a2a3fe5744bc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-MDK_GNURX\RTOSDemo\HighFrequencyTimerTest.c" "0ee9ca064d54bc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-MDK_GNURX\RTOSDemo\IntQueueTimer.c" "0db6be4c3d54bc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-MDK_GNURX\RTOSDemo\ParTest.c" "03e706f2f054bc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-MDK_GNURX\RTOSDemo\RegTest.asm" "0ab7c3c6c864bc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-MDK_GNURX\RTOSDemo\Renesas-Files\hwsetup.c" "0cca54821354bc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-MDK_GNURX\RTOSDemo\main-blinky.c" "0cf3784c7f44bc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-MDK_GNURX\RTOSDemo\main-full.c" "0cf3784c7f44bc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-MDK_GNURX\RTOSDemo\vects.c" "0e2d0de05744bc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-RSK_GNURX\RTOSDemo\GNU-Files\hwinit.c" "02a2a3fe5744bc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-RSK_GNURX\RTOSDemo\GNU-Files\inthandler.c" "02a2a3fe5744bc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-RSK_GNURX\RTOSDemo\GNU-Files\start.asm" "02a2a3fe5744bc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-RSK_GNURX\RTOSDemo\HighFrequencyTimerTest.c" "0ee9ca064d54bc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-RSK_GNURX\RTOSDemo\IntQueueTimer.c" "0db6be4c3d54bc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-RSK_GNURX\RTOSDemo\ParTest.c" "03e706f2f054bc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-RSK_GNURX\RTOSDemo\Renesas-Files\hwsetup.c" "0cca54821354bc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-RSK_GNURX\RTOSDemo\main-blinky.c" "0cf3784c7f44bc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-RSK_GNURX\RTOSDemo\main-full.c" "0cf3784c7f44bc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-RSK_GNURX\RTOSDemo\vects.c" "0e2d0de05744bc10" 2 \r
 "C:\E\Dev\FreeRTOS\WorkingCopy\Source\list.c" "0d87dc105944bc10" 2 \r
 "C:\E\Dev\FreeRTOS\WorkingCopy\Source\portable\GCC\RX600\port.c" "020e99825944bc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Source\portable\GCC\RX600\port_asm.asm" "0c122188ca64bc10" 2 \r
 "C:\E\Dev\FreeRTOS\WorkingCopy\Source\portable\MemMang\heap_2.c" "057912465944bc10" 2 \r
 "C:\E\Dev\FreeRTOS\WorkingCopy\Source\queue.c" "0d87dc105944bc10" 2 \r
 "C:\E\Dev\FreeRTOS\WorkingCopy\Source\tasks.c" "0d87dc105944bc10" 2 \r
 [OPTIONS_Debug_RX600_E1_E20_SYSTEM_GNU Library Generator]\r
 "Single Shot" "0e2d0de05744bc10" 1 \r
 [OPTIONS_Debug_RX600_E1_E20_SYSTEM_GNU Linker]\r
-"Single Shot" "09435288ca64bc10" 4 \r
+"Single Shot" "0b9121896095bc10" 4 \r
 [OPTIONS_Debug_RX600_E1_E20_SYSTEM]\r
 "" 0 \r
 "[V|VERSION|2] [S|OBJPATH|^"$(CONFIGDIR)\$(FILELEAF).o^"] [I|DEBUGLV|2] [B|LINCHLS|1] [B|LINCASS|1] [B|LINCSYM|1] [S|LFILE|^"$(CONFIGDIR)\$(FILELEAF).^"] [S|PROJECTTYPE|CAPPPROJECT] [S|INCDIR|^"$(PROJDIR)^"] [S|CPUTYPE|RX600] [S|ENDIAN|LITTLE] [S|CPU|Other] " 3 \r
 "C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\Minimal\integer.c" "040c74480d54bc10" 2 \r
 "C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\Minimal\recmutex.c" "040c74480d54bc10" 2 \r
 "C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\Minimal\semtest.c" "040c74480d54bc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-MDK_GNURX\RTOSDemo\GNU-Files\hwinit.c" "0ba62ff18f44bc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-MDK_GNURX\RTOSDemo\GNU-Files\inthandler.c" "0ba62ff18f44bc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-MDK_GNURX\RTOSDemo\GNU-Files\start.asm" "0ba62ff18f44bc10" 3 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-MDK_GNURX\RTOSDemo\HighFrequencyTimerTest.c" "0ee9ca064d54bc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-MDK_GNURX\RTOSDemo\IntQueueTimer.c" "0db6be4c3d54bc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-MDK_GNURX\RTOSDemo\ParTest.c" "03e706f2f054bc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-MDK_GNURX\RTOSDemo\RegTest.asm" "0ab7c3c6c864bc10" 3 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-MDK_GNURX\RTOSDemo\Renesas-Files\hwsetup.c" "0cca54821354bc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-MDK_GNURX\RTOSDemo\main-blinky.c" "0ba62ff18f44bc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-MDK_GNURX\RTOSDemo\main-full.c" "0ba62ff18f44bc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-MDK_GNURX\RTOSDemo\vects.c" "0ba62ff18f44bc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-RSK_GNURX\RTOSDemo\GNU-Files\hwinit.c" "0ba62ff18f44bc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-RSK_GNURX\RTOSDemo\GNU-Files\inthandler.c" "0ba62ff18f44bc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-RSK_GNURX\RTOSDemo\GNU-Files\start.asm" "0ba62ff18f44bc10" 3 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-RSK_GNURX\RTOSDemo\HighFrequencyTimerTest.c" "0ee9ca064d54bc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-RSK_GNURX\RTOSDemo\IntQueueTimer.c" "0db6be4c3d54bc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-RSK_GNURX\RTOSDemo\ParTest.c" "03e706f2f054bc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-RSK_GNURX\RTOSDemo\Renesas-Files\hwsetup.c" "0cca54821354bc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-RSK_GNURX\RTOSDemo\main-blinky.c" "0ba62ff18f44bc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-RSK_GNURX\RTOSDemo\main-full.c" "0ba62ff18f44bc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-RSK_GNURX\RTOSDemo\vects.c" "0ba62ff18f44bc10" 2 \r
 "C:\E\Dev\FreeRTOS\WorkingCopy\Source\list.c" "0ba62ff18f44bc10" 2 \r
 "C:\E\Dev\FreeRTOS\WorkingCopy\Source\portable\GCC\RX600\port.c" "0ba62ff18f44bc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Source\portable\GCC\RX600\port_asm.asm" "0c122188ca64bc10" 3 \r
 "C:\E\Dev\FreeRTOS\WorkingCopy\Source\portable\MemMang\heap_2.c" "0ba62ff18f44bc10" 2 \r
 "C:\E\Dev\FreeRTOS\WorkingCopy\Source\queue.c" "0ba62ff18f44bc10" 2 \r
 "C:\E\Dev\FreeRTOS\WorkingCopy\Source\tasks.c" "0ba62ff18f44bc10" 2 \r
 [OPTIONS_Debug_with_optimisation_GNU Library Generator]\r
 "Single Shot" "0e2d0de05744bc10" 1 \r
 [OPTIONS_Debug_with_optimisation_GNU Linker]\r
-"Single Shot" "09435288ca64bc10" 5 \r
+"Single Shot" "0b9121896095bc10" 5 \r
 [OPTIONS_Debug_with_optimisation]\r
 "" 0 \r
 "[V|VERSION|2] [B|DOEXTF|1] [S|INCDIR|^"$(TCINSTALL)\rx-elf\lib\gcc\rx-elf\4.5-GNURX_v10.02^"|^"$(CONFIGDIR)^"] [B|RSARCH|1] [B|FIXUPLIBS|1] [S|ARCHIVE|lib$(PROJECTNAME).a*libgcc.a] [S|OUTFORM|BOTH] [B|MFILEGEN|1] [S|PLMFILE|^"$(CONFIGDIR)\$(PROJECTNAME).map^"] [S|OUTFILE|^"$(CONFIGDIR)\$(PROJECTNAME).x^"] [S|GROUPDET|.fvectors|0|0||1|0xFFFFFF80|0|1|0|.fvectors|All-files|<<FEND>>|<<CEND>>|<<GEND>>|.text|0|0||1|0xFFF80000|0|0|0|.text|All-files|<<FEND>>|0|.text.*|All-files|<<FEND>>|0|P|All-files|<<FEND>>|1|etext|<<FEND>>|<<CEND>>|<<GEND>>|.rvectors|0|0||0||0|1|1|_rvectors_start|<<FEND>>|0|.rvectors|All-files|<<FEND>>|1|_rvectors_end|<<FEND>>|<<CEND>>|<<GEND>>|.init|0|0||0||0|0|0|.init|All-files|<<FEND>>|<<CEND>>|<<GEND>>|.fini|0|0||0||0|0|0|.fini|All-files|<<FEND>>|<<CEND>>|<<GEND>>|.got|0|0||0||0|0|0|.got|All-files|<<FEND>>|0|.got.plt|All-files|<<FEND>>|<<CEND>>|<<GEND>>|.rodata|0|0||0||0|0|0|.rodata|All-files|<<FEND>>|0|.rodata.*|All-files|<<FEND>>|0|C_1|All-files|<<FEND>>|0|C_2|All-files|<<FEND>>|0|C|All-files|<<FEND>>|1|_erodata|<<FEND>>|<<CEND>>|<<GEND>>|.eh_frame_hdr|0|0||0||0|0|0|.eh_frame_hdr|All-files|<<FEND>>|<<CEND>>|<<GEND>>|.eh_frame|0|0||0||0|0|0|.eh_frame|All-files|<<FEND>>|<<CEND>>|<<GEND>>|.jcr|0|0||0||0|0|0|.jcr|All-files|<<FEND>>|<<CEND>>|<<GEND>>|.tors|0|0||0||0|0|1|__CTOR_LIST__|<<FEND>>|1|___ctors|<<FEND>>|0|.ctors|All-files|<<FEND>>|1|___ctors_end|<<FEND>>|1|__CTOR_END__|<<FEND>>|1|__DTOR_LIST__|<<FEND>>|1|___dtors|<<FEND>>|0|.dtors|All-files|<<FEND>>|1|___dtors_end|<<FEND>>|1|__DTOR_END__|<<FEND>>|1|_mdata|<<FEND>>|<<CEND>>|<<GEND>>|.istack|0|0||1|0x00017FF0|0|0|1|_istack|<<FEND>>|<<CEND>>|<<GEND>>|.ustack|0|0||1|0x00017FF8|0|0|1|_ustack|<<FEND>>|<<CEND>>|<<GEND>>|.data|0|2|_mdata|1|0x00001001|0|0|1|_data|<<FEND>>|0|.data|All-files|<<FEND>>|0|.data.*|All-files|<<FEND>>|0|D|All-files|<<FEND>>|0|D_1|All-files|<<FEND>>|0|D_2|All-files|<<FEND>>|1|_edata|<<FEND>>|<<CEND>>|<<GEND>>|.gcc_exc|0|0||0||0|0|0|.gcc_exc|All-files|<<FEND>>|<<CEND>>|<<GEND>>|.bss|0|0||0||0|0|1|_bss|<<FEND>>|0|.bss|All-files|<<FEND>>|0|.bss.*|All-files|<<FEND>>|0|COMMON|All-files|<<FEND>>|0|B|All-files|<<FEND>>|0|B_1|All-files|<<FEND>>|0|B_2|All-files|<<FEND>>|1|_ebss|<<FEND>>|1|_end|<<FEND>>|<<CEND>>|<<GEND>>|] [S|APPTXT|^"-e _start^"] [S|CPUTYPE|RX600] [S|ENDIAN|LITTLE] [S|CPU|Other] [I|RMINTREGVAL|0] [I|RMMAXCONSTVAL|0] [I|RMMAXVARSVAL|0] [S|PROJECTTYPE|CAPPPROJECT] [B|DOOPTLIB|1] [B|DOPROJBUILT|1]\r
 "[V|VERSION|2] [S|OBJPATH|^"$(CONFIGDIR)\$(FILELEAF).o^"] [I|DEBUGLV|2] [B|LINCHLS|1] [B|LINCASS|1] [B|LINCSYM|1] [S|LFILE|^"$(CONFIGDIR)\$(FILELEAF).^"] [S|PROJECTTYPE|CAPPPROJECT] [S|INCDIR|^"$(PROJDIR)^"] [S|CPUTYPE|RX600] [S|ENDIAN|LITTLE] [S|CPU|Other] " 4 \r
 "[V|VERSION|2] [S|OUTPUTPATH|^"$(CONFIGDIR)\lib$(PROJECTNAME).a^"] [B|OPTIMIZE|1] [I|OPTTYPE|1] [S|MODE|BUILD/CHANGED] [S|CPUTYPE|RX600] [S|ENDIAN|LITTLE] [S|CPU|Other] [B|DOPROJBUILT|1] [B|DOOPTLIB|1] [B|MATH|1] [B|STDIO|1] [B|STDLIB|1] [B|STRING|1] " 1 \r
 [EXCLUDED_FILES_Debug_with_optimisation]\r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-MDK_GNURX\RTOSDemo\main-blinky.c" \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-RSK_GNURX\RTOSDemo\main-blinky.c" \r
 [LINKAGE_ORDER_Debug_with_optimisation]\r
 [GENERAL_DATA_CONFIGURATION_Debug_with_optimisation]\r
 [GENERAL_DATA_CONFIGURATION_SESSION_Blinky_DefaultSession]\r
index dccbd2180e4e0928456dc30598077c0892b0c735..307d6b8dd8350b0c8ebfed88976706c02a171a35 100644 (file)
Binary files a/Demo/RX600_RX62N-RSK_GNURX/RTOSDemo/RTOSDemo.nav and b/Demo/RX600_RX62N-RSK_GNURX/RTOSDemo/RTOSDemo.nav differ
index 17fae2c87b3d1530df580a4c1f56bb2b6c34978d..a959bde8030c39a0eeb13de067378b7daa9a319e 100644 (file)
@@ -21,7 +21,7 @@
 "DefaultSession" \r
 "SessionRX600_E1_E20_SYSTEM" \r
 [GENERAL_DATA_CONFIGURATION_Debug]\r
-"PROJECT_FILES_MODIFIED_DATA_TAG" "FALSE" \r
+"PROJECT_FILES_MODIFIED_DATA_TAG" "TRUE" \r
 [SESSIONS_Debug]\r
 "DefaultSession" \r
 "SessionRX600_E1_E20_SYSTEM" \r
diff --git a/Demo/RX600_RX62N-RSK_GNURX/RTOSDemo/RegTest.asm b/Demo/RX600_RX62N-RSK_GNURX/RTOSDemo/RegTest.asm
deleted file mode 100644 (file)
index 18bdf9d..0000000
+++ /dev/null
@@ -1,225 +0,0 @@
-/*\r
-    FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd.\r
-\r
-    ***************************************************************************\r
-    *                                                                         *\r
-    * If you are:                                                             *\r
-    *                                                                         *\r
-    *    + New to FreeRTOS,                                                   *\r
-    *    + Wanting to learn FreeRTOS or multitasking in general quickly       *\r
-    *    + Looking for basic training,                                        *\r
-    *    + Wanting to improve your FreeRTOS skills and productivity           *\r
-    *                                                                         *\r
-    * then take a look at the FreeRTOS eBook                                  *\r
-    *                                                                         *\r
-    *        "Using the FreeRTOS Real Time Kernel - a Practical Guide"        *\r
-    *                  http://www.FreeRTOS.org/Documentation                  *\r
-    *                                                                         *\r
-    * A pdf reference manual is also available.  Both are usually delivered   *\r
-    * to your inbox within 20 minutes to two hours when purchased between 8am *\r
-    * and 8pm GMT (although please allow up to 24 hours in case of            *\r
-    * exceptional circumstances).  Thank you for your support!                *\r
-    *                                                                         *\r
-    ***************************************************************************\r
-\r
-    This file is part of the FreeRTOS distribution.\r
-\r
-    FreeRTOS is free software; you can redistribute it and/or modify it under\r
-    the terms of the GNU General Public License (version 2) as published by the\r
-    Free Software Foundation AND MODIFIED BY the FreeRTOS exception.\r
-    ***NOTE*** The exception to the GPL is included to allow you to distribute\r
-    a combined work that includes FreeRTOS without being obliged to provide the\r
-    source code for proprietary components outside of the FreeRTOS kernel.\r
-    FreeRTOS is distributed in the hope that it will be useful, but WITHOUT\r
-    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or\r
-    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for\r
-    more details. You should have received a copy of the GNU General Public \r
-    License and the FreeRTOS license exception along with FreeRTOS; if not it \r
-    can be viewed here: http://www.freertos.org/a00114.html and also obtained \r
-    by writing to Richard Barry, contact details for whom are available on the\r
-    FreeRTOS WEB site.\r
-\r
-    1 tab == 4 spaces!\r
-\r
-    http://www.FreeRTOS.org - Documentation, latest information, license and\r
-    contact details.\r
-\r
-    http://www.SafeRTOS.com - A version that is certified for use in safety\r
-    critical systems.\r
-\r
-    http://www.OpenRTOS.com - Commercial support, development, porting,\r
-    licensing and training services.\r
-*/\r
-\r
-       .list\r
-       .section .text\r
-       .global _prvRegTest1Implementation\r
-       .global _prvRegTest2Implementation\r
-       \r
-       .extern _ulRegTest1CycleCount\r
-       .extern _ulRegTest2CycleCount\r
-\r
-/* This function is explained in the comments at the top of main.c. */\r
-_prvRegTest1Implementation:\r
-\r
-       /* Put a known value in each register. */\r
-       MOV     #1, R1                                          \r
-       MOV     #2, R2                                          \r
-       MOV     #3, R3                                          \r
-       MOV     #4, R4                                          \r
-       MOV     #5, R5                                          \r
-       MOV     #6, R6                                          \r
-       MOV     #7, R7                                          \r
-       MOV     #8, R8                                          \r
-       MOV     #9, R9                                          \r
-       MOV     #10, R10                                        \r
-       MOV     #11, R11                                        \r
-       MOV     #12, R12                                        \r
-       MOV     #13, R13                                        \r
-       MOV     #14, R14                                        \r
-       MOV     #15, R15                                        \r
-       \r
-       /* Loop, checking each itteration that each register still contains the\r
-       expected value. */\r
-TestLoop1:                                                             \r
-\r
-       /* Push the registers that are going to get clobbered. */\r
-       PUSHM   R14-R15                                         \r
-       \r
-       /* Increment the loop counter to show this task is still getting CPU time. */\r
-       MOV     #_ulRegTest1CycleCount, R14     \r
-       MOV     [ R14 ], R15                            \r
-       ADD     #1, R15                                         \r
-       MOV     R15, [ R14 ]                            \r
-       \r
-       /* Yield to extend the text coverage.  Set the bit in the ITU SWINTR register. */\r
-       MOV     #1, R14                                         \r
-       MOV     #0872E0H, R15                           \r
-       MOV.B   R14, [R15]                                      \r
-       NOP                                                             \r
-       NOP                                                             \r
-       \r
-       /* Restore the clobbered registers. */\r
-       POPM    R14-R15                                         \r
-       \r
-       /* Now compare each register to ensure it still contains the value that was\r
-       set before this loop was entered. */\r
-       CMP     #1, R1                                          \r
-       BNE     RegTest1Error                           \r
-       CMP     #2, R2                                          \r
-       BNE     RegTest1Error                           \r
-       CMP     #3, R3                                          \r
-       BNE     RegTest1Error                           \r
-       CMP     #4, R4                                          \r
-       BNE     RegTest1Error                           \r
-       CMP     #5, R5                                          \r
-       BNE     RegTest1Error                           \r
-       CMP     #6, R6                                          \r
-       BNE     RegTest1Error                           \r
-       CMP     #7, R7                                          \r
-       BNE     RegTest1Error                           \r
-       CMP     #8, R8                                          \r
-       BNE     RegTest1Error                           \r
-       CMP     #9, R9                                          \r
-       BNE     RegTest1Error                           \r
-       CMP     #10, R10                                        \r
-       BNE     RegTest1Error                           \r
-       CMP     #11, R11                                        \r
-       BNE     RegTest1Error                           \r
-       CMP     #12, R12                                        \r
-       BNE     RegTest1Error                           \r
-       CMP     #13, R13                                        \r
-       BNE     RegTest1Error                           \r
-       CMP     #14, R14                                        \r
-       BNE     RegTest1Error                           \r
-       CMP     #15, R15                                        \r
-       BNE     RegTest1Error                           \r
-\r
-       /* All comparisons passed, start a new itteratio of this loop. */\r
-       BRA             TestLoop1                               \r
-       \r
-RegTest1Error:                                                 \r
-       /* A compare failed, just loop here so the loop counter stops incrementing\r
-       - causing the check task to indicate the error. */\r
-       BRA RegTest1Error                                         \r
-/*-----------------------------------------------------------*/\r
-\r
-/* This function is explained in the comments at the top of main.c. */\r
-_prvRegTest2Implementation:\r
-\r
-       /* Put a known value in each register. */\r
-       MOV     #10H, R1                                        \r
-       MOV     #20H, R2                                        \r
-       MOV     #30H, R3                                        \r
-       MOV     #40H, R4                                        \r
-       MOV     #50H, R5                                        \r
-       MOV     #60H, R6                                        \r
-       MOV     #70H, R7                                        \r
-       MOV     #80H, R8                                        \r
-       MOV     #90H, R9                                        \r
-       MOV     #100H, R10                                      \r
-       MOV     #110H, R11                                      \r
-       MOV     #120H, R12                                      \r
-       MOV     #130H, R13                                      \r
-       MOV     #140H, R14                                      \r
-       MOV     #150H, R15                                      \r
-       \r
-       /* Loop, checking each itteration that each register still contains the\r
-       expected value. */\r
-TestLoop2:                                                             \r
-\r
-       /* Push the registers that are going to get clobbered. */\r
-       PUSHM   R14-R15                                         \r
-       \r
-       /* Increment the loop counter to show this task is still getting CPU time. */\r
-       MOV     #_ulRegTest2CycleCount, R14     \r
-       MOV     [ R14 ], R15                            \r
-       ADD     #1, R15                                         \r
-       MOV     R15, [ R14 ]                            \r
-       \r
-       /* Restore the clobbered registers. */\r
-       POPM    R14-R15                                         \r
-       \r
-       /* Now compare each register to ensure it still contains the value that was\r
-       set before this loop was entered. */\r
-       CMP     #10H, R1                                        \r
-       BNE     RegTest2Error                           \r
-       CMP     #20H, R2                                        \r
-       BNE     RegTest2Error                           \r
-       CMP     #30H, R3                                        \r
-       BNE     RegTest2Error                           \r
-       CMP     #40H, R4                                        \r
-       BNE     RegTest2Error                           \r
-       CMP     #50H, R5                                        \r
-       BNE     RegTest2Error                           \r
-       CMP     #60H, R6                                        \r
-       BNE     RegTest2Error                           \r
-       CMP     #70H, R7                                        \r
-       BNE     RegTest2Error                           \r
-       CMP     #80H, R8                                        \r
-       BNE     RegTest2Error                           \r
-       CMP     #90H, R9                                        \r
-       BNE     RegTest2Error                           \r
-       CMP     #100H, R10                                      \r
-       BNE     RegTest2Error                           \r
-       CMP     #110H, R11                                      \r
-       BNE     RegTest2Error                           \r
-       CMP     #120H, R12                                      \r
-       BNE     RegTest2Error                           \r
-       CMP     #130H, R13                                      \r
-       BNE     RegTest2Error                           \r
-       CMP     #140H, R14                                      \r
-       BNE     RegTest2Error                           \r
-       CMP     #150H, R15                                      \r
-       BNE     RegTest2Error                           \r
-\r
-       /* All comparisons passed, start a new itteratio of this loop. */\r
-       BRA     TestLoop2                                       \r
-       \r
-RegTest2Error:                                                 \r
-       /* A compare failed, just loop here so the loop counter stops incrementing\r
-       - causing the check task to indicate the error. */\r
-       BRA RegTest2Error                                         \r
-\r
-       \r
-       .end\r
index 3853638b57744e1af04dd2b599d40d1e965c01cc..647aea312383130d2bdd960caa8f624803d6e079 100644 (file)
 "{5F75FDA0-6FF0-11D5-B7CE-00E029352378}PACtrlViews" "0" \r
 "{64753FED-D387-4B8C-A91D-D3419C869C07}C_EVAL_DENORMAL_MODE" "16777216" \r
 "{64753FED-D387-4B8C-A91D-D3419C869C07}C_EVAL_ROUND_MODE" "768" \r
-"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_0" "00000000000111C0" \r
-"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_1" "0000000000000000\r
-"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_10" "00000000135C56E8\r
-"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_11" "00000000758C25B5\r
-"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_12" "00000000280A93B7\r
+"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_0" "00000000000098B0" \r
+"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_1" "0000000000009FF8\r
+"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_10" "0000000000000007\r
+"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_11" "000000000000A014\r
+"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_12" "000000004141F7CF\r
 "{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_13" "00000000A5A5A5A5" \r
-"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_14" "0000000000012BF0\r
-"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_15" "0000000000000000\r
-"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_16" "0000000000004DE0" \r
-"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_17" "00000000000111C0\r
-"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_18" "0000000003000001" \r
-"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_19" "0000000000000005\r
-"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_2" "0000000000000005" \r
-"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_20" "00000000FFF85EE8\r
+"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_14" "00000000A5A5A5A5\r
+"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_15" "00000000A5A5A5A5\r
+"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_16" "00000000000098B0" \r
+"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_17" "000000000000FF9C\r
+"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_18" "0000000000030001" \r
+"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_19" "00000000FFF85EA1\r
+"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_2" "00000000A5A5A5A5" \r
+"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_20" "00000000FFF86AE4\r
 "{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_21" "0000000000000000" \r
 "{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_22" "0000000000000000" \r
 "{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_23" "0000000000000000" \r
-"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_24" "0000000000000100" \r
-"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_25" "1234567887650000" \r
-"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_3" "0000000000000000\r
-"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_4" "00000000000000A5" \r
-"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_5" "0000000003000004\r
-"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_6" "0000000000000000" \r
-"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_7" "0000000029000000" \r
-"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_8" "0000000006100B46\r
-"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_9" "00000000F08ABD30\r
+"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_24" "0000000040000140" \r
+"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_25" "0000A9B8D5200000" \r
+"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_3" "00000000A5A5A5A5\r
+"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_4" "00000000A5A5A5A5" \r
+"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_5" "00000000A5A5A5A5\r
+"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_6" "00000000000098B0" \r
+"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_7" "0000000000000000" \r
+"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_8" "00000000A5A5A5A5\r
+"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_9" "00000000A5A5A5A5\r
 "{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_COUNT" "26" \r
 "{6C4D5B81-FD67-46A9-A089-EA44DCDE47FD}RAMMonitorManagerCtrlBlockInfoFileDir" "" \r
 "{6C4D5B81-FD67-46A9-A089-EA44DCDE47FD}RAMMonitorManagerCtrlBlockInfoFileName" "" \r
 "{8A898260-6F1D-11D5-8EB6-00004CC34E9D}ECX_WAVE_COMB_BUFFER" ",,,," \r
 "{8A898260-6F1D-11D5-8EB6-00004CC34E9D}ECX_WAVE_SAMPLING_RATE" "1000" \r
 "{8A898260-6F1D-11D5-8EB6-00004CC34E9D}WaveformCtrlViews" "0" \r
-"{95A081A1-7001-11D5-B1FD-00A0C9E23A58}RegistersCtrlViews" "0" \r
+"{95A081A1-7001-11D5-B1FD-00A0C9E23A58}RegistersCtrlViews" "1" \r
+"{95A081A1-7001-11D5-B1FD-00A0C9E23A58}RegistersWnd0ColumnWidth" "47,153,48" \r
+"{95A081A1-7001-11D5-B1FD-00A0C9E23A58}RegistersWnd0ECX_REGISTER_COUNT" "33" \r
+"{95A081A1-7001-11D5-B1FD-00A0C9E23A58}RegistersWnd0ECX_REGISTER_DISPLAYED" "1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1" \r
+"{95A081A1-7001-11D5-B1FD-00A0C9E23A58}RegistersWnd0HideFLAGs" "0" \r
+"{95A081A1-7001-11D5-B1FD-00A0C9E23A58}RegistersWnd0HideRadix" "0" \r
+"{95A081A1-7001-11D5-B1FD-00A0C9E23A58}RegistersWnd0LastFileName" "" \r
+"{95A081A1-7001-11D5-B1FD-00A0C9E23A58}RegistersWnd0RadixList" "16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,2,16,16,16,16,16,16,16," \r
+"{95A081A1-7001-11D5-B1FD-00A0C9E23A58}RegistersWndInstanceKey0" "{WK_00000001_REGISTERS}RTOSDemoSessionRX600_E1_E20_SYSTEM" \r
+"{95A081A1-7001-11D5-B1FD-00A0C9E23A58}RegistersWndViewB0ColumnWidth" "47,153,35" \r
+"{95A081A1-7001-11D5-B1FD-00A0C9E23A58}RegistersWndViewB0ECX_REGISTER_COUNT" "33" \r
+"{95A081A1-7001-11D5-B1FD-00A0C9E23A58}RegistersWndViewB0ECX_REGISTER_DISPLAYED" "1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1" \r
+"{95A081A1-7001-11D5-B1FD-00A0C9E23A58}RegistersWndViewB0HideFLAGs" "0" \r
+"{95A081A1-7001-11D5-B1FD-00A0C9E23A58}RegistersWndViewB0HideRadix" "0" \r
+"{95A081A1-7001-11D5-B1FD-00A0C9E23A58}RegistersWndViewB0LastFileName" "" \r
+"{95A081A1-7001-11D5-B1FD-00A0C9E23A58}RegistersWndViewB0RadixList" "16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,2,16,16,16,16,16,16,16," \r
+"{95A081A1-7001-11D5-B1FD-00A0C9E23A58}RegistersWndViewBInstanceKey0" "{WK_00000001_REGISTERS}RTOSDemoSessionRX600_E1_E20_SYSTEMViewB" \r
 "{AC411480-6F0A-11D5-8EB6-00004CC34E9D}ECX_IMAGE_ADDRESS_NAME" "" \r
 "{AC411480-6F0A-11D5-8EB6-00004CC34E9D}ECX_IMAGE_BUFFER" "00000000,00000000,0,0" \r
 "{AC411480-6F0A-11D5-8EB6-00004CC34E9D}ECX_IMAGE_COLOR" "0,0,0,0" \r
 0 \r
 [WINDOW_POSITION_STATE_DATA_VD1]\r
 "Help" "TOOLBAR 0" 59419 1 5 "0.00" 0 0 0 0 0 17 0 "" "0.0" \r
-"{WK_00000001_CmdLine}" "WINDOW" 59422 0 1 "0.07" 306 0 0 100 100 17 0 "32771|32772|32778|<<separator>>|32773|32774|<<separator>>" "0.0" \r
+"{WK_00000001_CmdLine}" "WINDOW" 59422 0 1 "0.07" 251 0 0 100 100 17 0 "32771|32772|32778|<<separator>>|32773|32774|<<separator>>" "0.0" \r
 "{WK_00000001_DEBUGCONSOLE}RTOSDemoSessionRX600_E1_E20_SYSTEM" "WINDOW" 59422 5 0 "1.00" 146 0 0 350 200 17 0 "57634|57637|57633|<<separator>>|32781|32782|<<separator>>|32780|32785|32787" "0.0" \r
-"{WK_00000001_OUTPUT}" "WINDOW" 59422 0 0 "1.00" 306 560 340 350 200 18 0 "36756|36757|36758|36759|<<separator>>|36746|36747|<<separator>>|39531|<<separator>>|39500|39534|<<separator>>|36687" "0.0" \r
+"{WK_00000001_OUTPUT}" "WINDOW" 59422 0 0 "1.00" 251 560 340 350 200 18 0 "36756|36757|36758|36759|<<separator>>|36746|36747|<<separator>>|39531|<<separator>>|39500|39534|<<separator>>|36687" "0.0" \r
+"{WK_00000001_REGISTERS}RTOSDemoSessionRX600_E1_E20_SYSTEM" "WINDOW" 59421 0 0 "1.00" 413 0 0 350 200 18 0 "" "0.0" \r
 "{WK_00000002_WORKSPACE}" "WINDOW" 59420 0 0 "1.00" 342 560 340 350 200 18 0 "" "0.0" \r
 "{WK_TB00000001_STANDARD}" "TOOLBAR 0" 59419 0 2 "0.00" 0 0 0 0 0 18 0 "" "0.0" \r
 "{WK_TB00000002_EDITOR}" "TOOLBAR 0" 59419 0 0 "0.00" 0 0 0 0 0 18 0 "" "0.0" \r
 [WINDOW_POSITION_STATE_DATA_VD3]\r
 [WINDOW_POSITION_STATE_DATA_VD4]\r
 [WINDOW_Z_ORDER]\r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-MDK_GNURX\RTOSDemo\main-full.c" \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\Minimal\flop.c" \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-RSK_GNURX\RTOSDemo\GNU-Files\start.asm" \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-RSK_GNURX\RTOSDemo\IntQueueTimer.c" \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Source\portable\GCC\RX600\port.c" \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Source\portable\GCC\RX600\port_asm.asm" \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Source\portable\GCC\RX600\portmacro.h" \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-RSK_GNURX\RTOSDemo\main-full.c" \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Source\list.c" \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Source\tasks.c" \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Source\include\FreeRTOS.h" \r
 [TARGET_NAME]\r
 "RX600 E1/E20 SYSTEM" "" 0 \r
 [STATUSBAR_STATEINFO_VD1]\r
 "SBK_TAR_EMUE100|Exception" 1 \r
 "SBK_TAR_EMUE100|BreakCondition" 1 \r
 "SBK_TAR_EMUE100|TaskID" 1 \r
-"SBK_TAR_EMUE100|PC" 1 \r
 "SBK_TAR_EMUE100|ExecutionTime" 1 \r
+"SBK_TAR_EMUE100|PC" 1 \r
 [STATUSBAR_DEBUGGER_PANESTATE_VD2]\r
 [STATUSBAR_DEBUGGER_PANESTATE_VD3]\r
 [STATUSBAR_DEBUGGER_PANESTATE_VD4]\r
index 86c0ea8a4ed61c7d5d7cd4141c525b0186d59926..16d7244ff28980faffe68c2764c7f72c483023f4 100644 (file)
@@ -33,9 +33,9 @@
     FreeRTOS is distributed in the hope that it will be useful, but WITHOUT\r
     ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or\r
     FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for\r
-    more details. You should have received a copy of the GNU General Public \r
-    License and the FreeRTOS license exception along with FreeRTOS; if not it \r
-    can be viewed here: http://www.freertos.org/a00114.html and also obtained \r
+    more details. You should have received a copy of the GNU General Public\r
+    License and the FreeRTOS license exception along with FreeRTOS; if not it\r
+    can be viewed here: http://www.freertos.org/a00114.html and also obtained\r
     by writing to Richard Barry, contact details for whom are available on the\r
     FreeRTOS WEB site.\r
 \r
     licensing and training services.\r
 */\r
 \r
-/* \r
+/* ****************************************************************************\r
  * This project includes a lot of tasks and tests and is therefore complex.\r
  * If you would prefer a much simpler project to get started with then select\r
  * the 'Blinky' build configuration within the HEW IDE.\r
+ * ****************************************************************************\r
  *\r
  * Creates all the demo application tasks, then starts the scheduler.  The web\r
  * documentation provides more details of the standard demo application tasks,\r
  * which provide no particular functionality but do provide a good example of\r
  * how to use the FreeRTOS API.  The tasks defined in flop.c are included in the\r
  * set of standard demo tasks to ensure the floating point unit gets some\r
- * exercise. \r
+ * exercise.\r
  *\r
- * In addition to the standard demo tasks, the following tasks and tests are \r
+ * In addition to the standard demo tasks, the following tasks and tests are\r
  * defined and/or created within this file:\r
  *\r
+ * Webserver ("uIP") task - This serves a number of dynamically generated WEB\r
+ * pages to a standard WEB browser.  The IP and MAC addresses are configured by\r
+ * constants defined at the bottom of FreeRTOSConfig.h.  Use either a standard\r
+ * Ethernet cable to connect through a hug, or a cross over (point to point)\r
+ * cable to connect directly.  Ensure the IP address used is compatible with the\r
+ * IP address of the machine running the browser - the easiest way to achieve\r
+ * this is to ensure the first three octets of the IP addresses are the same.\r
+ *\r
  * "Reg test" tasks - These fill the registers with known values, then check\r
  * that each register still contains its expected value.  Each task uses\r
- * different values.  The tasks run with very low priority so get preempted \r
- * very frequently.  A check variable is incremented on each iteration of the \r
- * test loop.  A register containing an unexpected value is indicative of an \r
- * error in the context switching mechanism and will result in a branch to a \r
+ * different values.  The tasks run with very low priority so get preempted\r
+ * very frequently.  A check variable is incremented on each iteration of the\r
+ * test loop.  A register containing an unexpected value is indicative of an\r
+ * error in the context switching mechanism and will result in a branch to a\r
  * null loop - which in turn will prevent the check variable from incrementing\r
  * any further and allow the check task (described below) to determine that an\r
- * error has occurred.  The nature of the reg test tasks necessitates that they \r
+ * error has occurred.  The nature of the reg test tasks necessitates that they\r
  * are written in assembly code.\r
  *\r
  * "Check" task - This only executes every five seconds but has a high priority\r
  * rate increasing to 200ms being a visual indication that at least one task has\r
  * reported unexpected behaviour.\r
  *\r
- * "High frequency timer test" - A high frequency periodic interrupt is \r
- * generated using a timer - the interrupt is assigned a priority above \r
+ * "High frequency timer test" - A high frequency periodic interrupt is\r
+ * generated using a timer - the interrupt is assigned a priority above\r
  * configMAX_SYSCALL_INTERRUPT_PRIORITY so should not be effected by anything\r
- * the kernel is doing.  The interrupt service routine measures the number of \r
- * counts a separate timer performs between each interrupt to determine the \r
- * jitter in the interrupt timing.\r
+ * the kernel is doing.  The frequency and priority of the interrupt, in\r
+ * combination with other standard tests executed in this demo, should result\r
+ * in interrupts nesting at least 3 and probably 4 deep.  This test is only\r
+ * included in build configurations that have the optimiser switched on.  In\r
+ * optimised builds the count of high frequency ticks is used as the time base\r
+ * for the run time stats.\r
  *\r
  * *NOTE 1* If LED5 is toggling every 5 seconds then all the demo application\r
- * tasks are executing as expected and no errors have been reported in any \r
+ * tasks are executing as expected and no errors have been reported in any\r
  * tasks.  The toggle rate increasing to 200ms indicates that at least one task\r
  * has reported unexpected behaviour.\r
- * \r
+ *\r
  * *NOTE 2* vApplicationSetupTimerInterrupt() is called by the kernel to let\r
  * the application set up a timer to generate the tick interrupt.  In this\r
- * example a compare match timer is used for this purpose.  \r
+ * example a compare match timer is used for this purpose.\r
  *\r
  * *NOTE 3* The CPU must be in Supervisor mode when the scheduler is started.\r
- * The PowerON_Reset_PC() supplied in resetprg.c with this demo has \r
+ * The PowerON_Reset_PC() supplied in resetprg.c with this demo has\r
  * Change_PSW_PM_to_UserMode() commented out to ensure this is the case.\r
  *\r
  * *NOTE 4* The IntQueue common demo tasks test interrupt nesting and make use\r
 */\r
 \r
 /* Standard includes. */\r
-#include "string.h"\r
+#include <string.h>\r
+#include <stdio.h>\r
 \r
 /* Hardware specific includes. */\r
 #include "iodefine.h"\r
 #include "recmutex.h"\r
 #include "flop.h"\r
 \r
-/* Values that are passed into the reg test tasks using the task parameter.  The \r
+/* Values that are passed into the reg test tasks using the task parameter.  The\r
 tasks check that the values are passed in correctly. */\r
 #define mainREG_TEST_1_PARAMETER       ( 0x12121212UL )\r
 #define mainREG_TEST_2_PARAMETER       ( 0x12345678UL )\r
@@ -150,6 +163,10 @@ tasks check that the values are passed in correctly. */
 #define mainGEN_QUEUE_TASK_PRIORITY    ( tskIDLE_PRIORITY )\r
 #define mainFLOP_TASK_PRIORITY         ( tskIDLE_PRIORITY )\r
 \r
+/* The WEB server uses string handling functions, which in turn use a bit more\r
+stack than most of the other tasks. */\r
+#define mainuIP_STACK_SIZE                     ( configMINIMAL_STACK_SIZE * 3 )\r
+\r
 /* The LED toggled by the check task. */\r
 #define mainCHECK_LED                          ( 5 )\r
 \r
@@ -159,14 +176,10 @@ file. */
 #define mainNO_ERROR_CYCLE_TIME                ( 5000 / portTICK_RATE_MS )\r
 \r
 /* The rate at which mainCHECK_LED will toggle when an error has been reported\r
-by at least one task.  Controlled by the check task as described at the top of \r
+by at least one task.  Controlled by the check task as described at the top of\r
 this file. */\r
 #define mainERROR_CYCLE_TIME           ( 200 / portTICK_RATE_MS )\r
 \r
-/* The period of the peripheral clock in nano seconds.  This is used to calculate\r
-the jitter time in nano seconds as part of the high frequency timer test.  The\r
-clock driving the timer is divided by 8. */\r
-#define mainNS_PER_CLOCK                       ( ( unsigned long ) ( ( 1.0 /  ( ( double ) configPERIPHERAL_CLOCK_HZ ) / 8.0 ) * 1000000000.0 ) )\r
 \r
 /*\r
  * vApplicationMallocFailedHook() will only be called if\r
@@ -174,7 +187,7 @@ clock driving the timer is divided by 8. */
  * function that will execute if a call to pvPortMalloc() fails.\r
  * pvPortMalloc() is called internally by the kernel whenever a task, queue or\r
  * semaphore is created.  It is also called by various parts of the demo\r
- * application.  \r
+ * application.\r
  */\r
 void vApplicationMallocFailedHook( void );\r
 \r
@@ -192,8 +205,8 @@ void vApplicationMallocFailedHook( void );
 void vApplicationIdleHook( void );\r
 \r
 /*\r
- * vApplicationStackOverflowHook() will only be called if \r
- * configCHECK_FOR_STACK_OVERFLOW is set to a non-zero value.  The handle and \r
+ * vApplicationStackOverflowHook() will only be called if\r
+ * configCHECK_FOR_STACK_OVERFLOW is set to a non-zero value.  The handle and\r
  * name of the offending task should be passed in the function parameters, but\r
  * it is possible that the stack overflow will have corrupted these - in which\r
  * case pxCurrentTCB can be inspected to find the same information.\r
@@ -210,8 +223,8 @@ static void prvRegTest2Task( void *pvParameters );
  * The actual implementation of the reg test functionality, which, because of\r
  * the direct register access, have to be in assembly.\r
  */\r
-extern void prvRegTest1Implementation( void );\r
-extern void prvRegTest2Implementation( void );\r
+static void prvRegTest1Implementation( void ) __attribute__((naked));\r
+static void prvRegTest2Implementation( void ) __attribute__((naked));\r
 \r
 \r
 /*\r
@@ -219,12 +232,24 @@ extern void prvRegTest2Implementation( void );
  */\r
 static void prvCheckTask( void *pvParameters );\r
 \r
-/* Variables that are incremented on each iteration of the reg test tasks - \r
+/*\r
+ * Contains the implementation of the WEB server.\r
+ */\r
+extern void vuIP_Task( void *pvParameters );\r
+\r
+/*-----------------------------------------------------------*/\r
+\r
+/* Variables that are incremented on each iteration of the reg test tasks -\r
 provided the tasks have not reported any errors.  The check task inspects these\r
-variables to ensure they are still incrementing as expected.  If a variable \r
+variables to ensure they are still incrementing as expected.  If a variable\r
 stops incrementing then it is likely that its associate task has stalled. */\r
 unsigned long ulRegTest1CycleCount = 0UL, ulRegTest2CycleCount = 0UL;\r
 \r
+/* The status message that is displayed at the bottom of the "task stats" web\r
+page, which is served by the uIP task.  This will report any errors picked up\r
+by the reg test task. */\r
+static const char *pcStatusMessage = NULL;\r
+\r
 /*-----------------------------------------------------------*/\r
 \r
 void main(void)\r
@@ -242,6 +267,9 @@ extern void HardwareSetup( void );
        xTaskCreate( prvRegTest1Task, "RegTst1", configMINIMAL_STACK_SIZE, ( void * ) mainREG_TEST_1_PARAMETER, tskIDLE_PRIORITY, NULL );\r
        xTaskCreate( prvRegTest2Task, "RegTst2", configMINIMAL_STACK_SIZE, ( void * ) mainREG_TEST_2_PARAMETER, tskIDLE_PRIORITY, NULL );\r
 \r
+       /* The web server task. */\r
+//     xTaskCreate( vuIP_Task, "uIP", mainuIP_STACK_SIZE, NULL, mainuIP_TASK_PRIORITY, NULL );\r
+\r
        /* Start the check task as described at the top of this file. */\r
        xTaskCreate( prvCheckTask, "Check", configMINIMAL_STACK_SIZE * 3, NULL, mainCHECK_TASK_PRIORITY, NULL );\r
 \r
@@ -265,7 +293,7 @@ extern void HardwareSetup( void );
 \r
        /* Start the tasks running. */\r
        vTaskStartScheduler();\r
-       \r
+\r
        /* If all is well we will never reach here as the scheduler will now be\r
        running.  If we do reach here then it is likely that there was insufficient\r
        heap available for the idle task to be created. */\r
@@ -278,12 +306,9 @@ static void prvCheckTask( void *pvParameters )
 static volatile unsigned long ulLastRegTest1CycleCount = 0UL, ulLastRegTest2CycleCount = 0UL;\r
 portTickType xNextWakeTime, xCycleFrequency = mainNO_ERROR_CYCLE_TIME;\r
 extern void vSetupHighFrequencyTimer( void );\r
-extern volatile unsigned short usMaxJitter;\r
-volatile unsigned long ulActualJitter = 0;\r
-static char cErrorText[ 100 ];\r
 \r
        /* If this is being executed then the kernel has been started.  Start the high\r
-       frequency timer test as described at the top of this file.  This is only \r
+       frequency timer test as described at the top of this file.  This is only\r
        included in the optimised build configuration - otherwise it takes up too much\r
        CPU time. */\r
        #ifdef INCLUDE_HIGH_FREQUENCY_TIMER_TEST\r
@@ -304,119 +329,100 @@ static char cErrorText[ 100 ];
                        /* Increase the rate at which this task cycles, which will increase the\r
                        rate at which mainCHECK_LED flashes to give visual feedback that an error\r
                        has occurred. */\r
-                       xCycleFrequency = mainERROR_CYCLE_TIME;\r
-                       strcpy( cErrorText, "Error: GenQueue" );\r
+                       pcStatusMessage = "Error: GenQueue";\r
                }\r
                else if( xAreQueuePeekTasksStillRunning() != pdTRUE )\r
                {\r
-                       xCycleFrequency = mainERROR_CYCLE_TIME;\r
-                       strcpy( cErrorText, "Error: QueuePeek" );\r
+                       pcStatusMessage = "Error: QueuePeek\r\n";\r
                }\r
                else if( xAreBlockingQueuesStillRunning() != pdTRUE )\r
                {\r
-                       xCycleFrequency = mainERROR_CYCLE_TIME;\r
-                       strcpy( cErrorText, "Error: BlockQueue" );\r
+                       pcStatusMessage = "Error: BlockQueue\r\n";\r
                }\r
                else if( xAreBlockTimeTestTasksStillRunning() != pdTRUE )\r
                {\r
-                       xCycleFrequency = mainERROR_CYCLE_TIME;\r
-                       strcpy( cErrorText, "Error: BlockTime" );\r
+                       pcStatusMessage = "Error: BlockTime\r\n";\r
                }\r
            else if( xAreSemaphoreTasksStillRunning() != pdTRUE )\r
            {\r
-               xCycleFrequency = mainERROR_CYCLE_TIME;\r
-                       strcpy( cErrorText, "Error: SemTest" );\r
+                       pcStatusMessage = "Error: SemTest\r\n";\r
            }\r
            else if( xArePollingQueuesStillRunning() != pdTRUE )\r
            {\r
-               xCycleFrequency = mainERROR_CYCLE_TIME;\r
-                       strcpy( cErrorText, "Error: PollQueue" );\r
+                       pcStatusMessage = "Error: PollQueue\r\n";\r
            }\r
            else if( xIsCreateTaskStillRunning() != pdTRUE )\r
            {\r
-               xCycleFrequency = mainERROR_CYCLE_TIME;\r
-                       strcpy( cErrorText, "Error: Death" );\r
+                       pcStatusMessage = "Error: Death\r\n";\r
            }\r
            else if( xAreIntegerMathsTaskStillRunning() != pdTRUE )\r
            {\r
-               xCycleFrequency = mainERROR_CYCLE_TIME;\r
-                       strcpy( cErrorText, "Error: IntMath" );\r
+                       pcStatusMessage = "Error: IntMath\r\n";\r
            }\r
            else if( xAreRecursiveMutexTasksStillRunning() != pdTRUE )\r
            {\r
-               xCycleFrequency = mainERROR_CYCLE_TIME;\r
-                       strcpy( cErrorText, "Error: RecMutex" );\r
+                       pcStatusMessage = "Error: RecMutex\r\n";\r
            }\r
                else if( xAreIntQueueTasksStillRunning() != pdPASS )\r
                {\r
-                       xCycleFrequency = mainERROR_CYCLE_TIME;\r
-                       strcpy( cErrorText, "Error: IntQueue" );\r
+                       pcStatusMessage = "Error: IntQueue\r\n";\r
                }\r
                else if( xAreMathsTaskStillRunning() != pdPASS )\r
                {\r
-                       xCycleFrequency = mainERROR_CYCLE_TIME;\r
-                       strcpy( cErrorText, "Error: Flop" );\r
+                       pcStatusMessage = "Error: Flop\r\n";\r
                }\r
 \r
                /* Check the reg test tasks are still cycling.  They will stop incrementing\r
                their loop counters if they encounter an error. */\r
                if( ulRegTest1CycleCount == ulLastRegTest1CycleCount )\r
                {\r
-                       xCycleFrequency = mainERROR_CYCLE_TIME;\r
-                       strcpy( cErrorText, "Error: RegTest1" );\r
+                       pcStatusMessage = "Error: RegTest1\r\n";\r
                }\r
 \r
                if( ulRegTest2CycleCount == ulLastRegTest2CycleCount )\r
                {\r
-                       xCycleFrequency = mainERROR_CYCLE_TIME;\r
-                       strcpy( cErrorText, "Error: RegTest2" );\r
+                       pcStatusMessage = "Error: RegTest2\r\n";\r
                }\r
-               \r
+\r
                ulLastRegTest1CycleCount = ulRegTest1CycleCount;\r
                ulLastRegTest2CycleCount = ulRegTest2CycleCount;\r
-               \r
-               /* Toggle the check LED to give an indication of the system status.  If \r
-               the LED toggles every 5 seconds then everything is ok.  A faster toggle \r
+\r
+               /* Toggle the check LED to give an indication of the system status.  If\r
+               the LED toggles every 5 seconds then everything is ok.  A faster toggle\r
                indicates an error. */\r
                vParTestToggleLED( mainCHECK_LED );\r
-               \r
-               /* Calculate the maximum jitter experienced by the high frequency timer \r
-               test and print it out.  It is ok to use printf without worrying about \r
-               mutual exclusion as it is not used anywhere else in this demo. */\r
-               //sprintf( cTempBuf, "%s [%fns]\n", "Max Jitter = ", ( ( float ) usMaxJitter ) * mainNS_PER_CLOCK );\r
-               ulActualJitter = ( ( unsigned long ) usMaxJitter ) * mainNS_PER_CLOCK;\r
-               \r
-               if( xCycleFrequency == mainERROR_CYCLE_TIME )\r
+\r
+               /* Ensure the LED toggles at a faster rate if an error has occurred. */\r
+               if( pcStatusMessage != NULL )\r
                {\r
-                       /* Just for break point. */\r
-                       portNOP();\r
+                       xCycleFrequency = mainERROR_CYCLE_TIME;\r
                }\r
        }\r
 }\r
 /*-----------------------------------------------------------*/\r
 \r
-/* The RX port uses this callback function to configure its tick interrupt.  \r
+/* The RX port uses this callback function to configure its tick interrupt.\r
 This allows the application to choose the tick interrupt source. */\r
 void vApplicationSetupTimerInterrupt( void )\r
 {\r
        /* Enable compare match timer 0. */\r
        MSTP( CMT0 ) = 0;\r
-       \r
+\r
        /* Interrupt on compare match. */\r
        CMT0.CMCR.BIT.CMIE = 1;\r
-       \r
+\r
        /* Set the compare match value. */\r
        CMT0.CMCOR = ( unsigned short ) ( ( ( configPERIPHERAL_CLOCK_HZ / configTICK_RATE_HZ ) -1 ) / 8 );\r
-       \r
+\r
        /* Divide the PCLK by 8. */\r
        CMT0.CMCR.BIT.CKS = 0;\r
-       \r
+\r
        /* Enable the interrupt... */\r
        _IEN( _CMT0_CMI0 ) = 1;\r
-       \r
+\r
        /* ...and set its priority to the application defined kernel priority. */\r
        _IPR( _CMT0_CMI0 ) = configKERNEL_INTERRUPT_PRIORITY;\r
-       \r
+\r
        /* Start the timer. */\r
        CMT.CMSTR0.BIT.STR0 = 1;\r
 }\r
@@ -442,9 +448,6 @@ void vApplicationStackOverflowHook( xTaskHandle *pxTask, signed char *pcTaskName
 of this file. */\r
 void vApplicationIdleHook( void )\r
 {\r
-static volatile unsigned long ulIdleLoopCount = 0UL;\r
-\r
-       ulIdleLoopCount++;\r
 }\r
 /*-----------------------------------------------------------*/\r
 \r
@@ -460,9 +463,9 @@ static void prvRegTest1Task( void *pvParameters )
                        taskDISABLE_INTERRUPTS();\r
                }\r
        }\r
-       \r
+\r
        /* This is an asm function that never returns. */\r
-       prvRegTest1Implementation();            \r
+       prvRegTest1Implementation();\r
 }\r
 /*-----------------------------------------------------------*/\r
 \r
@@ -484,7 +487,189 @@ static void prvRegTest2Task( void *pvParameters )
 }\r
 /*-----------------------------------------------------------*/\r
 \r
+char *pcGetTaskStatusMessage( void )\r
+{\r
+       /* Not bothered about a critical section here although technically because of\r
+       the task priorities the pointer could change it will be atomic if not near\r
+       atomic and its not critical. */\r
+       if( pcStatusMessage == NULL )\r
+       {\r
+               return "All tasks running without error";\r
+       }\r
+       else\r
+       {\r
+               return ( char * ) pcStatusMessage;\r
+       }\r
+}\r
+/*-----------------------------------------------------------*/\r
 \r
+/* This function is explained in the comments at the top of this file. */\r
+static void prvRegTest1Implementation( void )\r
+{\r
+       __asm volatile\r
+       (\r
+                       /* Put a known value in each register. */\r
+                       "MOV    #1, R1                                          \n" \\r
+                       "MOV    #2, R2                                          \n" \\r
+                       "MOV    #3, R3                                          \n" \\r
+                       "MOV    #4, R4                                          \n" \\r
+                       "MOV    #5, R5                                          \n" \\r
+                       "MOV    #6, R6                                          \n" \\r
+                       "MOV    #7, R7                                          \n" \\r
+                       "MOV    #8, R8                                          \n" \\r
+                       "MOV    #9, R9                                          \n" \\r
+                       "MOV    #10, R10                                        \n" \\r
+                       "MOV    #11, R11                                        \n" \\r
+                       "MOV    #12, R12                                        \n" \\r
+                       "MOV    #13, R13                                        \n" \\r
+                       "MOV    #14, R14                                        \n" \\r
+                       "MOV    #15, R15                                        \n" \\r
+                       \r
+                       /* Loop, checking each itteration that each register still contains the\r
+                       expected value. */\r
+               "TestLoop1:                                                             \n" \\r
+\r
+                       /* Push the registers that are going to get clobbered. */\r
+                       "PUSHM  R14-R15                                         \n" \\r
+                       \r
+                       /* Increment the loop counter to show this task is still getting CPU time. */\r
+                       "MOV    #_ulRegTest1CycleCount, R14     \n" \\r
+                       "MOV    [ R14 ], R15                            \n" \\r
+                       "ADD    #1, R15                                         \n" \\r
+                       "MOV    R15, [ R14 ]                            \n" \\r
+                       \r
+                       /* Yield to extend the test coverage.  Set the bit in the ITU SWINTR register. */\r
+                       "MOV    #1, R14                                         \n" \\r
+                       "MOV    #0872E0H, R15                           \n" \\r
+                       "MOV.B  R14, [R15]                                      \n" \\r
+                       "NOP                                                            \n" \\r
+                       "NOP                                                            \n" \\r
+                       \r
+                       /* Restore the clobbered registers. */\r
+                       "POPM   R14-R15                                         \n" \\r
+                       \r
+                       /* Now compare each register to ensure it still contains the value that was\r
+                       set before this loop was entered. */\r
+                       "CMP    #1, R1                                          \n" \\r
+                       "BNE    RegTest1Error                           \n" \\r
+                       "CMP    #2, R2                                          \n" \\r
+                       "BNE    RegTest1Error                           \n" \\r
+                       "CMP    #3, R3                                          \n" \\r
+                       "BNE    RegTest1Error                           \n" \\r
+                       "CMP    #4, R4                                          \n" \\r
+                       "BNE    RegTest1Error                           \n" \\r
+                       "CMP    #5, R5                                          \n" \\r
+                       "BNE    RegTest1Error                           \n" \\r
+                       "CMP    #6, R6                                          \n" \\r
+                       "BNE    RegTest1Error                           \n" \\r
+                       "CMP    #7, R7                                          \n" \\r
+                       "BNE    RegTest1Error                           \n" \\r
+                       "CMP    #8, R8                                          \n" \\r
+                       "BNE    RegTest1Error                           \n" \\r
+                       "CMP    #9, R9                                          \n" \\r
+                       "BNE    RegTest1Error                           \n" \\r
+                       "CMP    #10, R10                                        \n" \\r
+                       "BNE    RegTest1Error                           \n" \\r
+                       "CMP    #11, R11                                        \n" \\r
+                       "BNE    RegTest1Error                           \n" \\r
+                       "CMP    #12, R12                                        \n" \\r
+                       "BNE    RegTest1Error                           \n" \\r
+                       "CMP    #13, R13                                        \n" \\r
+                       "BNE    RegTest1Error                           \n" \\r
+                       "CMP    #14, R14                                        \n" \\r
+                       "BNE    RegTest1Error                           \n" \\r
+                       "CMP    #15, R15                                        \n" \\r
+                       "BNE    RegTest1Error                           \n" \\r
+\r
+                       /* All comparisons passed, start a new itteratio of this loop. */\r
+                       "BRA            TestLoop1                               \n" \\r
+                       \r
+               "RegTest1Error:                                                 \n" \\r
+                       /* A compare failed, just loop here so the loop counter stops incrementing\r
+                       - causing the check task to indicate the error. */\r
+                       "BRA RegTest1Error                                        "\r
+       );\r
+}\r
+/*-----------------------------------------------------------*/\r
 \r
-\r
+/* This function is explained in the comments at the top of this file. */\r
+static void prvRegTest2Implementation( void )\r
+{\r
+       __asm volatile\r
+       (\r
+                       /* Put a known value in each register. */\r
+                       "MOV    #10H, R1                                        \n" \\r
+                       "MOV    #20H, R2                                        \n" \\r
+                       "MOV    #30H, R3                                        \n" \\r
+                       "MOV    #40H, R4                                        \n" \\r
+                       "MOV    #50H, R5                                        \n" \\r
+                       "MOV    #60H, R6                                        \n" \\r
+                       "MOV    #70H, R7                                        \n" \\r
+                       "MOV    #80H, R8                                        \n" \\r
+                       "MOV    #90H, R9                                        \n" \\r
+                       "MOV    #100H, R10                                      \n" \\r
+                       "MOV    #110H, R11                                      \n" \\r
+                       "MOV    #120H, R12                                      \n" \\r
+                       "MOV    #130H, R13                                      \n" \\r
+                       "MOV    #140H, R14                                      \n" \\r
+                       "MOV    #150H, R15                                      \n" \\r
+                       \r
+                       /* Loop, checking each itteration that each register still contains the\r
+                       expected value. */\r
+               "TestLoop2:                                                             \n" \\r
+\r
+                       /* Push the registers that are going to get clobbered. */\r
+                       "PUSHM  R14-R15                                         \n" \\r
+                       \r
+                       /* Increment the loop counter to show this task is still getting CPU time. */\r
+                       "MOV    #_ulRegTest2CycleCount, R14     \n" \\r
+                       "MOV    [ R14 ], R15                            \n" \\r
+                       "ADD    #1, R15                                         \n" \\r
+                       "MOV    R15, [ R14 ]                            \n" \\r
+                       \r
+                       /* Restore the clobbered registers. */\r
+                       "POPM   R14-R15                                         \n" \\r
+                       \r
+                       /* Now compare each register to ensure it still contains the value that was\r
+                       set before this loop was entered. */\r
+                       "CMP    #10H, R1                                        \n" \\r
+                       "BNE    RegTest2Error                           \n" \\r
+                       "CMP    #20H, R2                                        \n" \\r
+                       "BNE    RegTest2Error                           \n" \\r
+                       "CMP    #30H, R3                                        \n" \\r
+                       "BNE    RegTest2Error                           \n" \\r
+                       "CMP    #40H, R4                                        \n" \\r
+                       "BNE    RegTest2Error                           \n" \\r
+                       "CMP    #50H, R5                                        \n" \\r
+                       "BNE    RegTest2Error                           \n" \\r
+                       "CMP    #60H, R6                                        \n" \\r
+                       "BNE    RegTest2Error                           \n" \\r
+                       "CMP    #70H, R7                                        \n" \\r
+                       "BNE    RegTest2Error                           \n" \\r
+                       "CMP    #80H, R8                                        \n" \\r
+                       "BNE    RegTest2Error                           \n" \\r
+                       "CMP    #90H, R9                                        \n" \\r
+                       "BNE    RegTest2Error                           \n" \\r
+                       "CMP    #100H, R10                                      \n" \\r
+                       "BNE    RegTest2Error                           \n" \\r
+                       "CMP    #110H, R11                                      \n" \\r
+                       "BNE    RegTest2Error                           \n" \\r
+                       "CMP    #120H, R12                                      \n" \\r
+                       "BNE    RegTest2Error                           \n" \\r
+                       "CMP    #130H, R13                                      \n" \\r
+                       "BNE    RegTest2Error                           \n" \\r
+                       "CMP    #140H, R14                                      \n" \\r
+                       "BNE    RegTest2Error                           \n" \\r
+                       "CMP    #150H, R15                                      \n" \\r
+                       "BNE    RegTest2Error                           \n" \\r
+\r
+                       /* All comparisons passed, start a new itteratio of this loop. */\r
+                       "BRA    TestLoop2                                       \n" \\r
+                       \r
+               "RegTest2Error:                                                 \n" \\r
+                       /* A compare failed, just loop here so the loop counter stops incrementing\r
+                       - causing the check task to indicate the error. */\r
+                       "BRA RegTest2Error                                        "\r
+       );\r
+}\r
 \r
index 960c1f55388f4be949f6ad3b3eb84505ddbe16c9..f8933a50bbb94d1ed6baf821413b91d9c3abfa78 100644 (file)
@@ -3,12 +3,12 @@
 [DATABASE_VERSION]\r
 "11.0" \r
 [WORKSPACE_DETAILS]\r
-"RX600_RX62N_MDK_GNURX" "C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-MDK_GNURX" "C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-MDK_GNURX\RX600_RX62N_MDK_GNURX.hws" "RX" "KPIT GNURX [ELF]" \r
+"RX600_RX62N_MDK_GNURX" "C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-RSK_GNURX" "C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-RSK_GNURX\RX600_RX62N_MDK_GNURX.hws" "RX" "KPIT GNURX [ELF]" \r
 [SHARED_WORKSPACE_CONTROL_STATUS]\r
 "" "" "" \r
 "" "" "" \r
 [PROJECTS]\r
-"RTOSDemo" "C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-MDK_GNURX\RTOSDemo" "C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-MDK_GNURX\RTOSDemo\RTOSDemo.hwp" 0 \r
+"RTOSDemo" "C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-RSK_GNURX\RTOSDemo" "C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-RSK_GNURX\RTOSDemo\RTOSDemo.hwp" 0 \r
 [INFORMATION]\r
 "No workspace information available" \r
 [SCRAP]\r
index 00261b80f39e9b34ddd85f49bde27d3c7f211a18..84abf7762df27fdc585759871830899cf86e1c4b 100644 (file)
@@ -7,9 +7,27 @@
 [GENERAL_DATA]\r
 [BREAKPOINTS]\r
 [OPEN_WORKSPACE_FILES]\r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-MDK_GNURX\RTOSDemo\main-full.c" \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\Minimal\flop.c" \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-RSK_GNURX\RTOSDemo\GNU-Files\start.asm" \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-RSK_GNURX\RTOSDemo\IntQueueTimer.c" \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-RSK_GNURX\RTOSDemo\main-full.c" \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Source\include\FreeRTOS.h" \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Source\list.c" \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Source\portable\GCC\RX600\port.c" \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Source\portable\GCC\RX600\port_asm.asm" \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Source\portable\GCC\RX600\portmacro.h" \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Source\tasks.c" \r
 [WORKSPACE_FILE_STATES]\r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-MDK_GNURX\RTOSDemo\main-full.c" -4 -23 1314 554 1 0 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\Minimal\flop.c" -4 -23 894 609 1 9 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-RSK_GNURX\RTOSDemo\GNU-Files\start.asm" 0 0 732 348 0 4 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-RSK_GNURX\RTOSDemo\IntQueueTimer.c" 88 88 728 344 0 0 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX62N-RSK_GNURX\RTOSDemo\main-full.c" 44 44 732 348 0 6 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Source\include\FreeRTOS.h" 154 154 732 348 0 3 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Source\list.c" 176 176 666 456 0 7 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Source\portable\GCC\RX600\port.c" 110 110 732 348 0 1 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Source\portable\GCC\RX600\port_asm.asm" 132 132 732 348 0 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Source\portable\GCC\RX600\portmacro.h" 198 198 666 456 0 8 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Source\tasks.c" 22 22 732 348 0 5 \r
 [LOADED_PROJECTS]\r
 "RTOSDemo" \r
 [END]\r