Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arm Keil Studio Pack Not Working on Windows Arm64 #14

Closed
ofoacimr opened this issue Feb 25, 2024 · 1 comment
Closed

Arm Keil Studio Pack Not Working on Windows Arm64 #14

ofoacimr opened this issue Feb 25, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@ofoacimr
Copy link

Type: Bug Report

Describe the bug

  • OS and Version: Windows 11 Pro (ARM64), 23H2, Build 22635.3209; Running on ThinkPad X13s Gen 1, Snapdragon 8cx Gen 3
  • VS Code Version: 1.86.2, arm64 version
  • Extension Version: v1.13.0 (pre-release)
  • Target Device: DAPLink, HDSC HC32F030
  • The extension Arm Keil Studio Pack is not working, lacking armlm.exe.

To Reproduce
Steps to reproduce the behavior:

  1. Launch VS Code with unmodified Arm Keil Studio Pack activated.
  2. See error in Window on OUTPUT panel.
  3. Manually rename armlm to armlm.exe in folder %USERPROFILE%\.vscode\extensions\arm.keil-studio-pack-1.13.0-win32-arm64\tools\armlm\bin\.
  4. Launch VS Code with modified Arm Keil Studio Pack activated.
  5. See error in Extension Host on OUTPUT panel.

Expected behavior

The extension works.

Code sample and logs

  • Code sample: It doesn't matter.
  • log in 'Window':
[error] Error: spawn %USERPROFILE%\.vscode\extensions\arm.keil-studio-pack-1.13.0-win32-arm64\tools\armlm\bin\armlm.exe ENOENT
	at Process.onexit (node:internal/child_process:283:19)
	at onErrorNT (node:internal/child_process:476:16)
	at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
  • log in 'Extension Host':
[error] Error: spawn UNKNOWN
	at ChildProcess.spawn (node:internal/child_process:413:11)
	at spawn (node:child_process:806:9)
	at t.runProcess (%USERPROFILE%\.vscode\extensions\arm.keil-studio-pack-1.13.0-win32-arm64\dist\main.js:2:763084)
	at c.inspectLicenses (%USERPROFILE%\.vscode\extensions\arm.keil-studio-pack-1.13.0-win32-arm64\dist\main.js:2:760091)
	at c.mdkLicenseIsActive (%USERPROFILE%\.vscode\extensions\arm.keil-studio-pack-1.13.0-win32-arm64\dist\main.js:2:762042)
	at c.activateLicenseWithPrompt (%USERPROFILE%\.vscode\extensions\arm.keil-studio-pack-1.13.0-win32-arm64\dist\main.js:2:762167)
	at c.activateLicenseWithDisableSetting (%USERPROFILE%\.vscode\extensions\arm.keil-studio-pack-1.13.0-win32-arm64\dist\main.js:2:762858)
	at %USERPROFILE%\.vscode\extensions\arm.keil-studio-pack-1.13.0-win32-arm64\dist\main.js:2:758727
	at %USERPROFILE%\.vscode\extensions\arm.keil-studio-pack-1.13.0-win32-arm64\dist\main.js:2:748
	at s.<anonymous> (%USERPROFILE%\.vscode\extensions\arm.keil-studio-pack-1.13.0-win32-arm64\dist\main.js:2:2342)
	at Generator.next (<anonymous>)
	at %USERPROFILE%\.vscode\extensions\arm.keil-studio-pack-1.13.0-win32-arm64\dist\main.js:2:1103
	at new Promise (<anonymous>)
	at r (%USERPROFILE%\.vscode\extensions\arm.keil-studio-pack-1.13.0-win32-arm64\dist\main.js:2:848)
	at s.measureAndSendEvent (%USERPROFILE%\.vscode\extensions\arm.keil-studio-pack-1.13.0-win32-arm64\dist\main.js:2:2246)
	at %USERPROFILE%\.vscode\extensions\arm.keil-studio-pack-1.13.0-win32-arm64\dist\main.js:2:711
	at Generator.next (<anonymous>)
	at a (%USERPROFILE%\.vscode\extensions\arm.keil-studio-pack-1.13.0-win32-arm64\dist\main.js:2:160)

Note: These two errors CANNOT be produced simultaneously (this is expected behaviour).

Screenshots

image

Additional context

The issue about armlm.exe is first mentioned here. → Device Manager Not Working on Windows Arm64 #6

@ofoacimr ofoacimr added the bug Something isn't working label Feb 25, 2024
@ofoacimr
Copy link
Author

After the recent updates with Arm Environment Manager, this error no longer appears, thanks for your support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant