|MATLAB Link for Code Composer Studio Development Tools Release Notes
Known Software and Documentation Problems
This section includes a link to a description of known software and documentation problems in Version 2.0.
Linking and Code Composer Studio Limitations
- Having CCS visible on your desktop during CCS read or write operations slows down the data transfer process. Generally, transfer rates fall by a factor of four when CCS IDE is visible. When you do not need to interact with CCS IDE, use the function
visible to force CCS to the background to avoid the slowdown, as shown in this example.
- When your work requires that you interact with CCS IDE during linking operations, place the CCS IDE in the background temporarily while your program transfers large amounts of data in either direction. For example, the following code demonstrates changing the CCS IDE visibility state before and after read and write operations.
cc = ccsdsp:
. % Interact with CCS IDE.
vstate = isvisible(cc); % Store visibility state for CCS.
cc.visible(0); % Force CCS to the background.
x = cc.read('FF00','int32',[20 20],20); % Large read transfer.
cc.write('FF00',int32(randn(20)),20); % Large write transfer.
cc.visible(vstate); % Return CCS to its previous visibility
. % Continue to interact with CCS IDE.
- CCS limits CCS target memory read and write data transfers to 32 KB. This restriction does not affect RTDX links and data transfers.
- During memory transfer operations, you may receive a time-out error telling you that the time allowed for the operation expired. In most cases, the transfer was successful in spite of the error message. Once the transfer operation starts, it cannot be stopped or changed. Time may expire if the transfer completes but the completion message is delayed. Try setting the time-out value to a large number of seconds to avoid the error message.
- When you configure your target code to perform RTDX write operations (write data from the target to the host) on the C5402 DSK, you must poll the "successful emptying of the write buffer" status. The C6000, which allows polling or host-initiated interrupts, does not require polling.
- The following code provides an example of the polling syntax, where
ochan is the write channel.
- On some occasions, CCS opens information dialogs in the background, with your desktop focus on MATLAB. You must respond to the dialogs before you can continue to work in MATLAB or CCS. Until you respond to the dialogs, MATLAB will not respond to input.
| Upgrading from an Earlier Release|| |