Hello,
I try to use the on-board ST-Link to work as J-Link Debugger at NUCLEO-STM32L432KC board.
I followed the instructions in the Converting_Guide and everythink seems to work.
I used the J-Link Commander to verify the conversion process (for me it looks pretty good
).
![](https://forum.segger.com/index.php/Attachment/3682-JLink-exe-PNG/?s=1a2db8c251fe449b6ac0b5a77d9a6700e18ba50c)
Then I programmed my device with J-Flash Lite without any problems
.
![](https://forum.segger.com/index.php/Attachment/3687-J-Flash-Lite-PNG/?s=1a2db8c251fe449b6ac0b5a77d9a6700e18ba50c)
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Now, I tried to debug a small sample project with SEGGER's embedded Studio.
But immediately after I try to "Start Execution" I get the following error message.
![](https://forum.segger.com/index.php/Attachment/3684-Error-PNG/?s=1a2db8c251fe449b6ac0b5a77d9a6700e18ba50c)
I also stored the J-Link log file (please see attachments).
There are listed the following errors.
Display All
Here are my J-Link options.
![](https://forum.segger.com/index.php/Attachment/3686-J-Link-options-PNG/?s=1a2db8c251fe449b6ac0b5a77d9a6700e18ba50c)
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
After that, I tried to use the on-board J-Link to debug a CubeIDE Eclipse Project. This works without any problems. So It seems to be an SES option issue for me.
Best Regards!
I try to use the on-board ST-Link to work as J-Link Debugger at NUCLEO-STM32L432KC board.
I followed the instructions in the Converting_Guide and everythink seems to work.
I used the J-Link Commander to verify the conversion process (for me it looks pretty good
![:)](https://forum.segger.com/wcf/images/smilies/smile.png)
Then I programmed my device with J-Flash Lite without any problems
![:)](https://forum.segger.com/wcf/images/smilies/smile.png)
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Now, I tried to debug a small sample project with SEGGER's embedded Studio.
But immediately after I try to "Start Execution" I get the following error message.
I also stored the J-Link log file (please see attachments).
There are listed the following errors.
Brainfuck Source Code: LOG.txt
- ***** Error:
- T347C 001:168.980 Programming failed @ address 0x08004808 (program error)
- T347C 001:169.052 -- End of flash programming
- T347C 001:169.124 -- Start of restoring
- T347C 001:169.194 -- Restoring RAMCode
- T347C 001:176.427 -- Restore target
- T347C 001:176.541 -- Restore memory
- T347C 001:176.613 -- Restoring CPU registers
- T347C 001:176.716 -- End of restoring
- T347C 001:176.793 Restarting due to program error (possibly skipped erasure of half-way erased sector).
- T347C 001:176.840 Skip optimizations disabled for second try.
- T347C 001:176.888 -- --------------------------------------
- T347C 001:177.987 - 304.390ms returns -3
- T347C 001:272.209 JLINK_IsOpen()
- T347C 001:272.242 - 0.037ms returns 0x01
- T347C 001:286.341 JLINK_Close()
- T347C 001:286.706 -- CPU_ReadMem(4 bytes @ 0xE0001000)
- T347C 001:301.497 - 15.175ms
- T347C 001:301.522
- T347C 001:301.532 Closed
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
After that, I tried to use the on-board J-Link to debug a CubeIDE Eclipse Project. This works without any problems. So It seems to be an SES option issue for me.
Best Regards!
The post was edited 2 times, last by ecom ().