HI I'm using MSP-Gang 1.2.5. there is a C# demo in installed dir . C:\Program Files (x86)\Texas Instruments\ MSP-GANG \Examples\C#_MSP_DLL When I using Visual Studio 2015 open and upgrade the Solution, the project can not be Build. -------------------------------------- public struct DATA_BUFFERS { byte[] SourceCode = new byte [DBUFFER_SIZE]; //source code from the file byte[] UsedCode = new byte [DBUFFER_SIZE]; //combined data (source code, serialization etc) byte[] CommonTx = new byte [DBUFFER_SIZE]; //data used to writing - the same data to all targets byte[][] GangTx = new byte [DBUFFER_SIZE][GANG_SIZE]; //selective data used to writing byte[][] GangRx = new byte [DBUFFER_SIZE][GANG_SIZE]; //data read from all targets byte[] Tmp = new byte [DBUFFER_SIZE]; byte[][] JTAG_Passsword = new byte [2][JTAG_PASSW_LEN]; byte[][] BSL_Passsword = new byte [2][BSL_PASSW_LEN]; byte[] Flag_ScrCode = new byte [DBUFFER_SIZE]; //0 - empty 1-Code1, 2-Code2, 4-Appended Code in SourceCode[x]; // #define CODE1_FLAG 1 // #define CODE2_FLAG 2 // #define APPEND_CODE_FLAG 4 byte[] Flag_UsedCode = new byte [DBUFFER_SIZE]; //0 - empty 1-valid data in UsedCode[x]; byte[] Flag_WrEn = new byte [DBUFFER_SIZE]; //0 - none 1-write/verify enable in FlashMem[x] byte[] Flag_EraseEn = new byte [DBUFFER_SIZE]; //0 - none 1-erase enable in FlashMem[x] byte[] Flag_RdEn = new byte [DBUFFER_SIZE]; //0 - none 1-read enable in FlashMem[x] byte[] Flag_Sp1 = new byte [DBUFFER_SIZE]; //spare byte[] Flag_Sp2 = new byte [DBUFFER_SIZE]; //spare byte[] Flag_Sp3 = new byte [DBUFFER_SIZE]; // byte[][] Flag_JTAG_Passw = new byte [2][JTAG_PASSW_LEN]; // [0][..]-password from code file; [1][..]-password from password file byte[][] Flag_BSL_Passw = new byte [2][BSL_PASSW_LEN]; // [0][..]-password from code file; [1][..]-password from password file } ----- Every line show the exception: Severity Code Description Project File Line Suppression State Error CS0178 Invalid rank specifier: expected ',' or ']' SimpleMSP-GANG C:\Program Files (x86)\Texas Instruments\ MSP-GANG \Examples\C#_MSP_DLL\MSP-GANG-Dll.cs 419 Active
↧