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
解決済! 解決策の投稿を見る。
Hi, @schmalen
I confirmed with our internal, lpc55s28 does not support Instruction trace. Sorry for the inconvenient to you.
Best regards, Alex
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:
Different debuggers are supported for instruction trace. As shown below:
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
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:
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
Hi, @schmalen
I confirmed with our internal, lpc55s28 does not support Instruction trace. Sorry for the inconvenient to you.
Best regards, Alex