C51L.lib not printing correctly

We are using an Analog Devices ADuC832 device and we have observed that the C51S.lib works well for printing to the serial port under the small memory model. We have not had any luck generating output from the serial port using C51L.lib however. It compiles under the large memory model so we are not sure why the output is garbage.

What could cause this? Could this be related to STARTUP.A51?

Has anyone else had success with I/O under the large memory model?

Thanks in advance,

Brian Chase

Parents
  • "Has anyone else had success with I/O under the large memory model?"

    Yep - it's fine.

    Most likely there's a bug in your software and/or hardawre somewhere which just happens not to manifest itself in the small model.

    "Could this be related to STARTUP.A51?"

    possibly.
    If you haven't correctly configured your XRAM, this may well not show up while using the small model.

    Are you sure that all your variables are correctly initialised before use?

Reply
  • "Has anyone else had success with I/O under the large memory model?"

    Yep - it's fine.

    Most likely there's a bug in your software and/or hardawre somewhere which just happens not to manifest itself in the small model.

    "Could this be related to STARTUP.A51?"

    possibly.
    If you haven't correctly configured your XRAM, this may well not show up while using the small model.

    Are you sure that all your variables are correctly initialised before use?

Children
More questions in this forum