Skip to content
Snippets Groups Projects
Commit f137bd3b authored by hjk's avatar hjk
Browse files

debugger: add the wiki text to setup TRK on Linux/Bluetooth

parent 9af1a0a7
No related merge requests found
...@@ -19,3 +19,25 @@ To do: ...@@ -19,3 +19,25 @@ To do:
- setting breakpoints by filename:line - setting breakpoints by filename:line
- signaling of stopped/single step end. SIGTRAP? SIGSTOP? - signaling of stopped/single step end. SIGTRAP? SIGSTOP?
- run it against the red brick - run it against the red brick
Setting up TRK on Linux with Bluetooth
Enter the following commands in a terminal (all as root, adjust device
permissions as required to work as user):
sdptool add SP # announce Serial Port Profile via Service Discovery Protocol
sudo mknod /dev/rfcomm0 c 216 0 # Creates a Bluetooth Serial Device
sudo chmod ugo+rw /dev/rfcomm0 # Give permissions)
rfcomm listen /dev/rfcomm0 1 $PWD/trklauncher -v -f {}
#This should print the Trk/CPU versions. The option -f tells the command to
#disable the serial frames message encapsulation for BlueTooth.
#The same with the debug adapter:
rfcomm listen /dev/rfcomm0 1 $PWD/run.pl -af -av -w {}
#Important options: -w wait for adapter, -af omit serial frame.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment