CVS: jtag/funclets counter.S,1.2,1.3
Chris Liechti <[email protected]>
| Newsgroups | gmane.comp.hardware.texas-instruments.msp430.gcc.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/mspgcc/jtag/funclets
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6188/jtag/funclets
Modified Files:
counter.S
Log Message:
optional argument to set BCSCTL2 too (used if DCOR/external RSEL should be used)
Index: counter.S
===================================================================
RCS file: /cvsroot/mspgcc/jtag/funclets/counter.S,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -w -d -r1.2 -r1.3
--- counter.S 27 Dec 2005 13:37:11 -0000 1.2
+++ counter.S 29 Dec 2005 14:00:30 -0000 1.3
@@ -26,12 +26,15 @@
.word main ; staring address of code
.word stop ; end address, where the "jmp $" is located
-dco: .byte 3<<5
-bcs1: .byte 7
+dcoctl: .byte 0x60
+bcsctl1:.byte 0x07
+bcsctl2:.byte 0x00
+fill: .byte 0x00
main: dint
- mov.b bcs1, &BCSCTL1 ; init clock to given settings
- mov.b dco, &DCOCTL ; init clock to given settings
+ mov.b bcsctl1, &BCSCTL1 ; init clock to given settings
+ mov.b bcsctl2, &BCSCTL2 ; init clock to given settings
+ mov.b dcoctl, &DCOCTL ; init clock to given settings
clr R14
clr R15
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click