This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MSP430 gang programmer

Hi,

I want a help about MSP430. I am using MSP430 in my product and i want to test my product with refrence to  MSP430. I think Testing module with gang programmers DLL option is easy way to test. i am looking for commands like:

 Configure P2.5 as an input.

o   Read the input register. It should read a logic 0.

o   Connect J201 pin 1 to ground.

o   Read the input register (of P2.5). It should read a logic 1.

 

 

Configure P3.3 as an output.

o   Set the output register of this port high

o   J201 pin 5 should be pulled low. (May be tested with an LED).

o   Clearing the output register should turn off the test LED.

 

 

 Configure P3.2 as an output.

o   Set the output register of this port high

o   J201 pin 7 should be pulled low. (May be tested with an LED).

o   Clearing the output register should turn off the test LED.


   Configure P3.1 as an output.

o   Set the output register of this port high

o   J201 pin 8 should be pulled low. (May be tested with an LED).

o   Clearing the output register should turn off the test LED.


Configure P2.0 as an A/D input referenced to Vcc (of the tool).

o   Apply 10 V across J204 pin 1 & J202 pin 5.

o   Read the A/D result register & J202 pin 5.

o   Digital count ~ 220h (when referenced to 3.3 V). Voltage at MCU pin = 1.75 V.(Due to circuitary on my module)

o   Digital count ~ 256h (when referenced to 3.0 V). Voltage at MCU pin = 1.75 V


I have gone through DLL examples from the gang programmer file but didnt understand much of it. 

If anybody gone through it. or know way to test it please let me know.

 

Thanks

 

abhishek

 

 

 

 

  • Mos tof what you want can be done using low-level JTAG commands (as does any programmer).

    Using JTAG, you can read and write to any memory location and therefore configure the MSP as you like.

    The problem is the switching of external signals. This cannot be done using JTAG and I fear it cannot be done with a GANG programmer too.

    If you really want an automated test system, you can go and program an MSP (or whatever) for this job:

    Write low-level JTAG access functions, so you can control the target MSP, and then provide control signals on the MSPs other GPIO pins for the testing.
    Then the test controller can configure the MSP port pins as desired, output own test signals to them, and read baack teh results. This includes emission of analog signals and measuring them through the targets ADC.

    It is, however, a bigger project, because the JTAG firmware of the FETs is not available in source code (it does the low-level JTAG access)
    But it would be a really interesting project.

  • Thanks jens-Michael.  Since, i am very little famlier with  low level JTAG commands, Can you give me one example of this command for MSP430. 

    which commands do you think are problematic?

     

    Thanks 

     

    abby

  • abhishek Sabnis said:
     Since, i am very little famlier with  low level JTAG commands

    Then we are two :)

    There is an appnote about the JTAG interface somewhere. It's basically the same for all MSPs (okay, there are two JTAG versions, one for the older MSP430 core and one for MSP430X core with 20 bit addresses and registers) but I don't know the URL.

    This knowledge basically is the key knowledge for developing replacements for the TI FET programmers. So you might find information in the firmware and documentation of the few free MSP programmers in the net.

**Attention** This is a public forum