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.
I am trying to use the new programmer with an older app that I wrote for the old 430 programmer. The docs indicate that I can use the wrapper DLLs and it should work however I am getting an error when I try to read the memory from the device. I am calling the GangReadTarget API and I am getting code 63 back. I have looked everywhere in the documentation and I cannot find any error codes for the new Programmer stuff to indicate what the error means. The old docs only show codes up to 53 so thats no help.
I am using versions 1.0.8 and 1.57.0 of the DLLs
Also, I have written this burn utility for our hardware in visual studio 2008 and would really like to see some examples using the new DLL in Visual Studio .net and not c or c++.
Hello Kevin,
you can use the GetErrorString function to get an error string for that error number (Error 63: Target not open).The programmer doesn't know the microcontroller you are using, so you have to load an dummy image first.
At the moment I also want to use the new programmer with existing software (c#), but have unfortunately some problems. Have you already tried to write to info memory? Looks like the GangProgramTarget function isn't working anymore.
Regards
Sebastian
I am unable to do just about anythign with the wriapper DLLs. nothing works when trying to talk with the targets. I can load the image into the programmer but as soon as I try to burn it to the target i get an error "target not accessable". any call I make that tries to talk with the target gives the same error. I get the same problem trying to use the sample apps that come with it. They give the same error so its not my code that is messed up. I am starting to think that the wiring configuraion in the ribbon cable has changed and its not able to talk with the targets.
I have no problems with wiring - the same cables for MSP-GANG430 and MSP-GANG. Have you checked if the image is loaded correctly? Sometimes i have to turn on Vcc manually...espacially before reading the target memory.
**Attention** This is a public forum