Hello everyone, This is just a guess but I have a feeling that you are having problems with syntax on your instructions. If you want to update the SIM MCR, write the instruction exactly like this: move.w #$604f,($fffa00).l Your compiler may be defaulting to ".w" addressing. By putting the ".l" after the address, you are forcing "long word addressing". Regards, Charlie -----Original Message----- From: bgpartri@... [mailto:bgpartri@...] Sent: Wednesday, January 15, 2003 2:24 PM To: 68300@yahoogroups.com Subject: [68300] ICD32Z I am working with ICD32 on an embedded 68331 system, and the registers do not get updated. I'm watching my program go through a loop, and the loop counter in D0 is getting updates, but the address registers aren't. A0 and A1 just continue to have the same value. I suspect that they are really not getting updated, since a chip select doesn't actually select the chip either. The system shows the ram not present, when it should be at the end of the function. Then the jmp to ram doesn't work either. ICD isn't giving and errors. Also, when I write to a SIM register, it doesn't get written. If I do a MM 0xfffa00 ox00604f, it updates sth SIMCR register. But if my code does a move.w #ox00604f,0xfffa00, it doesn't update. This code works because the system functions properly. I am debugging the copy flash to ram function, and if I don't run the debugger, it works fine. The code is running in flash at this point. Any suggestions? Is there some basic concept I'm missing here? Yahoo! Groups Sponsor ADVERTISEMENT <http://rd.yahoo.com/M=241773.2861420.4212388.1925585/D=egroupweb/S=1706554205:HM/A=1394046/R=0/*http://www.hgtv.com/hgtv/pac_ctnt/text/0,,HGTV_3936_5802,FF.html> HGTV Dream Home Giveaway <http://us.adserver.yahoo.com/l?M=241773.2861420.4212388.1925585/D=egroupmail/S=:HM/A=1394046/rand=957311513> --------------------------------------------------- To unsubscribe from this group, send an email to: 68300-unsubscribe@yahoogroups.com To learn more about Motorola Microcontrollers, please visit http://www.motorola.com/mcu <http://www.motorola.com/mcu> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service <http://docs.yahoo.com/info/terms/> . [Non-text portions of this message have been removed]
Message
RE: [68300] ICD32Z
2003-01-15 by Melear Charles-rdph40
Attachments
- No local attachments were found for this message.