-
Notifications
You must be signed in to change notification settings - Fork 1k
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
DAPLink compilation failed #278
Comments
You can try running keil with administrator privileges |
Hi @neomissing, are you still having this problem? If so could you provide steps to reproduce this from a fresh checkout of DAPLink? |
I use the auto-generated method, but that is the failure, progen generate -t uvision |
Does the file or directory |
Please re-open this issue if you have more information or need additional help. |
Program Size: Code=39740 RO-data=5360 RW-data=588 ZI-data=13088
FromELF: creating hex file...
.\build\kl27z_kl27z_if.hex: Error: Q0108E: Could not create output file '.\build\kl27z_kl27z_if.hex': Permission denied
Finished: 0 information, 0 warning and 1 error messages.
After Build - User command #1: ......\tools\post_build_script.bat C:\Users\lqy\Desktop\DAPLink\projectfiles\uvision\kl27z_kl27z_if\build\kl27z_kl27z_if d:\Keil_v5\ARM
C:\Users\lqy\Desktop\DAPLink\projectfiles\uvision\kl27z_kl27z_if>fromelf --bin C:\Users\lqy\Desktop\DAPLink\projectfiles\uvision\kl27z_kl27z_if\build\kl27z_kl27z_if.axf -o C:\Users\lqy\Desktop\DAPLink\projectfiles\uvision\kl27z_kl27z_if\build\kl27z_kl27z_if.bin
C:\Users\lqy\Desktop\DAPLink\projectfiles\uvision\kl27z_kl27z_if>fromelf --i32 C:\Users\lqy\Desktop\DAPLink\projectfiles\uvision\kl27z_kl27z_if\build\kl27z_kl27z_if.axf -o C:\Users\lqy\Desktop\DAPLink\projectfiles\uvision\kl27z_kl27z_if\build\kl27z_kl27z_if.hex
C:\Users\lqy\Desktop\DAPLink\projectfiles\uvision\kl27z_kl27z_if>python ......\tools\post_compute_crc.py C:\Users\lqy\Desktop\DAPLink\projectfiles\uvision\kl27z_kl27z_if\build\kl27z_kl27z_if.hex C:\Users\lqy\Desktop\DAPLink\projectfiles\uvision\kl27z_kl27z_if\build\kl27z_kl27z_if_crc
Traceback (most recent call last):
File "......\tools\post_compute_crc.py", line 137, in
main()
File "......\tools\post_compute_crc.py", line 58, in main
new_hex_file.fromfile(input_file, format='hex')
File "C:\Python27\lib\site-packages\intelhex_init_.py", line 246, in loadfile
self.loadhex(fobj)
File "C:\Python27\lib\site-packages\intelhex_init_.py", line 196, in loadhex
fobj = open(fobj, "r")
IOError: [Errno 13] Permission denied: 'C:\Users\lqy\Desktop\DAPLink\projectfiles\uvision\kl27z_kl27z_if\build\kl27z_kl27z_if.hex'
".\build\kl27z_kl27z_if.axf" - 1 Error(s), 1 Warning(s).
Target not created.
Build Time Elapsed: 00:00:27
The text was updated successfully, but these errors were encountered: