This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Trouble with linkers lx51 and bl51

I have recently downloaded quicksense studios for use in a capacitive sensing application. After using their utility to generate a lot of the needed source code, I decided to try and assemble and build the project using c51. I used the ax51 assembler, the cx51 compiler, and the lx51 linker. Eventually I managed to get the filed to assemble and compile, generating the needed object files. When I attempt to link them however, I keep getting this error:

@C:\Users\_I_\Documents\tc\test3\cyglink.txt "C:\Users\_I_\Documents\tc\test3\QS_Config.obj",
"C:\Users\_I_\Documents\tc\test3\QS_DeviceInit.obj",
"C:\Users\_I_\Documents\tc\test3\QS_Main.obj",
"C:\Users\_I_\Documents\tc\test3\QS_Threshold_Cal.obj",
"C:\Users\_I_\Documents\tc\test3\QS_F99xRoutines.obj",
"C:\Users\_I_\Documents\tc\test3\QS_Baselining.obj",
"C:\Users\_I_\Documents\tc\test3\QS_Core.obj",
"C:\Users\_I_\Documents\tc\test3\QS_Events.obj",
"C:\Users\_I_\Documents\tc\test3\QS_Exp_Averager.obj",
"C:\Users\_I_\Documents\tc\test3\QS_Groups.obj",
"C:\Users\_I_\Documents\tc\test3\QS_Memory.obj",
"C:\Users\_I_\Documents\tc\test3\QS_nDPad.obj",
"C:\Users\_I_\Documents\tc\test3\QS_Timing.obj",
"C:\Users\_I_\Documents\tc\test3\QSCI_Memory.obj",
"C:\Users\_I_\Documents\tc\test3\QSCI_Memory_lite.obj",
"C:\Users\_I_\Documents\tc\test3\QSCI_Core_Lite.obj",
"C:\Users\_I_\Documents\tc\test3\QSCI_UARTRoutines_lite.obj"  TO "C:\Users\_I_\Documents\tc\test3\test3" RS(256) PL(68) PW(78) CODE(0, ?CO?QS_CONFIG(0x100))

*** ERROR L204: INVALID KEYWORD
    POS: 1054
    Routines_lite.obj TO C:\Users\_I_\Documents\tc\test3\test3 RS

I do not understand why it is registering as an invalid keyword. I decided to try using bl51 instead. I got a different error message:

"C:\Users\_I_\Documents\tc\test3\QS_Config.obj",
"C:\Users\_I_\Documents\tc\test3\QS_DeviceInit.obj",
"C:\Users\_I_\Documents\tc\test3\QS_Main.obj",
"C:\Users\_I_\Documents\tc\test3\QS_Threshold_Cal.obj",
"C:\Users\_I_\Documents\tc\test3\QS_F99xRoutines.obj",
"C:\Users\_I_\Documents\tc\test3\QS_Baselining.obj",
"C:\Users\_I_\Documents\tc\test3\QS_Core.obj",
"C:\Users\_I_\Documents\tc\test3\QS_Events.obj",
"C:\Users\_I_\Documents\tc\test3\QS_Exp_Averager.obj",
"C:\Users\_I_\Documents\tc\test3\QS_Groups.obj",
"C:\Users\_I_\Documents\tc\test3\QS_Memory.obj",
"C:\Users\_I_\Documents\tc\test3\QS_nDPad.obj",
"C:\Users\_I_\Documents\tc\test3\QS_Timing.obj",
"C:\Users\_I_\Documents\tc\test3\QSCI_Memory.obj",
"C:\Users\_I_\Documents\tc\test3\QSCI_Memory_lite.obj",
"C:\Users\_I_\Documents\tc\test3\QSCI_Core_Lite.obj",
"C:\Users\_I_\Documents\tc\test3\QSCI_UARTRoutines_lite.obj"  TO "C:\Users\_I_\Documents\tc\test3\test3" RS(256) PL(68) PW(78) CODE(0, ?CO?QS_CONFIG(0x100))

*** FATAL ERROR L218: NOT AN OBJECT FILE
    FILE: C:\Users\_I_\Documents\tc\test3\QS_Config.obj

However, when I go and check this directory, all the corresponding object files have been generated.

what am I missing? Any and all help is appreciated.

Parents
  • I did delete the object files and recompile with no errors. I do have a few warnings for various files, but no warning related to QS_config. I verified that there is a file called QS_Config.OBJ at the correct file path. You mentioned that its possible it is spitting out this error due to some other problem with this file. What other types of problems might cause this error?

    Thank you everybody for the feedback.

Reply
  • I did delete the object files and recompile with no errors. I do have a few warnings for various files, but no warning related to QS_config. I verified that there is a file called QS_Config.OBJ at the correct file path. You mentioned that its possible it is spitting out this error due to some other problem with this file. What other types of problems might cause this error?

    Thank you everybody for the feedback.

Children