[Tinyos-beta-commits] CVS: tinyos-1.x/beta/platform/imote2 binarymover.s, 1.1, 1.2

Josh jsherbach at users.sourceforge.net
Thu Sep 1 11:12:30 PDT 2005


Update of /cvsroot/tinyos/tinyos-1.x/beta/platform/imote2
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30704

Modified Files:
	binarymover.s 
Log Message:
update

Index: binarymover.s
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/beta/platform/imote2/binarymover.s,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** binarymover.s	31 Aug 2005 00:41:25 -0000	1.1
--- binarymover.s	1 Sep 2005 18:12:28 -0000	1.2
***************
*** 47,53 ****
  	ldr r6,=0x18				@offset between GPDR3 and GPCR3
  	add r5,r5,r6				@r5 contains 0x40e0 0124
! 	ldr r6,=0x3
  	mov r6,r6,LSL #7
! 	str r6,[r5]
  	
  	ldr r4,=0x0					@Counter
--- 47,55 ----
  	ldr r6,=0x18				@offset between GPDR3 and GPCR3
  	add r5,r5,r6				@r5 contains 0x40e0 0124
! 	ldr r6,=0x7
  	mov r6,r6,LSL #7
! 	str r6,[r5]					@Turn on 3 LEDs
! 	
! 	sub r9,r5,#0xC				@r9 will store GPSR3, 0x40e0 0118
  	
  	ldr r4,=0x0					@Counter
***************
*** 66,69 ****
--- 68,75 ----
  	blo __Binary_Mover_RA_setup	@Repeat
  	
+ 	ldr r6,=0x1					@switching to 2 LEDs
+ 	mov r6,r6,LSL #7
+ 	str r6,[r9]					@Turn off 1 LED
+ 	
  	ldr r4,=0x0					@Counter
  	ldr r5,=0x8000				@Block size 0x0000 8000 initially...moves up to 0x0002 0000
***************
*** 106,109 ****
--- 112,119 ----
  	blo __Binary_Mover_Erase_loop		@Repeat
  	
+ 	ldr r6,=0x1					@switching to 1 LEDs
+ 	mov r6,r6,LSL #8
+ 	str r6,[r9]					@Turn off 1 LED
+ 
  	ldr r4,=0x0					@Reset counter for writing
  	__Binary_Mover_Write_loop:



More information about the Tinyos-beta-commits mailing list