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

L51 to LX51 porting

I have some legacy code that was built with C51 v5.02.

We have issues with the parallel-port dongle and I am trying to use the new version of the C51 compiler (v9.55).

Assembly (A51) and compilation (C511) seems to work. For the linker (L51) I have found that the new program is called LX51 and has some different command line syntax.

So I now have similar to:

LX51 [obj files] TO [output file) RS(256) DL DP DS OVERLAY(SEND_SHORTRESPONSE ! *, LOG_TXRX ! *, READ_FLOWSENSOR ! *, PUTCHAR ! *)

But it complains about invalid syntax. If I remove the RS(256) DL DP DS directives, it will link, but I am not sure it will generate the correct output.

I have tried to figure out what this directives used to do and what the equivalents are in the version, but so far no luck.

Can anybody help with this issue?