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.

AWR1843: Error when rebuild driver

Expert 2050 points
Part Number: AWR1843

I want to rebuild the CAN driver for my AWR1843 device. 

After setting and executing setenv.bat  in C:\ti\mmwave_sdk_03_05_00_04\packages\scripts\windows, I run commands 

make clean 
 and 
make all
 in drivers folder. But I get errors as below.

 

Can you please tell how can I rebuild the driver?

Kind regards

  • Hi Lei,

    I can see that the driver (the library) already gets rebuilt despite the error. If you want to just build the library, you can use "gmake lib" instead of gmake all.

    The error seems to be in XDC configuration, which is being used by the testcase.

    In all likelihood, this is due to the make version being used. We use GNU make for building the SDK. Could you use gmake from here: C:\ti\ccs1100\ccs\utils\bin and try again?

    Regards,

    Aayush

  • Thanks Aayush.

    I build the lib in windows envrionment.  

    Regarding to your comment "I can see that the driver (the library) already gets rebuilt despite the error.", can I use the rebuild driver now regardless of the errors?

    I tried runing "make lib" instead of "make all" in c:\ti\mmwave_sdk_03_05_00_04\packages\ti\drivers\can, get below result:

  • Hi Lei,

    My bad. The target to build driver only is drv. You can use gmake drv for this.

    Also, I would suggest using gmake from C:\ti\ccs1100\ccs\utils\bin path (or your CCS installation), my suspicion is that the make utility you use is not compatible with the SDK.

    Regards,

    Aayush

  • Thanks Aayush,

    Both gmake drv and make drv from  c:\ti\mmwave_sdk_03_05_00_04\packages\ti\drivers\can work well!

    Can you please tell me what command to use from C:\ti\ccs1100\ccs\utils\bin path (or your CCS installation)?  gmake bin?

    Regards

  • Hi Lei,

    Sorry for the delay in my response.

    Yes, we can use gmake.exe from C:\ti\ccs1100\ccs\utils\bin. Adding C:\ti\ccs1100\ccs\utils\bin to the path variable should suffice here. I suspect all builds will go through after this. Please let me know if you still face problems with it.

    Regards,

    Aayush