Re: FATAL ERROR: 2 The system cannot find the file specified None 2 None #gettingstartedguide
Carles Cufi
Hi there,
The jlink runner will try to execute a file named “JLinkExe”. This exists on Linux but I just checked my Windows machine and it is named differently, namely “JLink.exe”’. I think we need a patch in the runner to execute a different filename based on the platform.
Could you try renaming “JLinkExe” to “JLink.exe” here: https://github.com/zephyrproject-rtos/zephyr/blob/master/scripts/meta/west/runners/jlink.py#L20
and see if that works.
Thanks,
Carles
From: devel@... <devel@...>
On Behalf Of Bo.Kragelund@...
Sent: 02 January 2019 14:31 To: devel@... Subject: [Zephyr-devel] FATAL ERROR: 2 The system cannot find the file specified None 2 None #gettingstartedguide
Hi, cmake -GNinja -DOPENSDA_FW=jlink -DBOARD=frdm_k64f .. Then I use below command for making the elf file and flash the board. [103/109] Linking C executable zephyr\zephyr_prebuilt.elf Memory region Used Size Region Size %age Used FLASH: 12676 B 1 MB 1.21% SRAM: 4012 B 192 KB 2.04% IDT_LIST: 88 B 2 KB 4.30% [108/109] Flashing frdm_k64f Using runner: jlink Flashing Target Device FATAL ERROR: 2 The system cannot find the file specified None 2 None run as "west -v ... flash ..." for a stack trace
ZEPHYR_BASE=c:\zephyr\zephyr\ ZEPHYR_TOOLCHAIN_VARIANT=gnuarmemb
|
|