CVS: jtag/msp430 MSP430mspgcc.c,1.17,1.18
Chris Liechti <[email protected]>
| Newsgroups | gmane.comp.hardware.texas-instruments.msp430.gcc.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/mspgcc/jtag/msp430
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10925/jtag/msp430
Modified Files:
MSP430mspgcc.c
Log Message:
fix bug for memory read from word aligned memory with odd starting address
Index: MSP430mspgcc.c
===================================================================
RCS file: /cvsroot/mspgcc/jtag/msp430/MSP430mspgcc.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -w -d -r1.17 -r1.18
--- MSP430mspgcc.c 13 Apr 2006 20:21:30 -0000 1.17
+++ MSP430mspgcc.c 20 Apr 2006 22:55:18 -0000 1.18
@@ -476,7 +476,7 @@
buffer[i] = ReadMem(F_BYTE, (WORD)(address + i));
}
} else if (address & 1) { // Otherwise force word alignment if not.
- memValue = ReadMem(F_WORD, (WORD)(address + count));
+ memValue = ReadMem(F_WORD, (WORD)(address));
*buffer = (memValue >> 8) & 0xFF;
doneCount = 1;
}
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642