wiki:wade/microchip/mplab

Version 6 (modified by wade, 14 years ago) (diff)

--

[Environment]

  • Win7

[Install]

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

[Configuration]

  • ICD2 USB driver: C:\Program Files\Microchip\MPLAB IDE\ICD2\Drivers。
    • 安裝 driver 時,只須連結 USB,不須連結 power supply。
  • 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 上)。