Changes between Version 13 and Version 14 of BeagleBoard_DSPLink

Show
Ignore:
Timestamp:
07/06/09 15:26:59 (4 years ago)
Author:
ravishi
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BeagleBoard_DSPLink

    v13 v14  
    178178$ sudo cp ~/TI/local_power_manager_1_23_01/packages/ti/bios/power/test/bin/ti_platforms_evm3530/linux/release/lpmON.x470uC ./RELEASE 
    179179$ sudo cp ~/TI/local_power_manager_1_23_01/packages/ti/bios/power/test/bin/ti_platforms_evm3530/linux/release/lpmOFF.x470uC ./RELEASE 
     180$ sudo cp ~/TI/local_power_manager_1_23_01/packages/ti/bios/power/test/bin/ti_platforms_evm3530/linux/debug/lpmON.x470uC <target>/usr/bin 
     181$ sudo cp ~/TI/local_power_manager_1_23_01/packages/ti/bios/power/test/bin/ti_platforms_evm3530/linux/debug/lpmOFF.x470uC <target>/usr/bin 
    180182}}} 
    181183 
     
    227229== Running and Executing Sample Applications == 
    228230 
    229 You should now be ready to run the executables.  C 
    230 {{{ 
     231You should now be ready to run the sample applications.  Enter the ti-dsplink directory and run the gpp and dsp executable with appropriate parameters. 
     232 
     233>'''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. 
     234 
     235==== message ==== 
     236{{{ 
     237root@beagleboard:~/# lpmON.x470uC 
     238root@beagleboard:~/# lpmOFF.x470uC 
    231239root@beagleboard:~/# cd /usr/share/ti-dsplink/cmd_compiled/DEBUG 
    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  
     240root@beagleboard:/usr/share/ti-dsplink/cmd_compiled/DEBUG# ./messagegpp message.out 1000 
     241========== Sample Application : MESSAGE ==========                               
     242Entered MESSAGE_Create ()                                                        
     243Leaving MESSAGE_Create ()                                                        
     244Entered MESSAGE_Execute ()                                                       
     245Transferring 1000 iterations took 0 seconds 161774 microseconds.                 
     246RoundTrip Time for 1 message is 161 microseconds.                                
     247Leaving MESSAGE_Execute ()                                                       
     248Entered MESSAGE_Delete ()                                                        
     249Leaving MESSAGE_Delete ()                                                        
     250====================================================   
     251}}} 
     252 
     253==== ringio ==== 
     254{{{ 
     255root@beagleboard:~/# lpmON.x470uC 
     256root@beagleboard:~/# lpmOFF.x470uC 
     257root@beagleboard:~/# cd /usr/share/ti-dsplink/cmd_compiled/DEBUG 
     258root@beagleboard:/usr/share/ti-dsplink/cmd_compiled/DEBUG# ./ringiogpp ringio.out 1024 4096 
     259========== Sample Application : RING_IO ==========                               
     260Bytes to transfer :4096                                                          
     261Data buffer size  :1024                                                          
     262Entered RING_IO_Create ()                                                        
     263Leaving RING_IO_Create ()                                                        
     264Entered RING_IO_WriterClient ()                                                  
     265GPP-->DSP:Sent Data Transfer Start Attribute                                     
     266Entered RING_IO_ReaderClient ()                                                  
     267GPP-->DSP:Sent Data Transfer Start Notification                                  
     268GPP<--DSP:Received Data TransferStart Attribute                                  
     269GPP-->DSP:Total Bytes Transmitted  4096                                          
     270RingIO_setAttribute succeeded to set the  RINGIO_DATA_END. Status = [0x8100]     
     271GPP-->DSP:Sent Data Transfer End Attribute                                       
     272GPP-->DSP:Sent Data Transfer End Notification                                    
     273Leaving RING_IO_WriterClient ()                                                  
     274GPP<--DSP:Received Data TransferEnd Attribute                                    
     275GPP<--DSP:Bytes Received 4096                                                    
     276GPP<--DSP:Received Data Transfer End Notification                                
     277Leaving RING_IO_ReaderClient ()                                                  
     278Entered RING_IO_Delete ()                                                        
     279Leaving RING_IO_Delete ()                                                        
     280====================================================    
     281}}} 
     282 
     283 
     284 
     285