How to Load PF Firmware
From DIDEAS Wiki
How to load/update PF firmware using Microchip IDE
- motor controller must be programmed first, then state controller
- connect ICD2 or ICD3
- to PC via USB connector
- to FUP via RJ11 connector
- run MPIDE on PC
- connect motor controller (M) cable to FUP 9-pin connector
- in MPLAB IDE, open and build svn://pedant/PowerFoot/tags/MotorControl-753/MCApp-rev200.mcp project
- ^F10 does a clean build and downloads the firmware
- remove motor controller cable, connect state controller (S) cable to FUP 9-pin connector
- in MPLAB IDE, open and build svn://pedant/PowerFoot/tags/StateControl-751/testjig-rev200.mcp project
- ^F10 does a clean build and downloads the firmware
- reboot PF
- disconnect ICD2/3, connect PC directly to FUP USB connector
- should see 4 LEDs lit up
- run sc_version, verify HW: says TESTJIG