Disable COM2

  • How can I disable COM2 so I can use IO0 to IO3 as general purpose IO? On page 2 of the Device driver documentation it is mentioned that the serial device driver for COM2 should be deactivated to use the digital IO interface. Where can I find this procedure?


    Best regards,


    Denny Kluts
    De Heer Medicom

  • You can deactivate any driver by settings the corresponding flags value to 4 in registry. The following ndcucfg script disables COM2:

    Code
    1. reg open \Drivers\BuiltIn\Serial2
    2. reg set value Flags dword 4
    3. reg save

    Software developer, F&S Elektronik Systeme GmbH
    As this is an international forum, please try to post in English.
    Da dies ein internationales Forum ist, bitten wir darum, Beiträge möglichst in Englisch zu verfassen.

  • But disabling the driver does not disable COM2 on Bootup.
    I have the problem, that while booting, IO0 and IO2 pins are high.
    This would switch external hardware that I want to avoid.
    How can I disable COM2 while startup.

  • This pin is faulty initialized in the bootloader. We have fixed this for the new NBoot version. We will announce the new release in the PicoCOM2 release thread .

    Software developer, F&S Elektronik Systeme GmbH
    As this is an international forum, please try to post in English.
    Da dies ein internationales Forum ist, bitten wir darum, Beiträge möglichst in Englisch zu verfassen.