CVS: jtag/funclets ramsizeDetect.S,1.1,1.2

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-serv17935/jtag/funclets

Modified Files:
	ramsizeDetect.S 
Log Message:
- autodetect ramsize if it is not given

Index: ramsizeDetect.S
===================================================================
RCS file: /cvsroot/mspgcc/jtag/funclets/ramsizeDetect.S,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -w -d -r1.1 -r1.2
--- ramsizeDetect.S	23 Dec 2005 02:25:42 -0000	1.1
+++ ramsizeDetect.S	27 Dec 2005 16:20:03 -0000	1.2
@@ -42,7 +42,7 @@
         cmp     @r15, r11               ; compare value to the expected one
         jne     done                    ; values differ -> no RAM here
         add     #32, r15                ; test next address (advance fast, no need to check every word)
-        cmp     #0x0a00, r15            ; do not scan further
+        cmp     #0x0c00, r15            ; do not scan further
         jlo     .Lloop
 error:  clr     r15                     ; error, size could not be detected, return 0
         jmp     stop



-------------------------------------------------------
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.