wiki:wade/microchip/mplab

[Environment]

  • Win7
  • Microchip MPLAD ICD 2

[Install]

在安裝程式前,請勿連接 RS-232 或 USB。

[Configuration]

  • ICD2 USB driver: C:\Program Files\Microchip\MPLAB IDE\ICD2\Drivers。
    • 安裝 driver 時,只須連結 USB,不須連結 power supply。
    • 為避免電壓不足,請直接將 USB 連接至 PC 上,不要透過任何 USB HUB。否則會出現ICD0019: Communications: Failed to open port: (Windows::GetLastError?() = 0x2
    • 正常安全後,你的裝置管理員會出現「Microchip Tools」-->「Microchip MPLAB ICD2 Firmware Client」
  • ICD2 RS-232:
    1. Control Panel --> System --> Hardware --> Device Manager --> Ports --> COMx, right-click on the COM port and select Properties。
    2. Click the Port Settings tab and set "Flow Control" to "Hardware"。
    3. Click the Advanced button. In the Advanced Settings dialog, turn off (uncheck) "Use FIFO buffers"。
  • Configure MPLAB IDE:
    1. Debugger --> Select Tool --> MPLAB ICD 2。
    2. Com Port --> USB。
    3. Power:
      1. Target has own power supply (power 接在開發板上)。
      2. Power target from the MPLAB ICD 2 (power 接在 ICD 2 上)。

Last modified 13 years ago Last modified on Dec 6, 2010, 1:37:35 PM