Microchip PIC18FxxQ43
The Microchip PIC18FxxQ43 family features an 8-bit RISC (Reduced Instruction Set Computer) processor core based on a modified Harvard architecture. This architecture separates program memory and data memory using distinct buses, allowing instructions and data to be accessed efficiently and improving overall execution performance. Additionally, the PIC18FxxQ43 family offers advanced hardware features such as an 8 × 8-bit hardware multiplier, Direct Memory Access (DMA), and Configurable Logic Cells (CLCs), enabling efficient data processing and flexible peripheral control in embedded applications.
Supported devices
Refer to the supported device listfor a full list of all supported PIC18Fxx family devices, their corresponding names and connection diagrams.
Target interfaces
| Interface | J-Link support | Flasher support |
|---|---|---|
| ICSP |
Memory blocks
| Flash bank | Base address | J-Link support | Flasher support | Loader | |
|---|---|---|---|---|---|
| Name | Bank size | ||||
| Application | 0x000000 | Default | up to 65536 Words | ||
| User IDs | 0x200000 | Default | 32 Words | ||
| Config word | 0x300000 | Default | 10 Byte | ||
| EEPROM | 0x380000 | Default | 1024 Byte | ||
Device specific handling
Connect
Please ensure that a Vpp voltage of 7.9-9 V must be used. SEGGER recommends using the Programming Voltage Adapter. A pull-down resistor of approximately 1 kΩ is required on the Vpp line because the ProgVoltageAdapter uses an open-drain output.
Reset
The device is reset via MCLR pin which shares its functionality with Vpp.
Security
The device can be protected using the 'Config words'.
Limitations
- The application cannot be started automatically on HVP-only devices after programming. When the reset pin is held low, the device does not start. When the reset pin is connected to Vpp, the device enters programming mode and does not execute user code.
Troubleshooting
Device ID does not match
At the start of the programming process, the Flasher attempts to connect to the device and read its device ID. Each PIC device has a unique ID.
If a device ID error occurs, there may be several possible causes.
To obtain detailed information on the error, increase the "VerboseOutput" level in the U-Flash configuration to at least "INFO" and transfer the project to the Flasher again.
Device ID = 0000 or 3FFF
- There is a fault in the wiring
- The device is kept in reset by an external reset generator or watchdog
- The supply voltage is insufficient
Device ID is wrong
- The wrong device was selected in U-Flash
- There is another device on the board assembled
- The supply voltage is too low and/or the ICSP speed is too high