Re: Not able to change contents of I2CRB of MSP430



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 message
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
MSP430
as slave. While debugging I want to change manually the contains of
I2CRB
through register window,but its not allowing me to do,again the
contains
will come to its default value. I found in the header file supplied
with
the 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
contains
of I2CRB register while debugging?

Thanks in advance.


Please be more specific. What is the chip you're using. MSP430 is a group
of
microcontrollers from Texas Instruments, and not all of them have a I2C
interface. Some have a software I2C through SPI/UART, some have a
hardware
I2C.

State the precise chip name and perhaps we can help you more.

Regards,
Antti Keskinen




I am using msp430F155.



.



Relevant Pages

  • Re: Programming via JTAG from Linux with free tools?
    ... OCD is mentioned in connection with gcc, but the OCD program is binary-only, which means it's a pain to run on my 64-bit system, plus there is no documentation and the interface is far from self-explanatory. ... I'd consider writing something myself, except that I'm on a tight schedule, and I can't even find the JTAG command protocol documented in the datasheet for the chip I'm using. ...
    (comp.sys.arm)
  • Re: [9fans] jtag programmers
    ... The ft2232 serial chip inside the sheeva ... can drive all sorts of serial things, including input to a jtag state machine ... Inside the sheeva plug, ... What I do is I program the interface connected to ...
    (comp.os.plan9)
  • Re: Programming via JTAG from Linux with free tools?
    ... OCD is mentioned in connection with gcc, but the OCD program is binary-only, which means it's a pain to run on my 64-bit system, plus there is no documentation and the interface is far from self-explanatory. ... I'd consider writing something myself, except that I'm on a tight schedule, and I can't even find the JTAG command protocol documented in the datasheet for the chip I'm using. ...
    (comp.sys.arm)
  • Re: ERROR:iMPACT:1210 - 1:Boundary-scan chain test failed at bit position 1
    ... Which programming cable are you using to interface to the JTAG? ... What reference voltage into the programming cable are you using at the board ... chip and Jtag are operating are not matching, correct me if I am wrong. ...
    (comp.arch.fpga)
  • Re: Misc Expansion, OSs, development and project proposals.
    ... but I believe I was saying that if a company ordered ... large volume, will, bring down the price per chip. ... An interface to sensors will depend on the sensor. ... "High speed" memory interface is a bit of a misnomer. ...
    (comp.lang.forth)