Hi,
I'm getting the following error after flashing from a commander script
When I keep re-running the commander script I always get the same error, until I open up MCUxpresso and running it from the play button there.
Here is my commanderscript:
and here is the full output error log:
Display All
Any ideas of what I am doing wrong would be greatly appreciated!
Thanks in advance
I'm getting the following error after flashing from a commander script
Unspecified error -1
and was wondering if there is an issue with my commander script?When I keep re-running the commander script I always get the same error, until I open up MCUxpresso and running it from the play button there.
Here is my commanderscript:
and here is the full output error log:
Source Code
- SEGGER J-Link Commander V6.56b (Compiled Dec 6 2019 15:02:40)
- DLL version V6.56b, compiled Dec 6 2019 15:02:24
- J-Link Command File read successfully.
- Processing script file...
- J-Link connection not established yet but required for command.
- Connecting to J-Link via USB...O.K.
- Firmware: J-Link V10 compiled Nov 8 2019 16:40:12
- Hardware version: V10.10
- S/N: 50109947
- License(s): GDB
- VTref=3.341V
- Selecting SWD as current target interface.
- Selecting 2000 kHz as target interface speed
- Target connection not established yet but required for command.
- Device "LPC54102J256_M4" selected.
- Connecting to target via SWD
- Found SW-DP with ID 0x2BA01477
- Scanning AP map to find all available APs
- AP[1]: Stopped AP scan as end of AP map has been reached
- AP[0]: AHB-AP (IDR: 0x24770011)
- Iterating through AP map to find AHB-AP to use
- AP[0]: Core found
- AP[0]: AHB-AP ROM base: 0xE00FF000
- CPUID register: 0x410FC241. Implementer code: 0x41 (ARM)
- Found Cortex-M4 r0p1, Little endian.
- FPUnit: 6 code (BP) slots and 2 literal slots
- CoreSight components:
- ROMTbl[0] @ E00FF000
- ROMTbl[0][0]: E000E000, CID: B105E00D, PID: 000BB00C SCS-M7
- ROMTbl[0][1]: E0001000, CID: B105E00D, PID: 003BB002 DWT
- ROMTbl[0][2]: E0002000, CID: B105E00D, PID: 002BB003 FPB
- ROMTbl[0][3]: E0000000, CID: B105E00D, PID: 003BB001 ITM
- ROMTbl[0][4]: E0040000, CID: B105900D, PID: 000BB9A1 TPIU
- ROMTbl[0][5]: E0041000, CID: B105900D, PID: 000BB925 ETM
- Cortex-M4 identified.
- Erasing device...
- Comparing flash [000%]100%] Done.
- Erasing flash [000%]000%]010%]010%]025%]025%]035%]035%]050%]050%]060%]060%]075%]075%]085%]085%]100%] Done.
- J-Link: Flash download: Total time needed: 0.956s (Prepare: 0.062s, Compare: 0.000s, Erase: 0.890s, Program: 0.000s, Verify: 0.000s, Restore: 0.004s)
- Erasing done.
- Downloading file [test.hex]...
- Comparing flash [000%]000%]040%]040%]050%]100%] Done.
- Erasing flash [000%]100%] Done.
- Programming flash [000%]000%]000%]000%]000%]000%]000%]000%]005%]005%]005%]005%]005%]005%]005%]005%]010%]010%]010%]010%]010%]010%]010%]010%]015%]015%]015%]015%]015%]015%]015%]015%]020%]020%]020%]020%]020%]020%]020%]020%]025%]025%]025%]025%]025%]025%]025%]025%]030%]030%]030%]030%]030%]030%]030%]030%]035%]035%]035%]035%]035%]035%]035%]035%]040%]040%]040%]040%]040%]040%]040%]040%]045%]045%]045%]045%]045%]045%]045%]045%]050%]050%]050%]050%]050%]050%]050%]050%]055%]055%]055%]055%]055%]055%]055%]055%]060%]060%]060%]060%]060%]060%]060%]060%]065%]065%]065%]065%]065%]065%]065%]065%]070%]070%]070%]070%]070%]070%]070%]070%]075%]075%]075%]075%]075%]075%]075%]075%]080%]080%]080%]080%]080%]080%]080%]080%]085%]085%]085%]085%]085%]085%]085%]085%]090%]090%]090%]090%]090%]090%]090%]090%]095%]095%]095%]095%]095%]100%] Done.
- Verifying flash [000%]000%]080%]080%]100%] Done.
- J-Link: Flash download: Bank 0 @ 0x00000000: 1 range affected (163840 bytes)
- J-Link: Flash download: Total time needed: 1.266s (Prepare: 0.097s, Compare: 0.022s, Erase: 0.000s, Program: 1.090s, Verify: 0.014s, Restore: 0.042s)
- Unspecified error -1
- Reset delay: 0 ms
- Reset type NORMAL: Resets core & peripherals via SYSRESETREQ & VECTRESET bit.
- Reset: Halt core after reset via DEMCR.VC_CORERESET.
- Reset: Reset device via AIRCR.SYSRESETREQ.
- Script processing completed.
Thanks in advance