diff --git a/lab10-partB/DebugConfig/Simulator_LPC1768.dbgconf b/lab10-partB/DebugConfig/Simulator_LPC1768.dbgconf
new file mode 100644
index 0000000..ddd0031
--- /dev/null
+++ b/lab10-partB/DebugConfig/Simulator_LPC1768.dbgconf
@@ -0,0 +1,10 @@
+// <<< Use Configuration Wizard in Context Menu >>>
+
+// Debug Configuration
+// StopAfterBootloader Stop after Bootloader
+//
+Dbg_CR = 0x00000001;
+
+
+
+// <<< end of configuration section >>>
\ No newline at end of file
diff --git a/lab10-partB/EventRecorderStub.scvd b/lab10-partB/EventRecorderStub.scvd
new file mode 100644
index 0000000..0fb3ee5
--- /dev/null
+++ b/lab10-partB/EventRecorderStub.scvd
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
diff --git a/lab10-partB/Lst/example01.map b/lab10-partB/Lst/example01.map
index 44573df..b935664 100644
--- a/lab10-partB/Lst/example01.map
+++ b/lab10-partB/Lst/example01.map
@@ -1,4 +1,4 @@
-Component: ARM Compiler 5.05 (build 41) Tool: armlink [4d0eb9]
+Component: ARM Compiler 5.06 update 4 (build 422) Tool: armlink [4d35d2]
==============================================================================
@@ -19,6 +19,7 @@ Section Cross References
system_lpc17xx.o(.text) refers to lludivv7m.o(.text) for __aeabi_uldivmod
system_lpc17xx.o(.text) refers to system_lpc17xx.o(.data) for SystemCoreClock
lab10b.o(.text) refers to serial.o(.text) for SER_Init
+ lab10b.o(.text) refers to lab10b.o(.data) for tx_finish_flag
__main.o(!!!main) refers to __rtentry.o(.ARM.Collect$$rtentry$$00000000) for __rt_entry
__rtentry.o(.ARM.Collect$$rtentry$$00000000) refers (Special) to __rtentry2.o(.ARM.Collect$$rtentry$$0000000A) for __rt_entry_li
__rtentry.o(.ARM.Collect$$rtentry$$00000000) refers (Special) to __rtentry2.o(.ARM.Collect$$rtentry$$0000000D) for __rt_entry_main
@@ -103,12 +104,13 @@ Section Cross References
_get_argv_nomalloc.o(.text) refers (Special) to hrguard.o(.text) for __heap_region$guard
_get_argv_nomalloc.o(.text) refers to defsig_rtmem_outer.o(.text) for __rt_SIGRTMEM
_get_argv_nomalloc.o(.text) refers to sys_command.o(.text) for _sys_command_string
- libshutdown.o(.ARM.Collect$$libshutdown$$00000000) refers (Special) to libshutdown2.o(.ARM.Collect$$libshutdown$$00000006) for __rt_lib_shutdown_fp_trap_1
- libshutdown.o(.ARM.Collect$$libshutdown$$00000000) refers (Special) to libshutdown2.o(.ARM.Collect$$libshutdown$$0000000E) for __rt_lib_shutdown_heap_1
- libshutdown.o(.ARM.Collect$$libshutdown$$00000000) refers (Special) to libshutdown2.o(.ARM.Collect$$libshutdown$$0000000F) for __rt_lib_shutdown_return
- libshutdown.o(.ARM.Collect$$libshutdown$$00000000) refers (Special) to libshutdown2.o(.ARM.Collect$$libshutdown$$00000009) for __rt_lib_shutdown_signal_1
- libshutdown.o(.ARM.Collect$$libshutdown$$00000000) refers (Special) to libshutdown2.o(.ARM.Collect$$libshutdown$$00000003) for __rt_lib_shutdown_stdio_1
- libshutdown.o(.ARM.Collect$$libshutdown$$00000000) refers (Special) to libshutdown2.o(.ARM.Collect$$libshutdown$$0000000B) for __rt_lib_shutdown_user_alloc_1
+ libshutdown.o(.ARM.Collect$$libshutdown$$00000000) refers (Special) to libshutdown2.o(.ARM.Collect$$libshutdown$$00000002) for __rt_lib_shutdown_cpp_1
+ libshutdown.o(.ARM.Collect$$libshutdown$$00000000) refers (Special) to libshutdown2.o(.ARM.Collect$$libshutdown$$00000007) for __rt_lib_shutdown_fp_trap_1
+ libshutdown.o(.ARM.Collect$$libshutdown$$00000000) refers (Special) to libshutdown2.o(.ARM.Collect$$libshutdown$$0000000F) for __rt_lib_shutdown_heap_1
+ libshutdown.o(.ARM.Collect$$libshutdown$$00000000) refers (Special) to libshutdown2.o(.ARM.Collect$$libshutdown$$00000010) for __rt_lib_shutdown_return
+ libshutdown.o(.ARM.Collect$$libshutdown$$00000000) refers (Special) to libshutdown2.o(.ARM.Collect$$libshutdown$$0000000A) for __rt_lib_shutdown_signal_1
+ libshutdown.o(.ARM.Collect$$libshutdown$$00000000) refers (Special) to libshutdown2.o(.ARM.Collect$$libshutdown$$00000004) for __rt_lib_shutdown_stdio_1
+ libshutdown.o(.ARM.Collect$$libshutdown$$00000000) refers (Special) to libshutdown2.o(.ARM.Collect$$libshutdown$$0000000C) for __rt_lib_shutdown_user_alloc_1
sys_command.o(.text) refers (Special) to use_no_semi.o(.text) for __I$use$semihosting
sys_command.o(.text) refers (Special) to indicate_semi.o(.text) for __semihosting_library_function
defsig_abrt_inner.o(.text) refers to defsig_general.o(.text) for __default_signal_display
@@ -134,9 +136,8 @@ Removing Unused input sections from the image.
Removing serial.o(.revsh_text), (4 bytes).
Removing lab10b.o(.rev16_text), (4 bytes).
Removing lab10b.o(.revsh_text), (4 bytes).
- Removing lab10b.o(.data), (6 bytes).
-7 unused section(s) (total 30 bytes) removed from the image.
+6 unused section(s) (total 24 bytes) removed from the image.
==============================================================================
@@ -151,53 +152,53 @@ Image Symbol Table
../clib/angel/boardlib.s 0x00000000 Number 0 boardinit2.o ABSOLUTE
../clib/angel/boardlib.s 0x00000000 Number 0 boardinit1.o ABSOLUTE
../clib/angel/boardlib.s 0x00000000 Number 0 boardshut.o ABSOLUTE
- ../clib/angel/handlers.s 0x00000000 Number 0 __scatter_zi.o ABSOLUTE
../clib/angel/handlers.s 0x00000000 Number 0 __scatter_copy.o ABSOLUTE
- ../clib/angel/kernel.s 0x00000000 Number 0 __rtentry2.o ABSOLUTE
+ ../clib/angel/handlers.s 0x00000000 Number 0 __scatter_zi.o ABSOLUTE
../clib/angel/kernel.s 0x00000000 Number 0 rtexit2.o ABSOLUTE
+ ../clib/angel/kernel.s 0x00000000 Number 0 __rtentry2.o ABSOLUTE
../clib/angel/kernel.s 0x00000000 Number 0 rtexit.o ABSOLUTE
../clib/angel/kernel.s 0x00000000 Number 0 __rtentry4.o ABSOLUTE
../clib/angel/kernel.s 0x00000000 Number 0 __rtentry.o ABSOLUTE
+ ../clib/angel/rt.s 0x00000000 Number 0 rt_raise.o ABSOLUTE
../clib/angel/rt.s 0x00000000 Number 0 rt_div0.o ABSOLUTE
../clib/angel/rt.s 0x00000000 Number 0 aeabi_ldiv0.o ABSOLUTE
../clib/angel/rt.s 0x00000000 Number 0 aeabi_ldiv0_sigfpe.o ABSOLUTE
- ../clib/angel/rt.s 0x00000000 Number 0 rt_raise.o ABSOLUTE
../clib/angel/scatter.s 0x00000000 Number 0 __scatter.o ABSOLUTE
../clib/angel/startup.s 0x00000000 Number 0 __main.o ABSOLUTE
+ ../clib/angel/sys.s 0x00000000 Number 0 indicate_semi.o ABSOLUTE
../clib/angel/sys.s 0x00000000 Number 0 libspace.o ABSOLUTE
../clib/angel/sys.s 0x00000000 Number 0 use_no_semi.o ABSOLUTE
- ../clib/angel/sys.s 0x00000000 Number 0 indicate_semi.o ABSOLUTE
../clib/angel/sys.s 0x00000000 Number 0 sys_stackheap_outer.o ABSOLUTE
../clib/angel/sysapp.c 0x00000000 Number 0 sys_exit.o ABSOLUTE
../clib/angel/sysapp.c 0x00000000 Number 0 sys_wrch.o ABSOLUTE
../clib/angel/sysapp.c 0x00000000 Number 0 sys_command.o ABSOLUTE
../clib/armsys.c 0x00000000 Number 0 argv_veneer.o ABSOLUTE
../clib/armsys.c 0x00000000 Number 0 argv_veneer.o ABSOLUTE
- ../clib/armsys.c 0x00000000 Number 0 _get_argv_nomalloc.o ABSOLUTE
../clib/armsys.c 0x00000000 Number 0 no_argv.o ABSOLUTE
+ ../clib/armsys.c 0x00000000 Number 0 _get_argv_nomalloc.o ABSOLUTE
../clib/heapalloc.c 0x00000000 Number 0 hrguard.o ABSOLUTE
../clib/heapaux.c 0x00000000 Number 0 heapauxi.o ABSOLUTE
+ ../clib/libinit.s 0x00000000 Number 0 libshutdown2.o ABSOLUTE
../clib/libinit.s 0x00000000 Number 0 libshutdown.o ABSOLUTE
../clib/libinit.s 0x00000000 Number 0 libinit.o ABSOLUTE
- ../clib/libinit.s 0x00000000 Number 0 libshutdown2.o ABSOLUTE
../clib/libinit.s 0x00000000 Number 0 libinit2.o ABSOLUTE
../clib/longlong.s 0x00000000 Number 0 lludivv7m.o ABSOLUTE
+ ../clib/signal.c 0x00000000 Number 0 defsig_abrt_inner.o ABSOLUTE
../clib/signal.c 0x00000000 Number 0 defsig_cppl_inner.o ABSOLUTE
- ../clib/signal.c 0x00000000 Number 0 defsig_rtmem_formal.o ABSOLUTE
+ ../clib/signal.c 0x00000000 Number 0 defsig_rtred_inner.o ABSOLUTE
+ ../clib/signal.c 0x00000000 Number 0 defsig_rtmem_inner.o ABSOLUTE
../clib/signal.c 0x00000000 Number 0 defsig_fpe_outer.o ABSOLUTE
../clib/signal.c 0x00000000 Number 0 defsig_fpe_formal.o ABSOLUTE
+ ../clib/signal.c 0x00000000 Number 0 defsig_rtmem_outer.o ABSOLUTE
+ ../clib/signal.c 0x00000000 Number 0 defsig_rtmem_formal.o ABSOLUTE
../clib/signal.c 0x00000000 Number 0 defsig_stak_inner.o ABSOLUTE
- ../clib/signal.c 0x00000000 Number 0 defsig_abrt_inner.o ABSOLUTE
- ../clib/signal.c 0x00000000 Number 0 defsig_pvfn_inner.o ABSOLUTE
../clib/signal.c 0x00000000 Number 0 defsig_segv_inner.o ABSOLUTE
- ../clib/signal.c 0x00000000 Number 0 defsig_rtmem_inner.o ABSOLUTE
../clib/signal.c 0x00000000 Number 0 defsig_other.o ABSOLUTE
- ../clib/signal.c 0x00000000 Number 0 defsig_rtred_inner.o ABSOLUTE
- ../clib/signal.c 0x00000000 Number 0 defsig_exit.o ABSOLUTE
../clib/signal.c 0x00000000 Number 0 defsig_fpe_inner.o ABSOLUTE
- ../clib/signal.c 0x00000000 Number 0 defsig_rtmem_outer.o ABSOLUTE
../clib/signal.c 0x00000000 Number 0 defsig_general.o ABSOLUTE
../clib/signal.c 0x00000000 Number 0 __raise.o ABSOLUTE
+ ../clib/signal.c 0x00000000 Number 0 defsig_pvfn_inner.o ABSOLUTE
+ ../clib/signal.c 0x00000000 Number 0 defsig_exit.o ABSOLUTE
../clib/signal.s 0x00000000 Number 0 defsig.o ABSOLUTE
../clib/stdlib.c 0x00000000 Number 0 exit.o ABSOLUTE
../fplib/fpinit.s 0x00000000 Number 0 fpinit.o ABSOLUTE
@@ -236,12 +237,13 @@ Image Symbol Table
.ARM.Collect$$libinit$$00000032 0x00000142 Section 0 libinit2.o(.ARM.Collect$$libinit$$00000032)
.ARM.Collect$$libinit$$00000033 0x00000142 Section 2 libinit2.o(.ARM.Collect$$libinit$$00000033)
.ARM.Collect$$libshutdown$$00000000 0x00000144 Section 2 libshutdown.o(.ARM.Collect$$libshutdown$$00000000)
- .ARM.Collect$$libshutdown$$00000003 0x00000146 Section 0 libshutdown2.o(.ARM.Collect$$libshutdown$$00000003)
- .ARM.Collect$$libshutdown$$00000006 0x00000146 Section 0 libshutdown2.o(.ARM.Collect$$libshutdown$$00000006)
- .ARM.Collect$$libshutdown$$00000009 0x00000146 Section 0 libshutdown2.o(.ARM.Collect$$libshutdown$$00000009)
- .ARM.Collect$$libshutdown$$0000000B 0x00000146 Section 0 libshutdown2.o(.ARM.Collect$$libshutdown$$0000000B)
- .ARM.Collect$$libshutdown$$0000000E 0x00000146 Section 0 libshutdown2.o(.ARM.Collect$$libshutdown$$0000000E)
- .ARM.Collect$$libshutdown$$0000000F 0x00000146 Section 2 libshutdown2.o(.ARM.Collect$$libshutdown$$0000000F)
+ .ARM.Collect$$libshutdown$$00000002 0x00000146 Section 0 libshutdown2.o(.ARM.Collect$$libshutdown$$00000002)
+ .ARM.Collect$$libshutdown$$00000004 0x00000146 Section 0 libshutdown2.o(.ARM.Collect$$libshutdown$$00000004)
+ .ARM.Collect$$libshutdown$$00000007 0x00000146 Section 0 libshutdown2.o(.ARM.Collect$$libshutdown$$00000007)
+ .ARM.Collect$$libshutdown$$0000000A 0x00000146 Section 0 libshutdown2.o(.ARM.Collect$$libshutdown$$0000000A)
+ .ARM.Collect$$libshutdown$$0000000C 0x00000146 Section 0 libshutdown2.o(.ARM.Collect$$libshutdown$$0000000C)
+ .ARM.Collect$$libshutdown$$0000000F 0x00000146 Section 0 libshutdown2.o(.ARM.Collect$$libshutdown$$0000000F)
+ .ARM.Collect$$libshutdown$$00000010 0x00000146 Section 2 libshutdown2.o(.ARM.Collect$$libshutdown$$00000010)
.ARM.Collect$$rtentry$$00000000 0x00000148 Section 0 __rtentry.o(.ARM.Collect$$rtentry$$00000000)
.ARM.Collect$$rtentry$$00000002 0x00000148 Section 0 __rtentry2.o(.ARM.Collect$$rtentry$$00000002)
.ARM.Collect$$rtentry$$00000004 0x00000148 Section 6 __rtentry4.o(.ARM.Collect$$rtentry$$00000004)
@@ -255,24 +257,25 @@ Image Symbol Table
.ARM.Collect$$rtexit$$00000004 0x00000160 Section 6 rtexit2.o(.ARM.Collect$$rtexit$$00000004)
.text 0x00000168 Section 60 startup_lpc17xx.o(.text)
.text 0x000001a4 Section 0 serial.o(.text)
- .text 0x000001f8 Section 0 lab10b.o(.text)
- .text 0x00000202 Section 238 lludivv7m.o(.text)
- .text 0x000002f0 Section 0 heapauxi.o(.text)
- .text 0x000002f6 Section 2 use_no_semi.o(.text)
- .text 0x000002f8 Section 0 indicate_semi.o(.text)
+ .text 0x00000220 Section 0 lab10b.o(.text)
+ .text 0x00000268 Section 0 heapauxi.o(.text)
+ .text 0x0000026e Section 74 sys_stackheap_outer.o(.text)
+ .text 0x000002b8 Section 0 exit.o(.text)
+ .text 0x000002cc Section 8 libspace.o(.text)
+ .text 0x000002d4 Section 0 sys_exit.o(.text)
+ .text 0x000002e0 Section 2 use_no_semi.o(.text)
+ .text 0x000002e2 Section 0 indicate_semi.o(.text)
.ARM.__at_0x02FC 0x000002fc Section 4 startup_lpc17xx.o(.ARM.__at_0x02FC)
.text 0x00000300 Section 0 system_lpc17xx.o(.text)
- .text 0x000005f0 Section 74 sys_stackheap_outer.o(.text)
- .text 0x0000063a Section 0 exit.o(.text)
- .text 0x00000648 Section 8 libspace.o(.text)
- .text 0x00000650 Section 0 sys_exit.o(.text)
- .data 0x10000000 Section 4 system_lpc17xx.o(.data)
- .bss 0x10000004 Section 96 libspace.o(.bss)
- HEAP 0x10000068 Section 0 startup_lpc17xx.o(HEAP)
- STACK 0x10000068 Section 512 startup_lpc17xx.o(STACK)
- Heap_Mem 0x10000068 Data 0 startup_lpc17xx.o(HEAP)
- Stack_Mem 0x10000068 Data 512 startup_lpc17xx.o(STACK)
- __initial_sp 0x10000268 Data 0 startup_lpc17xx.o(STACK)
+ .text 0x000005f0 Section 238 lludivv7m.o(.text)
+ STACK 0x10000000 Section 512 startup_lpc17xx.o(STACK)
+ Stack_Mem 0x10000000 Data 512 startup_lpc17xx.o(STACK)
+ __initial_sp 0x10000200 Data 0 startup_lpc17xx.o(STACK)
+ .data 0x2007c000 Section 4 system_lpc17xx.o(.data)
+ .data 0x2007c004 Section 123 lab10b.o(.data)
+ .bss 0x2007c080 Section 96 libspace.o(.bss)
+ HEAP 0x2007c0e0 Section 0 startup_lpc17xx.o(HEAP)
+ Heap_Mem 0x2007c0e0 Data 0 startup_lpc17xx.o(HEAP)
Global Symbols
@@ -339,12 +342,13 @@ Image Symbol Table
__rt_lib_init_stdio_1 0x00000143 Thumb Code 0 libinit2.o(.ARM.Collect$$libinit$$00000025)
__rt_lib_init_user_alloc_1 0x00000143 Thumb Code 0 libinit2.o(.ARM.Collect$$libinit$$0000000C)
__rt_lib_shutdown 0x00000145 Thumb Code 0 libshutdown.o(.ARM.Collect$$libshutdown$$00000000)
- __rt_lib_shutdown_fp_trap_1 0x00000147 Thumb Code 0 libshutdown2.o(.ARM.Collect$$libshutdown$$00000006)
- __rt_lib_shutdown_heap_1 0x00000147 Thumb Code 0 libshutdown2.o(.ARM.Collect$$libshutdown$$0000000E)
- __rt_lib_shutdown_return 0x00000147 Thumb Code 0 libshutdown2.o(.ARM.Collect$$libshutdown$$0000000F)
- __rt_lib_shutdown_signal_1 0x00000147 Thumb Code 0 libshutdown2.o(.ARM.Collect$$libshutdown$$00000009)
- __rt_lib_shutdown_stdio_1 0x00000147 Thumb Code 0 libshutdown2.o(.ARM.Collect$$libshutdown$$00000003)
- __rt_lib_shutdown_user_alloc_1 0x00000147 Thumb Code 0 libshutdown2.o(.ARM.Collect$$libshutdown$$0000000B)
+ __rt_lib_shutdown_cpp_1 0x00000147 Thumb Code 0 libshutdown2.o(.ARM.Collect$$libshutdown$$00000002)
+ __rt_lib_shutdown_fp_trap_1 0x00000147 Thumb Code 0 libshutdown2.o(.ARM.Collect$$libshutdown$$00000007)
+ __rt_lib_shutdown_heap_1 0x00000147 Thumb Code 0 libshutdown2.o(.ARM.Collect$$libshutdown$$0000000F)
+ __rt_lib_shutdown_return 0x00000147 Thumb Code 0 libshutdown2.o(.ARM.Collect$$libshutdown$$00000010)
+ __rt_lib_shutdown_signal_1 0x00000147 Thumb Code 0 libshutdown2.o(.ARM.Collect$$libshutdown$$0000000A)
+ __rt_lib_shutdown_stdio_1 0x00000147 Thumb Code 0 libshutdown2.o(.ARM.Collect$$libshutdown$$00000004)
+ __rt_lib_shutdown_user_alloc_1 0x00000147 Thumb Code 0 libshutdown2.o(.ARM.Collect$$libshutdown$$0000000C)
__rt_entry 0x00000149 Thumb Code 0 __rtentry.o(.ARM.Collect$$rtentry$$00000000)
__rt_entry_presh_1 0x00000149 Thumb Code 0 __rtentry2.o(.ARM.Collect$$rtentry$$00000002)
__rt_entry_sh 0x00000149 Thumb Code 0 __rtentry4.o(.ARM.Collect$$rtentry$$00000004)
@@ -402,29 +406,41 @@ Image Symbol Table
WDT_IRQHandler 0x00000183 Thumb Code 0 startup_lpc17xx.o(.text)
__user_initial_stackheap 0x00000185 Thumb Code 0 startup_lpc17xx.o(.text)
SER_Init 0x000001a5 Thumb Code 70 serial.o(.text)
- UART0_IRQHandler 0x000001f9 Thumb Code 2 lab10b.o(.text)
- main 0x000001fb Thumb Code 8 lab10b.o(.text)
- __aeabi_uldivmod 0x00000203 Thumb Code 0 lludivv7m.o(.text)
- _ll_udiv 0x00000203 Thumb Code 238 lludivv7m.o(.text)
- __use_two_region_memory 0x000002f1 Thumb Code 2 heapauxi.o(.text)
- __rt_heap_escrow$2region 0x000002f3 Thumb Code 2 heapauxi.o(.text)
- __rt_heap_expand$2region 0x000002f5 Thumb Code 2 heapauxi.o(.text)
- __I$use$semihosting 0x000002f7 Thumb Code 0 use_no_semi.o(.text)
- __use_no_semihosting_swi 0x000002f7 Thumb Code 2 use_no_semi.o(.text)
- __semihosting_library_function 0x000002f9 Thumb Code 0 indicate_semi.o(.text)
+ SER_PutChar 0x000001eb Thumb Code 20 serial.o(.text)
+ SER_GetChar 0x000001ff Thumb Code 20 serial.o(.text)
+ UART0_IRQHandler 0x00000221 Thumb Code 38 lab10b.o(.text)
+ main 0x00000247 Thumb Code 20 lab10b.o(.text)
+ __use_two_region_memory 0x00000269 Thumb Code 2 heapauxi.o(.text)
+ __rt_heap_escrow$2region 0x0000026b Thumb Code 2 heapauxi.o(.text)
+ __rt_heap_expand$2region 0x0000026d Thumb Code 2 heapauxi.o(.text)
+ __user_setup_stackheap 0x0000026f Thumb Code 74 sys_stackheap_outer.o(.text)
+ exit 0x000002b9 Thumb Code 18 exit.o(.text)
+ __user_libspace 0x000002cd Thumb Code 8 libspace.o(.text)
+ __user_perproc_libspace 0x000002cd Thumb Code 0 libspace.o(.text)
+ __user_perthread_libspace 0x000002cd Thumb Code 0 libspace.o(.text)
+ _sys_exit 0x000002d5 Thumb Code 8 sys_exit.o(.text)
+ __I$use$semihosting 0x000002e1 Thumb Code 0 use_no_semi.o(.text)
+ __use_no_semihosting_swi 0x000002e1 Thumb Code 2 use_no_semi.o(.text)
+ __semihosting_library_function 0x000002e3 Thumb Code 0 indicate_semi.o(.text)
SystemCoreClockUpdate 0x00000301 Thumb Code 408 system_lpc17xx.o(.text)
SystemInit 0x00000499 Thumb Code 314 system_lpc17xx.o(.text)
- __user_setup_stackheap 0x000005f1 Thumb Code 74 sys_stackheap_outer.o(.text)
- exit 0x0000063b Thumb Code 12 exit.o(.text)
- __user_libspace 0x00000649 Thumb Code 8 libspace.o(.text)
- __user_perproc_libspace 0x00000649 Thumb Code 0 libspace.o(.text)
- __user_perthread_libspace 0x00000649 Thumb Code 0 libspace.o(.text)
- _sys_exit 0x00000651 Thumb Code 8 sys_exit.o(.text)
- Region$$Table$$Base 0x0000065c Number 0 anon$$obj.o(Region$$Table)
- Region$$Table$$Limit 0x0000067c Number 0 anon$$obj.o(Region$$Table)
- SystemCoreClock 0x10000000 Data 4 system_lpc17xx.o(.data)
- __libspace_start 0x10000004 Data 96 libspace.o(.bss)
- __temporary_stack_top$libspace 0x10000064 Data 0 libspace.o(.bss)
+ __aeabi_uldivmod 0x000005f1 Thumb Code 0 lludivv7m.o(.text)
+ _ll_udiv 0x000005f1 Thumb Code 238 lludivv7m.o(.text)
+ Region$$Table$$Base 0x000006e0 Number 0 anon$$obj.o(Region$$Table)
+ Region$$Table$$Limit 0x00000710 Number 0 anon$$obj.o(Region$$Table)
+ SystemCoreClock 0x2007c000 Data 4 system_lpc17xx.o(.data)
+ s 0x2007c004 Data 4 lab10b.o(.data)
+ value_rx 0x2007c008 Data 1 lab10b.o(.data)
+ tx_finish_flag 0x2007c009 Data 1 lab10b.o(.data)
+ answer1 0x2007c00a Data 12 lab10b.o(.data)
+ answer2 0x2007c016 Data 13 lab10b.o(.data)
+ answer3 0x2007c023 Data 12 lab10b.o(.data)
+ answer4 0x2007c02f Data 12 lab10b.o(.data)
+ correctAnswer 0x2007c03b Data 12 lab10b.o(.data)
+ wrongAnswer 0x2007c047 Data 19 lab10b.o(.data)
+ question 0x2007c05a Data 37 lab10b.o(.data)
+ __libspace_start 0x2007c080 Data 96 libspace.o(.bss)
+ __temporary_stack_top$libspace 0x2007c0e0 Data 0 libspace.o(.bss)
@@ -434,86 +450,95 @@ Memory Map of the image
Image Entry point : 0x000000cd
- Load Region LR_IROM1 (Base: 0x00000000, Size: 0x00000680, Max: 0x00080000, ABSOLUTE)
+ Load Region LR_IROM1 (Base: 0x00000000, Size: 0x00000790, Max: 0x00080000, ABSOLUTE)
- Execution Region ER_IROM1 (Base: 0x00000000, Size: 0x0000067c, Max: 0x00080000, ABSOLUTE)
+ Execution Region ER_IROM1 (Base: 0x00000000, Size: 0x00000710, Max: 0x00080000, ABSOLUTE)
Base Addr Size Type Attr Idx E Section Name Object
0x00000000 0x000000cc Data RO 3 RESET startup_lpc17xx.o
- 0x000000cc 0x00000008 Code RO 136 * !!!main c_w.l(__main.o)
- 0x000000d4 0x00000034 Code RO 302 !!!scatter c_w.l(__scatter.o)
- 0x00000108 0x0000001a Code RO 304 !!handler_copy c_w.l(__scatter_copy.o)
+ 0x000000cc 0x00000008 Code RO 130 * !!!main c_w.l(__main.o)
+ 0x000000d4 0x00000034 Code RO 297 !!!scatter c_w.l(__scatter.o)
+ 0x00000108 0x0000001a Code RO 299 !!handler_copy c_w.l(__scatter_copy.o)
0x00000122 0x00000002 PAD
- 0x00000124 0x0000001c Code RO 306 !!handler_zi c_w.l(__scatter_zi.o)
- 0x00000140 0x00000002 Code RO 173 .ARM.Collect$$libinit$$00000000 c_w.l(libinit.o)
- 0x00000142 0x00000000 Code RO 186 .ARM.Collect$$libinit$$00000002 c_w.l(libinit2.o)
- 0x00000142 0x00000000 Code RO 188 .ARM.Collect$$libinit$$00000004 c_w.l(libinit2.o)
- 0x00000142 0x00000000 Code RO 191 .ARM.Collect$$libinit$$0000000A c_w.l(libinit2.o)
- 0x00000142 0x00000000 Code RO 193 .ARM.Collect$$libinit$$0000000C c_w.l(libinit2.o)
- 0x00000142 0x00000000 Code RO 195 .ARM.Collect$$libinit$$0000000E c_w.l(libinit2.o)
- 0x00000142 0x00000000 Code RO 198 .ARM.Collect$$libinit$$00000011 c_w.l(libinit2.o)
- 0x00000142 0x00000000 Code RO 200 .ARM.Collect$$libinit$$00000013 c_w.l(libinit2.o)
- 0x00000142 0x00000000 Code RO 202 .ARM.Collect$$libinit$$00000015 c_w.l(libinit2.o)
- 0x00000142 0x00000000 Code RO 204 .ARM.Collect$$libinit$$00000017 c_w.l(libinit2.o)
- 0x00000142 0x00000000 Code RO 206 .ARM.Collect$$libinit$$00000019 c_w.l(libinit2.o)
- 0x00000142 0x00000000 Code RO 208 .ARM.Collect$$libinit$$0000001B c_w.l(libinit2.o)
- 0x00000142 0x00000000 Code RO 210 .ARM.Collect$$libinit$$0000001D c_w.l(libinit2.o)
- 0x00000142 0x00000000 Code RO 212 .ARM.Collect$$libinit$$0000001F c_w.l(libinit2.o)
- 0x00000142 0x00000000 Code RO 214 .ARM.Collect$$libinit$$00000021 c_w.l(libinit2.o)
- 0x00000142 0x00000000 Code RO 216 .ARM.Collect$$libinit$$00000023 c_w.l(libinit2.o)
- 0x00000142 0x00000000 Code RO 218 .ARM.Collect$$libinit$$00000025 c_w.l(libinit2.o)
- 0x00000142 0x00000000 Code RO 222 .ARM.Collect$$libinit$$0000002C c_w.l(libinit2.o)
- 0x00000142 0x00000000 Code RO 224 .ARM.Collect$$libinit$$0000002E c_w.l(libinit2.o)
- 0x00000142 0x00000000 Code RO 226 .ARM.Collect$$libinit$$00000030 c_w.l(libinit2.o)
- 0x00000142 0x00000000 Code RO 228 .ARM.Collect$$libinit$$00000032 c_w.l(libinit2.o)
- 0x00000142 0x00000002 Code RO 229 .ARM.Collect$$libinit$$00000033 c_w.l(libinit2.o)
- 0x00000144 0x00000002 Code RO 260 .ARM.Collect$$libshutdown$$00000000 c_w.l(libshutdown.o)
- 0x00000146 0x00000000 Code RO 287 .ARM.Collect$$libshutdown$$00000003 c_w.l(libshutdown2.o)
- 0x00000146 0x00000000 Code RO 290 .ARM.Collect$$libshutdown$$00000006 c_w.l(libshutdown2.o)
- 0x00000146 0x00000000 Code RO 293 .ARM.Collect$$libshutdown$$00000009 c_w.l(libshutdown2.o)
- 0x00000146 0x00000000 Code RO 295 .ARM.Collect$$libshutdown$$0000000B c_w.l(libshutdown2.o)
- 0x00000146 0x00000000 Code RO 298 .ARM.Collect$$libshutdown$$0000000E c_w.l(libshutdown2.o)
- 0x00000146 0x00000002 Code RO 299 .ARM.Collect$$libshutdown$$0000000F c_w.l(libshutdown2.o)
- 0x00000148 0x00000000 Code RO 138 .ARM.Collect$$rtentry$$00000000 c_w.l(__rtentry.o)
- 0x00000148 0x00000000 Code RO 144 .ARM.Collect$$rtentry$$00000002 c_w.l(__rtentry2.o)
- 0x00000148 0x00000006 Code RO 156 .ARM.Collect$$rtentry$$00000004 c_w.l(__rtentry4.o)
- 0x0000014e 0x00000000 Code RO 146 .ARM.Collect$$rtentry$$00000009 c_w.l(__rtentry2.o)
- 0x0000014e 0x00000004 Code RO 147 .ARM.Collect$$rtentry$$0000000A c_w.l(__rtentry2.o)
- 0x00000152 0x00000000 Code RO 149 .ARM.Collect$$rtentry$$0000000C c_w.l(__rtentry2.o)
- 0x00000152 0x00000008 Code RO 150 .ARM.Collect$$rtentry$$0000000D c_w.l(__rtentry2.o)
- 0x0000015a 0x00000002 Code RO 177 .ARM.Collect$$rtexit$$00000000 c_w.l(rtexit.o)
- 0x0000015c 0x00000000 Code RO 233 .ARM.Collect$$rtexit$$00000002 c_w.l(rtexit2.o)
- 0x0000015c 0x00000004 Code RO 234 .ARM.Collect$$rtexit$$00000003 c_w.l(rtexit2.o)
- 0x00000160 0x00000006 Code RO 235 .ARM.Collect$$rtexit$$00000004 c_w.l(rtexit2.o)
+ 0x00000124 0x0000001c Code RO 301 !!handler_zi c_w.l(__scatter_zi.o)
+ 0x00000140 0x00000002 Code RO 167 .ARM.Collect$$libinit$$00000000 c_w.l(libinit.o)
+ 0x00000142 0x00000000 Code RO 180 .ARM.Collect$$libinit$$00000002 c_w.l(libinit2.o)
+ 0x00000142 0x00000000 Code RO 182 .ARM.Collect$$libinit$$00000004 c_w.l(libinit2.o)
+ 0x00000142 0x00000000 Code RO 185 .ARM.Collect$$libinit$$0000000A c_w.l(libinit2.o)
+ 0x00000142 0x00000000 Code RO 187 .ARM.Collect$$libinit$$0000000C c_w.l(libinit2.o)
+ 0x00000142 0x00000000 Code RO 189 .ARM.Collect$$libinit$$0000000E c_w.l(libinit2.o)
+ 0x00000142 0x00000000 Code RO 192 .ARM.Collect$$libinit$$00000011 c_w.l(libinit2.o)
+ 0x00000142 0x00000000 Code RO 194 .ARM.Collect$$libinit$$00000013 c_w.l(libinit2.o)
+ 0x00000142 0x00000000 Code RO 196 .ARM.Collect$$libinit$$00000015 c_w.l(libinit2.o)
+ 0x00000142 0x00000000 Code RO 198 .ARM.Collect$$libinit$$00000017 c_w.l(libinit2.o)
+ 0x00000142 0x00000000 Code RO 200 .ARM.Collect$$libinit$$00000019 c_w.l(libinit2.o)
+ 0x00000142 0x00000000 Code RO 202 .ARM.Collect$$libinit$$0000001B c_w.l(libinit2.o)
+ 0x00000142 0x00000000 Code RO 204 .ARM.Collect$$libinit$$0000001D c_w.l(libinit2.o)
+ 0x00000142 0x00000000 Code RO 206 .ARM.Collect$$libinit$$0000001F c_w.l(libinit2.o)
+ 0x00000142 0x00000000 Code RO 208 .ARM.Collect$$libinit$$00000021 c_w.l(libinit2.o)
+ 0x00000142 0x00000000 Code RO 210 .ARM.Collect$$libinit$$00000023 c_w.l(libinit2.o)
+ 0x00000142 0x00000000 Code RO 212 .ARM.Collect$$libinit$$00000025 c_w.l(libinit2.o)
+ 0x00000142 0x00000000 Code RO 216 .ARM.Collect$$libinit$$0000002C c_w.l(libinit2.o)
+ 0x00000142 0x00000000 Code RO 218 .ARM.Collect$$libinit$$0000002E c_w.l(libinit2.o)
+ 0x00000142 0x00000000 Code RO 220 .ARM.Collect$$libinit$$00000030 c_w.l(libinit2.o)
+ 0x00000142 0x00000000 Code RO 222 .ARM.Collect$$libinit$$00000032 c_w.l(libinit2.o)
+ 0x00000142 0x00000002 Code RO 223 .ARM.Collect$$libinit$$00000033 c_w.l(libinit2.o)
+ 0x00000144 0x00000002 Code RO 254 .ARM.Collect$$libshutdown$$00000000 c_w.l(libshutdown.o)
+ 0x00000146 0x00000000 Code RO 280 .ARM.Collect$$libshutdown$$00000002 c_w.l(libshutdown2.o)
+ 0x00000146 0x00000000 Code RO 282 .ARM.Collect$$libshutdown$$00000004 c_w.l(libshutdown2.o)
+ 0x00000146 0x00000000 Code RO 285 .ARM.Collect$$libshutdown$$00000007 c_w.l(libshutdown2.o)
+ 0x00000146 0x00000000 Code RO 288 .ARM.Collect$$libshutdown$$0000000A c_w.l(libshutdown2.o)
+ 0x00000146 0x00000000 Code RO 290 .ARM.Collect$$libshutdown$$0000000C c_w.l(libshutdown2.o)
+ 0x00000146 0x00000000 Code RO 293 .ARM.Collect$$libshutdown$$0000000F c_w.l(libshutdown2.o)
+ 0x00000146 0x00000002 Code RO 294 .ARM.Collect$$libshutdown$$00000010 c_w.l(libshutdown2.o)
+ 0x00000148 0x00000000 Code RO 132 .ARM.Collect$$rtentry$$00000000 c_w.l(__rtentry.o)
+ 0x00000148 0x00000000 Code RO 138 .ARM.Collect$$rtentry$$00000002 c_w.l(__rtentry2.o)
+ 0x00000148 0x00000006 Code RO 150 .ARM.Collect$$rtentry$$00000004 c_w.l(__rtentry4.o)
+ 0x0000014e 0x00000000 Code RO 140 .ARM.Collect$$rtentry$$00000009 c_w.l(__rtentry2.o)
+ 0x0000014e 0x00000004 Code RO 141 .ARM.Collect$$rtentry$$0000000A c_w.l(__rtentry2.o)
+ 0x00000152 0x00000000 Code RO 143 .ARM.Collect$$rtentry$$0000000C c_w.l(__rtentry2.o)
+ 0x00000152 0x00000008 Code RO 144 .ARM.Collect$$rtentry$$0000000D c_w.l(__rtentry2.o)
+ 0x0000015a 0x00000002 Code RO 171 .ARM.Collect$$rtexit$$00000000 c_w.l(rtexit.o)
+ 0x0000015c 0x00000000 Code RO 227 .ARM.Collect$$rtexit$$00000002 c_w.l(rtexit2.o)
+ 0x0000015c 0x00000004 Code RO 228 .ARM.Collect$$rtexit$$00000003 c_w.l(rtexit2.o)
+ 0x00000160 0x00000006 Code RO 229 .ARM.Collect$$rtexit$$00000004 c_w.l(rtexit2.o)
0x00000166 0x00000002 PAD
0x00000168 0x0000003c Code RO 5 .text startup_lpc17xx.o
- 0x000001a4 0x00000054 Code RO 58 .text serial.o
- 0x000001f8 0x0000000a Code RO 98 .text lab10b.o
- 0x00000202 0x000000ee Code RO 132 .text c_w.l(lludivv7m.o)
- 0x000002f0 0x00000006 Code RO 134 .text c_w.l(heapauxi.o)
- 0x000002f6 0x00000002 Code RO 249 .text c_w.l(use_no_semi.o)
- 0x000002f8 0x00000000 Code RO 251 .text c_w.l(indicate_semi.o)
- 0x000002f8 0x00000004 PAD
+ 0x000001a4 0x0000007c Code RO 58 .text serial.o
+ 0x00000220 0x00000048 Code RO 92 .text lab10b.o
+ 0x00000268 0x00000006 Code RO 128 .text c_w.l(heapauxi.o)
+ 0x0000026e 0x0000004a Code RO 154 .text c_w.l(sys_stackheap_outer.o)
+ 0x000002b8 0x00000012 Code RO 156 .text c_w.l(exit.o)
+ 0x000002ca 0x00000002 PAD
+ 0x000002cc 0x00000008 Code RO 168 .text c_w.l(libspace.o)
+ 0x000002d4 0x0000000c Code RO 224 .text c_w.l(sys_exit.o)
+ 0x000002e0 0x00000002 Code RO 243 .text c_w.l(use_no_semi.o)
+ 0x000002e2 0x00000000 Code RO 245 .text c_w.l(indicate_semi.o)
+ 0x000002e2 0x0000001a PAD
0x000002fc 0x00000004 Code RO 4 .ARM.__at_0x02FC startup_lpc17xx.o
0x00000300 0x000002f0 Code RO 15 .text system_lpc17xx.o
- 0x000005f0 0x0000004a Code RO 160 .text c_w.l(sys_stackheap_outer.o)
- 0x0000063a 0x0000000c Code RO 162 .text c_w.l(exit.o)
- 0x00000646 0x00000002 PAD
- 0x00000648 0x00000008 Code RO 174 .text c_w.l(libspace.o)
- 0x00000650 0x0000000c Code RO 230 .text c_w.l(sys_exit.o)
- 0x0000065c 0x00000020 Data RO 300 Region$$Table anon$$obj.o
+ 0x000005f0 0x000000ee Code RO 126 .text c_w.l(lludivv7m.o)
+ 0x000006de 0x00000002 PAD
+ 0x000006e0 0x00000030 Data RO 295 Region$$Table anon$$obj.o
+
+
+ Execution Region RW_IRAM1 (Base: 0x10000000, Size: 0x00000200, Max: 0x00008000, ABSOLUTE)
+
+ Base Addr Size Type Attr Idx E Section Name Object
+
+ 0x10000000 0x00000200 Zero RW 1 STACK startup_lpc17xx.o
- Execution Region RW_IRAM1 (Base: 0x10000000, Size: 0x00000268, Max: 0x00008000, ABSOLUTE)
+ Execution Region RW_IRAM2 (Base: 0x2007c000, Size: 0x000000e0, Max: 0x00008000, ABSOLUTE)
Base Addr Size Type Attr Idx E Section Name Object
- 0x10000000 0x00000004 Data RW 16 .data system_lpc17xx.o
- 0x10000004 0x00000060 Zero RW 175 .bss c_w.l(libspace.o)
- 0x10000064 0x00000004 PAD
- 0x10000068 0x00000000 Zero RW 2 HEAP startup_lpc17xx.o
- 0x10000068 0x00000200 Zero RW 1 STACK startup_lpc17xx.o
+ 0x2007c000 0x00000004 Data RW 16 .data system_lpc17xx.o
+ 0x2007c004 0x0000007b Data RW 93 .data lab10b.o
+ 0x2007c07f 0x00000001 PAD
+ 0x2007c080 0x00000060 Zero RW 169 .bss c_w.l(libspace.o)
+ 0x2007c0e0 0x00000000 Zero RW 2 HEAP startup_lpc17xx.o
==============================================================================
@@ -523,15 +548,15 @@ Image component sizes
Code (inc. data) RO Data RW Data ZI Data Debug Object Name
- 10 0 0 0 0 560 lab10b.o
- 84 14 0 0 0 391 serial.o
- 64 26 204 0 512 976 startup_lpc17xx.o
- 752 30 0 4 0 5517 system_lpc17xx.o
+ 72 14 0 123 0 1631 lab10b.o
+ 124 14 0 0 0 811 serial.o
+ 64 26 204 0 512 1024 startup_lpc17xx.o
+ 752 30 0 4 0 5581 system_lpc17xx.o
----------------------------------------------------------------------
- 910 70 236 4 512 7444 Object Totals
- 0 0 32 0 0 0 (incl. Generated)
- 0 0 0 0 0 0 (incl. Padding)
+ 1012 84 252 128 512 9047 Object Totals
+ 0 0 48 0 0 0 (incl. Generated)
+ 0 0 0 1 0 0 (incl. Padding)
----------------------------------------------------------------------
@@ -544,7 +569,7 @@ Image component sizes
52 8 0 0 0 0 __scatter.o
26 0 0 0 0 0 __scatter_copy.o
28 0 0 0 0 0 __scatter_zi.o
- 12 0 0 0 0 72 exit.o
+ 18 0 0 0 0 80 exit.o
6 0 0 0 0 152 heapauxi.o
0 0 0 0 0 0 indicate_semi.o
2 0 0 0 0 0 libinit.o
@@ -560,17 +585,17 @@ Image component sizes
2 0 0 0 0 68 use_no_semi.o
----------------------------------------------------------------------
- 514 16 0 0 100 676 Library Totals
- 10 0 0 0 4 0 (incl. Padding)
+ 544 16 0 0 96 684 Library Totals
+ 34 0 0 0 0 0 (incl. Padding)
----------------------------------------------------------------------
Code (inc. data) RO Data RW Data ZI Data Debug Library Name
- 504 16 0 0 96 676 c_w.l
+ 510 16 0 0 96 684 c_w.l
----------------------------------------------------------------------
- 514 16 0 0 100 676 Library Totals
+ 544 16 0 0 96 684 Library Totals
----------------------------------------------------------------------
@@ -579,15 +604,15 @@ Image component sizes
Code (inc. data) RO Data RW Data ZI Data Debug
- 1424 86 236 4 612 7804 Grand Totals
- 1424 86 236 4 612 7804 ELF Image Totals
- 1424 86 236 4 0 0 ROM Totals
+ 1556 100 252 128 608 9363 Grand Totals
+ 1556 100 252 128 608 9363 ELF Image Totals
+ 1556 100 252 128 0 0 ROM Totals
==============================================================================
- Total RO Size (Code + RO Data) 1660 ( 1.62kB)
- Total RW Size (RW Data + ZI Data) 616 ( 0.60kB)
- Total ROM Size (Code + RO Data + RW Data) 1664 ( 1.63kB)
+ Total RO Size (Code + RO Data) 1808 ( 1.77kB)
+ Total RW Size (RW Data + ZI Data) 736 ( 0.72kB)
+ Total ROM Size (Code + RO Data + RW Data) 1936 ( 1.89kB)
==============================================================================
diff --git a/lab10-partB/Lst/startup_LPC17xx.lst b/lab10-partB/Lst/startup_LPC17xx.lst
index f9bad43..68ee3e7 100644
--- a/lab10-partB/Lst/startup_LPC17xx.lst
+++ b/lab10-partB/Lst/startup_LPC17xx.lst
@@ -430,11 +430,12 @@ ARM Macro Assembler Page 7
00000000
00000200
00000000
-Command Line: --debug --xref --cpu=Cortex-M3 --apcs=interwork --depend=.\obj\st
-artup_lpc17xx.d -o.\obj\startup_lpc17xx.o -IC:\Keil_v5\ARM\RV31\INC -IC:\Keil_v
-5\ARM\CMSIS\Include -IC:\Keil_v5\ARM\Inc\NXP\LPC17xx --predefine="__EVAL SETA 1
-" --predefine="LPC175x_6x SETA 1" --list=.\lst\startup_lpc17xx.lst startup\star
-tup_LPC17xx.s
+Command Line: --debug --xref --diag_suppress=9931 --cpu=Cortex-M3 --apcs=interw
+ork --depend=.\obj\startup_lpc17xx.d -o.\obj\startup_lpc17xx.o -I.\RTE\_Simulat
+or -IC:\Keil_v5\ARM\PACK\ARM\CMSIS\5.0.1\CMSIS\Include -IC:\Keil_v5\ARM\PACK\Ke
+il\LPC1700_DFP\2.3.0\Device\Include --predefine="__EVAL SETA 1" --predefine="__
+UVISION_VERSION SETA 523" --predefine="_RTE_ SETA 1" --predefine="LPC175x_6x SE
+TA 1" --list=.\lst\startup_lpc17xx.lst startup\startup_LPC17xx.s
@@ -1087,4 +1088,4 @@ Symbol: __use_two_region_memory
None
Comment: __use_two_region_memory unused
3 symbols
-402 symbols in table
+404 symbols in table
diff --git a/lab10-partB/Obj/example01.build_log.htm b/lab10-partB/Obj/example01.build_log.htm
index 7958e3a..93db9be 100644
--- a/lab10-partB/Obj/example01.build_log.htm
+++ b/lab10-partB/Obj/example01.build_log.htm
@@ -3,42 +3,62 @@
µVision Build Log
Tool Versions:
-IDE-Version: µVision V5.12.0.0
-Copyright (C) 2014 ARM Ltd and ARM Germany GmbH. All rights reserved.
-License Information: Rasender singh, ipfw, LIC=----
+IDE-Version: µVision V5.23.0.0
+Copyright (C) 2017 ARM Ltd and ARM Germany GmbH. All rights reserved.
+License Information: a b, c, LIC=----
Tool Versions:
-Toolchain: MDK-Lite Version: 5.12.0.0
+Toolchain: MDK-Lite Version: 5.23
Toolchain Path: C:\Keil_v5\ARM\ARMCC\Bin
-C Compiler: Armcc.exe V5.05 (build 41)
-Assembler: Armasm.exe V5.05 (build 41)
-Linker/Locator: ArmLink.exe V5.05 (build 41)
-Library Manager: ArmAr.exe V5.05 (build 41)
-Hex Converter: FromElf.exe V5.05 (build 41)
-CPU DLL: SARMCM3.DLL V5.12.0.0
-Dialog DLL: DARMP1.DLL V1.25.0.0
-Target DLL: UL2CM3.DLL V1.153.0.0
-Dialog DLL: TARMP1.DLL V1.24.0.0
+C Compiler: Armcc.exe V5.06 update 4 (build 422)
+Assembler: Armasm.exe V5.06 update 4 (build 422)
+Linker/Locator: ArmLink.exe V5.06 update 4 (build 422)
+Library Manager: ArmAr.exe V5.06 update 4 (build 422)
+Hex Converter: FromElf.exe V5.06 update 4 (build 422)
+CPU DLL: SARMCM3.DLL V5.23
+Dialog DLL: DARMP1.DLL V1.27.0.0
+Target DLL: UL2CM3.DLL V1.159.7.0
+Dialog DLL: TARMP1.DLL V1.26.0.0
Project:
-C:\Users\Bawa\Desktop\lab10-partB\uart.uvproj
-Project File Date: 03/29/2016
+U:\Windows_Documents\ece 362\lab10-branch1\lab10-partB\uart.uvprojx
+Project File Date: 04/03/2017
Output:
+*** Using Compiler 'V5.06 update 4 (build 422)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin'
Build target 'Simulator'
compiling lab10b.c...
-lab10b.c(13): warning: #177-D: variable "intsrc" was declared but never referenced
- uint32_t intsrc, tmp;
-lab10b.c(13): warning: #177-D: variable "tmp" was declared but never referenced
- uint32_t intsrc, tmp;
-lab10b.c(51): warning: #111-D: statement is unreachable
+lab10b.c(20): error: #144: a value of type "char [37]" cannot be used to initialize an entity of type "uint8_t [20]"
+ uint8_t question[20] = "What is the capital city of China? \n";
+lab10b.c(26): warning: #177-D: variable "tmp" was declared but never referenced
+ uint32_t intsrc, tmp;
+lab10b.c(94): warning: #111-D: statement is unreachable
return 0;
-lab10b.c(34): warning: #177-D: variable "choice" was declared but never referenced
- uint8_t choice;
-lab10b.c: 4 warnings, 0 errors
-linking...
-Program Size: Code=1424 RO-data=236 RW-data=4 ZI-data=612
-".\Obj\example01.axf" - 0 Error(s), 4 Warning(s).
+lab10b.c(69): warning: #177-D: variable "choice" was declared but never referenced
+ uint8_t choice;
+lab10b.c(70): warning: #177-D: variable "i" was declared but never referenced
+ uint8_t i = 0;
+lab10b.c: 4 warnings, 1 error
+".\Obj\example01.axf" - 1 Error(s), 4 Warning(s).
+
+Software Packages used:
+
+Package Vendor: ARM
+ http://www.keil.com/pack/ARM.CMSIS.5.0.1.pack
+ ARM::CMSIS:CORE:5.0.1
+ CMSIS (Cortex Microcontroller Software Interface Standard)
+ * Component: CORE Version: 5.0.1
+
+Collection of Component include folders:
+ .\RTE\_Simulator
+ C:\Keil_v5\ARM\PACK\ARM\CMSIS\5.0.1\CMSIS\Include
+ C:\Keil_v5\ARM\PACK\Keil\LPC1700_DFP\2.3.0\Device\Include
+
+Collection of Component Files used:
+
+ * Component: ARM::CMSIS:CORE:5.0.1
+Target not created.
+Build Time Elapsed: 00:00:00