Hi everyone
I have an application PCB with target micro the PIC16F18877/PT in TQFP44 package. The PCB includes an ICSP header.
From my BL0080 board, I have removed the PDIP40 PIC16F18877/P for making an effort to flash the TQFP44 via its ICSP header.
I tried to flash a small FC7 project to the target (just to blink some onboard LEDs) without success.
I also tried to flash the hex file with Mloader without success.
I receive always from the compiler the error message that the program cannot be verified.
The code is not flashed at all, I checked the micro and is always blank.
However, the Mloader can autodetect the micro.
I tried then to flash the hex file with the MPLAB IPE and PICkit 3 with success.
Thus the hardware (headers, cables etc) and the configuration of PIC micro, are correct.
The only issue that I could see, is that in the PDIP40 micro the ICSP CLK and ICSP DATA are allocated at pins 39 - 40, while in the
TQFP44 are allocated at pins 16 - 17 respectively. Is that problem?
Thanks
BL0080 + ICSP problem
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: BL0080 + ICSP problem
Hello Fotios,
The ICSP header on the BL0080 board is designed to allow you to program the target MCU using a PICkit. It is not really designed for allowing an external MCU to be connected and programmed via mLoader but this doesn't mean it's impossible.
If the auto detect is working then you must be fairly close.
Can you decrease the length of your cable as this could potentially be causing the issues.
The ICSP header on the BL0080 board is designed to allow you to program the target MCU using a PICkit. It is not really designed for allowing an external MCU to be connected and programmed via mLoader but this doesn't mean it's impossible.
If the auto detect is working then you must be fairly close.
Can you decrease the length of your cable as this could potentially be causing the issues.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel