Dear all,
I'm having some issues with the Jlink commander flashing a device prior a test. Sporadically the Jlink fails with the error below:
Display All
I should note that this not appear to happen if I insert an erase command before loadfile. However I feel this wears down the chip too much since most of the time we're flashing similar files most of the time.
Do you have any advice on how to prevent this error?
I'm having some issues with the Jlink commander flashing a device prior a test. Sporadically the Jlink fails with the error below:
Source Code
- SEGGER J-Link Commander V6.88b (Compiled Nov 27 2020 15:45:43)
- DLL version V7.82d, compiled Nov 23 2022 16:03:45
- J-Link Command File read successfully.
- Processing script file...
- Connecting to J-Link via USB...O.K.
- Firmware: J-Link V11 compiled Feb 20 2023 12:18:47
- Hardware version: V11.00
- S/N: 601018266
- License(s): RDI, FlashBP, FlashDL, JFlash, GDB
- VTref=3.354V
- Selecting SWD as current target interface.
- Selecting 4000 kHz as target interface speed
- [ Message content over the limit has been removed. ]
- [0][4]: E0040000 CID B105900D PID 000BB9A1 TPIU
- [0][5]: E0041000 CID B105900D PID 000BB925 ETM
- [0][6]: E0042000 CID B105900D PID 002BB908 CSTF
- [0][7]: E0043000 CID B105900D PID 001BB961 TMC
- [0][8]: E0044000 CID B105F00D PID 001BB101 TSG
- Cortex-M4 identified.
- Downloading file [target.hex]...
- Comparing flash [000%]000%]050%]050%]100%] Done.
- J-Link: Flash download: Bank 0 @ 0x0100A150: Skipped. Contents already match
- ****** Error: Failed to measure CPU clock frequency
- Failed to measure CPU clock frequency: second loop count is less than first one! (836013<=-1)
- Unspecified error -1
- Script processing completed.
I should note that this not appear to happen if I insert an erase command before loadfile. However I feel this wears down the chip too much since most of the time we're flashing similar files most of the time.
Do you have any advice on how to prevent this error?