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

DAPLink compilation failed #278

Closed
neomissing opened this issue Jun 23, 2017 · 5 comments
Closed

DAPLink compilation failed #278

neomissing opened this issue Jun 23, 2017 · 5 comments
Labels

Comments

@neomissing
Copy link

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

@wayen30
Copy link

wayen30 commented Jul 3, 2017

You can try running keil with administrator privileges

@c1728p9
Copy link
Contributor

c1728p9 commented Jul 22, 2017

Hi @neomissing, are you still having this problem? If so could you provide steps to reproduce this from a fresh checkout of DAPLink?

@c1728p9 c1728p9 added the bug label Jul 22, 2017
@neomissing
Copy link
Author

I use the auto-generated method, but that is the failure, progen generate -t uvision

@c1728p9
Copy link
Contributor

c1728p9 commented Jul 27, 2017

Does the file or directory .\build\kl27z_kl27z_if.hex exist?

@c1728p9
Copy link
Contributor

c1728p9 commented Sep 25, 2017

Please re-open this issue if you have more information or need additional help.

@c1728p9 c1728p9 closed this as completed Sep 25, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants