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.
Hello, we are moving into production with our MSP430F2112 code and have exported the txt hex file from Code composer. We are using FW V1.03.06.00 for the MSP-GANG programmer and are having issues flashing the code. We are getting ERROR 33: IR communication failed. We're using a custom board with 3.3V VCC voltage. We have a 47k pullup and 2.2nF cap to ground on pin 5 (reset). They are located physically close to the MCU (~1cm away).
We're using this adapter:
https://www.tag-connect.com/product/spy-bi-tag-spy-bi-wire-adapter
with R1 populated and this connector:
We are using an MSP-FET with no issues. We can debug just fine with the MSP-FET. We have tried other ports on the MSP-GANG and have the same issue. Do you have any suggestions? Please let me know if you need any additional information.
Thank you!
Hi Cody,
Few comments here:
1. Could you show me the setting of the debug interface of the MSP-GANG? Please try use slow speed and check the TDOI pin is 1.
2. reduce the 2.2nF to 1nF cap.
Gary,
Thank you for the suggestions. We tried all of the speeds for SBW. I understand when using 2-wire programming the JTAG speed selection is not useful. We are making sure TDOI is set for pin 1. VCC is 3.3V and is supplied by our custom board. I know it's getting the correct voltage because If I don't have the board hooked up, it gives me a VCC too low error and when I plug in the board it gives the ERROR 33. We have just tried with a 1nF cap on the reset line. This did not seem to help.
Please let me know if there are any other suggestions we could try.
Thank you for your help!
Could you check if you connect the pin 4 in MSP-GANG to the vcc on your board? It is used to detect the external VCC by MSP-GANG.
By the way, have you try this device with MSP-FET again not sure if the JTAG fuse is fused?
Yes, we are using pin 4 for MSP-GANG. We have tried on about 10 of our boards that we can all program with the MSP-FET and none have worked using the MSP-GANG. All give the ERROR 33: IR communication failed :( We have tried to program with MSP-FET again and it is successful. Nothing will work with us using MSP-GANG.
OK, this package seems no target socket board.
Could you help to capture the hardware connections and the schematic here? I want to double check about the connection.
By the way, I don't know if you have layout the 4-wire JTAG signals on your board? If so, would you help to try the 4-wire JTAG interface?
Another test is that if you have other MSP device you can try other devices with the MSP-GANG.
Gary, we don't have another MSP device. We can buy one to test with the MSP-GANG. Do you think that would be worth it?
Also we have not run the 4-wire JTAG signals, only the 2-wire SBW.
What do you mean by "this package seems no target socket board"?
This is how we have implemented the 2.2nF and 47k resistor. We are using 3.3V VCC.
What do you mean by "this package seems no target socket board"?
I mean the evaluation board like MSP-TS430PW28 that can be used to test PW package for F2112.
Dose the VCC has much load? If it is not exceed 50mA, you can try power the device by the MSP-GANG directly.
Gary, I understand. While MSP is in sleep, there is 4uA current consumption of the entire circuit. Even when the MCU is not programmed it is <100uA. We measured using Otii Arc power analyzer. VCC is not under much load.
So have you try to use MSP-GANG to power the device and do the test again?
If it not works, it seems something wrong with MSP-GANG. We can use other device to double check about it, you buy a launchpad online to do the test. By the way, where are you location?
Gary, we are in the USA. We can try to use MSP-GANG to power the device and will order a launchpad to test that the MSP-GANG is not faulty.
Gary, we have just ordered the BQ76925EVM to test. It has the MSP430F2122 which is very close to our MCU we are using.
Gary, we have tested with the BQ76925EVM and used the supplied cable with MSP-GANG and are still getting ERROR 33: IR communication failed.
I've changed the target device in the code to match the MSP430F2122 and am able to program with the MSP-FET as well. Do you think we have a faulty MSP-GANG programmer? I can Erase and Read and Program with JTAG selected, but when I click Verify, I get failed:
Also, when I click "GO" is when I get the ERROR 33: IR communication failed:
When I try using SBW I still get errors:
Here are the settings:
Should we try and order another MSP-GANG?
Thank you for the help.
Ok, could you show me the MSP-GANG GUI version? I see the latest version is 1.03.06.00. Have you try other PC to do that?
Gary, we are on the latest version:
I will try on a colleague's computer and report back.
Ok, thanks for the test, by the way, what's the memory option settings on your side?
We have also tested on another computer and have had the same behavior. Something to note is that if we test with the evaluation board over JTAG, we can only get it to program if we use the slowest speed possible. No setting for SBW works for us. Is there a way to slow down the SBW programming speed even more to test?
That seems something wrong with the MSP-GANG. Where do you buy this? You can see if it can change one for you.
Gary, thank you for all your help. We will try and order a new one. We bought it from Digi-Key.
**Attention** This is a public forum