22-bit Contiguous Mode of DS80C390

I've developed a firmware to run on 22-bit contiguous mode of DS80C390. In the "debug" property sheet of "options for target" window, I've added the "-C390" parameter for "S8051.DLL". However, in the debug session, it has the problems below :-
1) the disassembler window failed to display 22-bit assembler instructions
2) the debugger failed to step over C source lines (if it contain 22-bit assembler instructions)

My uVision2 is PK51 V2.40a. Can you advice how to correct these problem ?

Parents
  • I've added the "-C390" parameter for "S8051.DLL"

    That feels wrong already --- you shouldn't have to do that yourself. It's supposed to happen automatically, as soon as you configure the project for the 'C390 and contiguous mode.
    And just in case: the automatically inserted parameter I see here is "-c390" (note: lower-case 'c'); that might make a difference.

    So: how exactly did the disassembler "fail to display" those instructions? Was the CPU actually put into 22-bit contiguous mode (check out your START390.A51 configuration) at all? Did you configure the compiler to be in contiguous mode?

Reply
  • I've added the "-C390" parameter for "S8051.DLL"

    That feels wrong already --- you shouldn't have to do that yourself. It's supposed to happen automatically, as soon as you configure the project for the 'C390 and contiguous mode.
    And just in case: the automatically inserted parameter I see here is "-c390" (note: lower-case 'c'); that might make a difference.

    So: how exactly did the disassembler "fail to display" those instructions? Was the CPU actually put into 22-bit contiguous mode (check out your START390.A51 configuration) at all? Did you configure the compiler to be in contiguous mode?

Children
More questions in this forum