This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Rebuild EDMA3 LLD both package and examples

Hi,

I try to rebuild the edma3_lld_02_11_04_01 package. Following instructions in the chapter 2.4.1 of the EDMA3_Driver_User_Guide.pdf, I successfully rebuilt both driver and resource manager.

But, when I trying to rebuild examples, following  error obtained:

fatal error: cannot open file "obj/ti816x-evm/c6xdsp/debug/edma3_drv_ti816x_sample_configuro/linker_mod.cmd": Permission denied
gmake[1]: *** [bin/ti816x-evm/edma3_drv_ti816x_sample_c6xdsp_debug.xe674] Error 1
gmake: *** [edma3_drv_ti816x-evm_674_example] Error 2

This file is generated automatically, but why the access is denied? This file placed here

<edma3_root_dir>\examples\edma3_driver\evmTI816x\obj\ti816x-evm\c6xdsp\debug\edma3_drv_ti816x_sample_configuro\

I checked this file for permission settings:

Cleaning all generated files did not solve the problem. New file are generated with same permission settings.

How can I fix this problem?

Thanks

  • Nikolay,

    Not sure.  But see if this thread helps...

    http://e2e.ti.com/support/embedded/bios/f/355/t/112727.aspx#517568

    Dave

  • Hi,

    I tried  to build this package under "Windows XP mode" and this error not observed.

    Under Windows 7 x64 package is not builded.

  • Which version of XDC tools are you using?   Where to you have the edma source installed?   I recall some problem with "Program Files" permissions, but I forget the details.  I'll check around.

    Thanks,
    -Karl-

  • Hi Karl,

    I trying to use xdctools_3_23_01_43 and xdctools_3_23_00_32. All the TI's products is installed into c:\ti directory, also this path excluded from antiviruses software. 

    In both cases examples did not built.

    Regards, Nikolay

  • Nikolay,
    can you try setting the environment variable CYGWIN in the command window where you are building examples:

    set CYGWIN=nontsec

    This workaround does it for me, but I am not sure if it's something specific to my setup.

  • Hi Alexander,

    Setting up this variable does not make the result any better:
    C:/ti/xdctools_3_23_01_43/bin/cp obj/c6748-evm/c6xdsp/debug/edma3_drv_c6748_sample_configuro/package/cfg/edma3_drv_bios6_c6748_st_sample_pe674_x.xdl obj/c6748-evm/c6xdsp/debug/edma3_drv_c6748_sample_configuro/linker_mod.cmd
    /cygdrive/c/ti/xdctools_3_23_01_43/bin/cp: cannot create regular file `obj/c6748
    -evm/c6xdsp/debug/edma3_drv_c6748_sample_configuro/linker_mod.cmd': Permission denied
    gmake[1]: *** [xdc_configuro] Error 1
    gmake[1]: Leaving directory `C:/ti/edma3_lld_02_11_04_01/examples/edma3_driver/evm6748'
    gmake: *** [edma3_drv_c6748-evm_674_example] Error 2

    Regards, Nikolay
  • That error message looks different from the original error message. It's possible that you still have the file created before you set up that environment variable. Try removing manually the file obj/c6748-evm/c6xdsp/debug/edma3_drv_c6748_sample_configuro/linker_mod.cmd and then try rebuilding examples.

  • Hi Alexander,

    Yes, this way works. Thanks

  • I am having this same problem trying to build the examples. The libraries build fine. The output:

    fatal error: cannot open file
       "obj/c6748-evm/c6xdsp/debug/evm6748_i2c_sample_configuro/linker_mod.cmd":
       Permission denied
    gmake[1]: *** [bin/c6748-evm/evm6748_i2c_sample_c6xdsp_debug.x674] Error 1
    gmake[1]: Leaving directory `C:/ti/biospsp_03_00_01_00/drivers/examples/evm6748/
    i2c'
    gmake: *** [evm6748_i2c_sample] Error 2

    If I go on and try to build it again, I get the 'regular create' error like the others. Deleting it or cleaning the example changes it back to the above error.

    I have tried modifying every permission humanly possible on my machine, but nothing has worked. I've tried on three different user accounts, run things as administrator and not as administrator, installed my packages to different locations ("C:\ti\", "C:\program files\texas instruments\", etc).

    The problem is that pesky linker_mod.cmd file. Every time the compiler creates that file, it has absolutely 0 permissions set for it. Of course I can edit them after it fails to do the full build, but then you get the regular create error if you try to rebuild it with the new permissions. I even tried changing the permissions as quickly as possible for that file after it was created, but before it reached that step in the compilation, which didn't work either.

    How on earth can this be resolved? Any suggestions are much appreciated.

    Thanks,
    Charles

  • Hi Charles,

    Can you create a new thread and post your question on it ? It helps us track your post better.

    Thanks.