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

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 Reply Children
  • Does 22-bit contiguous mode works for DS80C390 emulator from Dallas ?

  • Tony, are you trying to build an own emulator or what is the background of your question?

    Currently the AGDI interface assumes that the device starts already in CONTIGUOUS MODE. This is because the Monitor MON390 brings the device instantly into the CONTIGUOUS MODE.

    In the next tool revision, it will be possible to tell the debugging about the mode.

    Reinhard

  • Yes, we're developing an emulator & AGDI DLL for our MCU with 22-bit contiguous mode compatible to DS80C390. The emulator works well for both 16-bit and 22-bit modes, except that uVision2 debugger failed to display 22-bit assembler instructions and failed to step over C source lines(with 22-bit instructions).

    I've written a test application(in C lang) to test 22-bit mode. I've enabled "-c390" option for "S8051.DLL". However, it worked for simulator, but failed for emulator.

    I want to know what makes the debugger failed 22-bit mode. If it's problem with our emulator, can you give me info of AGDI interface, which are used for 22-bit mode ? So that, I can check our AGDI DLL. Pls help, thks.