Hi,
I'm trying to use the RTT tool, but don't have a good experience. The code I'm using is the Menu example provides by SEGGER, all enviroment is using Windows 10.
I can make RTT communication work if I do the follow steps:
If RTT communication works, I can't run another debug session withou break the communication, so I need to restart the steps.
Above is my GDB configurations, used when run a debug session using CCES:
Display All
So, I want to know if there is a way I can start RTT communication and doesn't need to restart the entire system.
I'm trying to use the RTT tool, but don't have a good experience. The code I'm using is the Menu example provides by SEGGER, all enviroment is using Windows 10.
I can make RTT communication work if I do the follow steps:
- Turn off the development board(ADuCM3029)
- Shutdown J-LINK GDB server
- Shutdown J-LINK RTT Viewer
- Turn on development board
- Run J-LINK GDB server
- Run J-LINK RTT Viewer using "Exisiting connection" option
- Build and run debug with Cross Core application from Analog Device
If RTT communication works, I can't run another debug session withou break the communication, so I need to restart the steps.
Above is my GDB configurations, used when run a debug session using CCES:
Source Code
- Initialization commands:
- monitor flash device = ADuCM3029
- monitor semihosting enable
- monitor semihosting breakOnError
- monitor semihosting IOclient 3
- monitor exec SetRTTSearchRanges 0x60000000 0x1000, 0x20000000 0x1000
- monitor flash download=1
- monitor clrbp
- monitor endian little
- monitor reset
- monitor sleep 10
- monitor speed auto
- Run commands:
- monitor reg r13 = (0x00000000)
- monitor reg pc = (0x00000004)
- break main
- continue