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

Philip Buonadonna philipb at users.sourceforge.net
Fri Feb 25 13:14:46 PST 2005


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

Modified Files:
	HPLCC2420M.nc 
Log Message:
- Fixed bug regarding DMA address alignment for channel 1


Index: HPLCC2420M.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/beta/platform/imote2/HPLCC2420M.nc,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** HPLCC2420M.nc	13 Nov 2004 01:11:44 -0000	1.1
--- HPLCC2420M.nc	25 Feb 2005 21:14:42 -0000	1.2
***************
*** 107,111 ****
      DRCMR(66) = ((1 << 7) | (0 & 0x1f)); // SSP3 Rx = DMA CH0
      DRCMR(67) = ((1 << 7) | (1 & 0x1f)); // SSP3 Tx = DMA CH1
!     DALGN = (1 << 0); // Align Channel 0 for byte operations
      call DMAInterrupt.allocate();
  
--- 107,111 ----
      DRCMR(66) = ((1 << 7) | (0 & 0x1f)); // SSP3 Rx = DMA CH0
      DRCMR(67) = ((1 << 7) | (1 & 0x1f)); // SSP3 Tx = DMA CH1
!     DALGN = ((1 << 1) | (1 << 0)); // Align Channel 0 and 1 for byte operations
      call DMAInterrupt.allocate();
  
***************
*** 542,546 ****
    async event void DMAInterrupt.fired() {
      uint8_t i,tmp;
! 
      switch (gIFState) {
  
--- 542,546 ----
    async event void DMAInterrupt.fired() {
      uint8_t i,tmp;
!     atomic {
      switch (gIFState) {
  
***************
*** 579,582 ****
--- 579,583 ----
  
      }
+     }
    }      
  



More information about the Tinyos-beta-commits mailing list