Tool/software: Code Composer Studio
Good day, i have a laucnxl2-570lc43 and im trying to organize an data exchange beetwen lauchpad and my pc through DSS (Debug server scripting). (The idea is: debugSession.writeReg(val,"registerName") -> launchpad reads it and then write onto the another register -> dss.readRegister("registerToReadName") - reads the data from the second register, its all in the infinite loop here and there)
I found some registers, wrote the values in them, but launchpad just dont read them. the code i wrote tells me it is just like the dss doesnt do changes in registers (i know that it does, cuz when i write registers via dss and them read them via dss as well the values changes).
when i changed the flash memory to test if it is possible to write a and read registers by the launchpad itself, it all worked. (that tells me that my code realy reads registers values).
the part of the code in ccs is like:
while(int i==0){
i=registerRead(); // because the value in the register is always 0 at the start
}
So this code just dont react to the dss and it always in the cycle when i use debugSession.writeRegister()
Can you help me?