LAUNCHXL-CC1310: Debugging Issue (hapi.c not found)

Part Number: LAUNCHXL-CC1310
Other Parts Discussed in Thread: CC1310

Tool/software:

Hi,

Anyone knows how to solve this problem while debugging:

Can't find a source file at "C:\workTst\cc26xx\tags\PG2_RC7_CC13XX\modules\rom\fw/src/hapi.c"
Locate the file or edit the source lookup path to include its location.

How to change the reference of this file to driverlib.c in CCS?

Thanks in advance

  • Hi Mohd,

    This is not an issue in itself, so I wonder, what is the problem that you are seeing? 

    Is the device not booting, and running your firmware?

    Regards,

    Arthur

  • Hi Arthur,

    I think the device is fine because it able to run any firmware.

    Only problem is while debugging it stuck at the GetChipId() at hapi.c:245 and did not move to the next line of code, with the error message as above. 

    If I am not mistaken the above function is implemented elsewhere (DriverLib?)

    Actually I am debugging Contiki-NG software with the CC1310 board, any advise?

    Thanks

  • Interestingly, this issue does not occur in Windows. FYI, originally I was using CCS v12.8.1 on Linux (Debian 12) for debugging when the error happened. I tested the same code for debugging, but this time with a Windows 11 environment, and it debugged just fine.

    Anyway, thanks for your reply, Arthur.

    Regards,

    Faiz