PIC Programming
Posted: Fri Feb 02, 2024 11:57 pm
Hi
Wy WinterHill fails to start with a "PIC_A not found error - can't continue"
If I run the PIC programmer directly, I get output below, showing PIC_A programmed and verified but then fails the last status check.
Swapping the PIC doesn't fix the issue. If I check with the scope, the only difference seems to be a difference in the signals on SPI0 and SPI6 with SPI0 staying high, but there are no shorts on the line.
Any ideas welcome.
------
PIC_A:
------
Reading chip ID:
DeviceID=750E
Revision=0004
PIC24FJ256GA702 detected
Erasing chip:
Programming:
000000 002000 002800 002900 002A00 002B00 002C00 002D00
002E00 002F00 003000 003100 003200 003300 003400 003500
003600 003700 003800 003900 02AF00
Verifying:
000000 002000 002800 002900 002A00 002B00 002C00 002D00
002E00 002F00 003000 003100 003200 003300 003400 003500
003600 003700 003800 003900 02AF00
*** PIC_A SUCCESS ***
------
PIC_B:
------
Reading chip ID:
DeviceID=750E
Revision=0004
PIC24FJ256GA702 detected
Erasing chip:
Programming:
000000 002000 002800 002900 002A00 002B00 002C00 002D00
002E00 002F00 003000 003100 003200 003300 003400 003500
003600 003700 003800 003900 02AF00
Verifying:
000000 002000 002800 002900 002A00 002B00 002C00 002D00
002E00 002F00 003000 003100 003200 003300 003400 003500
003600 003700 003800 003900 02AF00
*** PIC_B SUCCESS ***
----------------------------------------------------------------------------------------
Checking status:
PIC_A: not programmed or version unknown
PIC_B: version 3v20
Status: 32 (0x20)
----------------------------------------------------------------------------------------
Complete
Wy WinterHill fails to start with a "PIC_A not found error - can't continue"
If I run the PIC programmer directly, I get output below, showing PIC_A programmed and verified but then fails the last status check.
Swapping the PIC doesn't fix the issue. If I check with the scope, the only difference seems to be a difference in the signals on SPI0 and SPI6 with SPI0 staying high, but there are no shorts on the line.
Any ideas welcome.
------
PIC_A:
------
Reading chip ID:
DeviceID=750E
Revision=0004
PIC24FJ256GA702 detected
Erasing chip:
Programming:
000000 002000 002800 002900 002A00 002B00 002C00 002D00
002E00 002F00 003000 003100 003200 003300 003400 003500
003600 003700 003800 003900 02AF00
Verifying:
000000 002000 002800 002900 002A00 002B00 002C00 002D00
002E00 002F00 003000 003100 003200 003300 003400 003500
003600 003700 003800 003900 02AF00
*** PIC_A SUCCESS ***
------
PIC_B:
------
Reading chip ID:
DeviceID=750E
Revision=0004
PIC24FJ256GA702 detected
Erasing chip:
Programming:
000000 002000 002800 002900 002A00 002B00 002C00 002D00
002E00 002F00 003000 003100 003200 003300 003400 003500
003600 003700 003800 003900 02AF00
Verifying:
000000 002000 002800 002900 002A00 002B00 002C00 002D00
002E00 002F00 003000 003100 003200 003300 003400 003500
003600 003700 003800 003900 02AF00
*** PIC_B SUCCESS ***
----------------------------------------------------------------------------------------
Checking status:
PIC_A: not programmed or version unknown
PIC_B: version 3v20
Status: 32 (0x20)
----------------------------------------------------------------------------------------
Complete