Part Number: LAUNCHXL-F280049C
Other Parts Discussed in Thread: ENERGYTRACE
Hi all,
I am running into a strange problem.
I have successfully implemented a MATLAB/Simulink based Peak current mode control algorithm and deployed on LAUNCHXL-F280049C.
My algorithm runs at 200Khz and I can see it working properly for the given setpoint of Voltage.
I have also implemented in the model a serial block which transfers the Vout reading to a host model at 200Khz.
And in the host model the Vout plot in real-time can be seen.
So far it is all good and everything seems to be working fine.
But, the problem occurs after I stop and Run the host model multiple times.
During one such stop and run sequence, I cannot receive the data anymore from the target.
I will have to power-cycle the target, i.e remove the USB cable and insert it back, to get the host model to work again.
There is one more observation.
When I run into this communication problem, at this point, if I try to download the code to target, it can't with below error.
IcePick_C_0: Error initializing emulator: (Error -261 @ 0x0) xds110
Only a power cycle helps in this situation also like it did with re-establishing the communication.
So here are my questions from the observation:
1. I am running the Host and Target serial link at maximum baudrate (6.25Mbps) the launchpad can support. is this causing an issue?
2. If it was a implementation bug, why does it work most of times? Please note: once it starts to work, I can run the setup for hours and I don't see an issue.
3. It is only when I stop and re-connect from host model, this communication issue is seen. Also at this point code download fails, so is this a known issue with the XDS110 interface on the LAUNCHXL-F280049C?
Your inputs to workaround this issue could help a lot!