Other Parts Discussed in Thread: SEGGER, MSPM0L2228, UNIFLASH
Tool/software:
When attempting to flash our boards with a Segger Flasher Compact and jlink, we are seeing the following error 50% of the time:
****** Error: Timeout while preparing target, RAMCode did not respond in time!
Failed to perform RAMCode-sided Prepare()
Unspecified error -1
Running the same script repeatedly, results in the error consistently every other time.
The contents of the script we are running from a powershell prompt with the command jlink .\prog_LP_endurance_app.jlink is:
ExitOnError 1
USB 1017000197
Device MSPM0L2228
SelectInterface SWD
Speed 4000
Connect
LoadFile "C:\Work\Debugger\LP_Endurance_Release_V_9.8.0_370bc92c8.out"
Reset
Go
Exit
The problem has caused us lock one board completely due to the failure occurring when attempting to flash BCR/BSL, with our release build.
Looking at other forum posts, we have checked the capacitor value connected between Vcore and GND, and have confirmed the value reads 520nF.
Is there anything else that we can investigate please to determine the cause of this problem and resolve it?