Hello everyone,
I cannot connect with Segger's RTT to my device directly after flashing another device, using the same jlink adapter. I hope somebody can help me with this.
We are creating a production tool to flash and test a product with 2 microcontrollers, using 1 Segger JLink base. The targets are:
The production programmer performs the following steps
Step 1:Flash the EFR32, we are using J-flash with SWD communication.
Step 2:Flash the PIC32, we are using J-Link with ICSP communication. Unfortunately, we cannot use JFlash, cause JFlash does not support this chip.
Step 3:After flashing the PIC32, we use JLink commander to create a telnet communication to communicate with the EFR32, using the RTT interface. We are using this communication to execute tests and receive the test results.
These steps work great separated but combined we have got stuck at the following problem. After the PIC32 firmware is flashed, and the JLink commander program is closed, the following tasks stays active for about 7 seconds: “JLinkGUIServer.exe”. When this task is active, we open a new JLink Commander program trying to connect to the EFR32. We receive the following string with telnet:“J-Link GUI server; V6.80d;”
In this situation we are not able to communicate with the EFR32FG14P over Segger’s RTT.
If we connect to the EFR32 with jlink after “JLinkGUIServer.exe” has closed, we get the following string with telnet: “SEGGER J-Link V6.80d - Real time terminal output”. Now we can successful communicate over Segger’s RTT with telnet.
How can we directly communicate with the EFR32 after the PIC32 is flashed? Is there a way to stop “JLinkGUIServer.exe” from starting, or to hide the GUI while flashing the device(-NoGui 1, does not work for this)? Is there a way to use JFlash instead of jlink, so we don’t have to use jlink to flash the PIC32?
Kind Regards,
Karel
I cannot connect with Segger's RTT to my device directly after flashing another device, using the same jlink adapter. I hope somebody can help me with this.
We are creating a production tool to flash and test a product with 2 microcontrollers, using 1 Segger JLink base. The targets are:
- EFR32FG14PxxxF256, Silicon Labs
- PIC32MX440F128L, Microchip
The production programmer performs the following steps
Step 1:Flash the EFR32, we are using J-flash with SWD communication.
Step 2:Flash the PIC32, we are using J-Link with ICSP communication. Unfortunately, we cannot use JFlash, cause JFlash does not support this chip.
Step 3:After flashing the PIC32, we use JLink commander to create a telnet communication to communicate with the EFR32, using the RTT interface. We are using this communication to execute tests and receive the test results.
These steps work great separated but combined we have got stuck at the following problem. After the PIC32 firmware is flashed, and the JLink commander program is closed, the following tasks stays active for about 7 seconds: “JLinkGUIServer.exe”. When this task is active, we open a new JLink Commander program trying to connect to the EFR32. We receive the following string with telnet:“J-Link GUI server; V6.80d;”
In this situation we are not able to communicate with the EFR32FG14P over Segger’s RTT.
If we connect to the EFR32 with jlink after “JLinkGUIServer.exe” has closed, we get the following string with telnet: “SEGGER J-Link V6.80d - Real time terminal output”. Now we can successful communicate over Segger’s RTT with telnet.
How can we directly communicate with the EFR32 after the PIC32 is flashed? Is there a way to stop “JLinkGUIServer.exe” from starting, or to hide the GUI while flashing the device(-NoGui 1, does not work for this)? Is there a way to use JFlash instead of jlink, so we don’t have to use jlink to flash the PIC32?
Kind Regards,
Karel