Re: Not able to change contents of I2CRB of MSP430
- From: "Antti Keskinen" <antti.keskinen@xxxxxxxxx>
- Date: Fri, 3 Feb 2006 23:41:58 +0200
Hey again !
To independently set something in the MSP430F155, it seems you need to use
the JTAG interface. Since you're debugging, I can only assume you have a
JTAG connection set up with the device already and the IAR environment is
monitoring this interface somehow. Have a look at the following document:
http://focus.ti.com/lit/an/slaa149a/slaa149a.pdf
In it, chapter 3.3 on page 18 explains how to read and write to non-FLASH
locations on the chip using the JTAG connectivity. If this is not viable for
you, then the next best solution I can think of is to write a debug routine
into the I2C master chip which writes the desired debug data into the
MSP430.
Hope this helps.
- Antti Keskinen
"Narottam" <narsingh21@xxxxxxxxx> wrote in message
news:sI6dnUx1pPCCqn7enZ2dnUVZ_v6dnZ2d@xxxxxxxxxxxxxxx
"Narottam" <narsingh21@xxxxxxxxx> wrote in messageMSP430
news:A8ednY4hl5MyUnzeRVn-pw@xxxxxxxxxxxxxxx
Hello All,
I am using IAR C/C++ compiler for MSP430. In the project I am sending
some data through MSP430 to another chip through I2C.I have made
I2CRBas slave. While debugging I want to change manually the contains of
containsthrough register window,but its not allowing me to do,again the
withwill come to its default value. I found in the header file supplied
containsthe IAR package of MSP430,they made I2CRB as READ_ONLY.
Is there any reason to do so? If not then how can I change the
ofof I2CRB register while debugging?
Thanks in advance.
Please be more specific. What is the chip you're using. MSP430 is a group
microcontrollers from Texas Instruments, and not all of them have a I2Chardware
interface. Some have a software I2C through SPI/UART, some have a
I2C.
State the precise chip name and perhaps we can help you more.
Regards,
Antti Keskinen
I am using msp430F155.
.
- References:
- Not able to change contents of I2CRB of MSP430
- From: Narottam
- Re: Not able to change contents of I2CRB of MSP430
- From: Antti Keskinen
- Re: Not able to change contents of I2CRB of MSP430
- From: Narottam
- Not able to change contents of I2CRB of MSP430
- Prev by Date: Re: AVR Silly Interrupt problem
- Next by Date: Re: PSOC POWER OPTIMIZATION
- Previous by thread: Re: Not able to change contents of I2CRB of MSP430
- Next by thread: Re: ARM development kits
- Index(es):
Relevant Pages
|