| 232 | | root@beagleboard:/usr/share/ti-dsplink# ./messagegpp message.out 1000 |
| 233 | | }}} |
| 234 | | |
| 235 | | >'''Note:''' There is an option for DSPLink to save past instructions in cache memory which can cause issues if the user is not aware of it. If the user loads an application, that application will be stored in cache. The user can rerun that same application multiple times. If the user tries to load a different application, the second application will fail since the first application is still in cache. Therefore, you can use lpmOFF and lpmON to reset the DSP which will clear the cache. Another option would be to disable the cache feature altogether during DSPLink build. |
| 236 | | |
| 237 | | |
| | 240 | root@beagleboard:/usr/share/ti-dsplink/cmd_compiled/DEBUG# ./messagegpp message.out 1000 |
| | 241 | ========== Sample Application : MESSAGE ========== |
| | 242 | Entered MESSAGE_Create () |
| | 243 | Leaving MESSAGE_Create () |
| | 244 | Entered MESSAGE_Execute () |
| | 245 | Transferring 1000 iterations took 0 seconds 161774 microseconds. |
| | 246 | RoundTrip Time for 1 message is 161 microseconds. |
| | 247 | Leaving MESSAGE_Execute () |
| | 248 | Entered MESSAGE_Delete () |
| | 249 | Leaving MESSAGE_Delete () |
| | 250 | ==================================================== |
| | 251 | }}} |
| | 252 | |
| | 253 | ==== ringio ==== |
| | 254 | {{{ |
| | 255 | root@beagleboard:~/# lpmON.x470uC |
| | 256 | root@beagleboard:~/# lpmOFF.x470uC |
| | 257 | root@beagleboard:~/# cd /usr/share/ti-dsplink/cmd_compiled/DEBUG |
| | 258 | root@beagleboard:/usr/share/ti-dsplink/cmd_compiled/DEBUG# ./ringiogpp ringio.out 1024 4096 |
| | 259 | ========== Sample Application : RING_IO ========== |
| | 260 | Bytes to transfer :4096 |
| | 261 | Data buffer size :1024 |
| | 262 | Entered RING_IO_Create () |
| | 263 | Leaving RING_IO_Create () |
| | 264 | Entered RING_IO_WriterClient () |
| | 265 | GPP-->DSP:Sent Data Transfer Start Attribute |
| | 266 | Entered RING_IO_ReaderClient () |
| | 267 | GPP-->DSP:Sent Data Transfer Start Notification |
| | 268 | GPP<--DSP:Received Data TransferStart Attribute |
| | 269 | GPP-->DSP:Total Bytes Transmitted 4096 |
| | 270 | RingIO_setAttribute succeeded to set the RINGIO_DATA_END. Status = [0x8100] |
| | 271 | GPP-->DSP:Sent Data Transfer End Attribute |
| | 272 | GPP-->DSP:Sent Data Transfer End Notification |
| | 273 | Leaving RING_IO_WriterClient () |
| | 274 | GPP<--DSP:Received Data TransferEnd Attribute |
| | 275 | GPP<--DSP:Bytes Received 4096 |
| | 276 | GPP<--DSP:Received Data Transfer End Notification |
| | 277 | Leaving RING_IO_ReaderClient () |
| | 278 | Entered RING_IO_Delete () |
| | 279 | Leaving RING_IO_Delete () |
| | 280 | ==================================================== |
| | 281 | }}} |
| | 282 | |
| | 283 | |
| | 284 | |
| | 285 | |