Académique Documents
Professionnel Documents
Culture Documents
may take few seconds to appear.) -> C/C++ Development User Guide > Animated Tutorial.
Target Settings to be done in Triton IDE: Select Download option as FTP and Debug type as Ethernet
Enter Target IP address and Target Port Number Select Operating System as Linux Select the Baud Rate @ 115200 Build project in Release mode Generated *.out needs to be downloaded on the DISCOVERY board On linux shell prompt give command: cd var/lib/tftpboot ( this will take you to tftpboot directory) Create a file using command: touch <filename> (filename should be the same as that to be downloaded on board) Change the permissions of the file by giving command: chmod 777 <filename> Open command prompt and go to the location of compiled file Give the below command: tftp i <IPaddressofboard> PUT <filename> and press Enter
Go to linux prompt and give command: ls al Created file has been downloaded on board To execute the application give command: ./<filename>
To execute application for Debug mode: Build project in debug mode with appropriate target settings For downloading follow above steps To debug file give command: gdbserver :500 <filename> Start debugging from Triton IDE