LPC55S28 Development Board internal JLINK debugger not recognized

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

LPC55S28 Development Board internal JLINK debugger not recognized

跳至解决方案
1,317 次查看
schmalen
Contributor I

Hi, 

I am currently working with a LPC55S28 Development Board.

Using the default CMSIS-DAP debugger, I was not able to use instruction tracing which I am needing so I tried to flash the debugger with the JLink image for more possibilities. 

Flashing with the LPCScrypt program and the newest Segger image works fine but the JLINK Probe is not recognized by the PC. The status LED on the board is constantly on but flickers a bit with 1 Hz frequency. 

If I go back to CMSIS, it works fine. 

I've got two questions:

- What am I doing wrong when flashing the JLINK firmware? The DFU Jumper is set for flashing and disconnected after. The other pins are in the default configuration. 

- Is instruction tracing even possible with the internal debugger? Or do I need the mcu link debug pro or any other hardware?

 

Best regards, 

Fabian

标签 (1)
0 项奖励
回复
1 解答
1,272 次查看
Alex_Wang
NXP Employee
NXP Employee

Hi, @schmalen

         I confirmed with our internal, lpc55s28 does not support Instruction trace. Sorry for the inconvenient to you.

Best regards, Alex

在原帖中查看解决方案

0 项奖励
回复
4 回复数
1,297 次查看
Alex_Wang
NXP Employee
NXP Employee

Hi, @schmalen        

          Although not recognized on the PC side, this may be related to the JLink driver, you can try to update the driver. Can you download the program successfully through the IDE using JLINK?

          From the point of view of the steps, there is no problem with burning firmware. You can attach a few pictures of the problem if it is convenient. This is the state of my device manager as shown below:

Alex_Wang_0-1706753530426.jpeg

          Different debuggers are supported for instruction trace. As shown below:

Alex_Wang_1-1706753591128.png

Refer to MCUXpresso IDE Instruction Trace Guide. The file is in the MCUXpressoIDE installation directory, for example: C:\nxp\MCUXpressoIDE_11.9.0_2144.

Best regards, Alex

0 项奖励
回复
1,289 次查看
schmalen
Contributor I

Hi @Alex_Wang , 

Thanks for the answer. 

If the JLINK Firmware is flashed to the board, The microcontroller is not recognized as JLINK device in the device-manager. If CMSIS is flashed, I see the LPC LinkII

If I follow the instructions in the Instruction tracing manual, I get the following error message when trying to refresh to config:

schmalen_0-1706776085539.png

That's why I was not sure, if the LPC55S28 board is capable of instruction tracing. 
The manual says that not all Cortex-M33 CPUs have an ETB implemented but the LPC55S28 is not mentioned explicitly. 

Best regards, 
Fabian

 

0 项奖励
回复
1,273 次查看
Alex_Wang
NXP Employee
NXP Employee

Hi, @schmalen

         I confirmed with our internal, lpc55s28 does not support Instruction trace. Sorry for the inconvenient to you.

Best regards, Alex

0 项奖励
回复
1,263 次查看
schmalen
Contributor I

Hi @Alex_Wang ,

thank you for the confirmation.

Best regards, Fabian

0 项奖励
回复