I am using the Microchip Curiosity Board with PBP and MCS, and have been able to program the Curiosity Board via its USB connector and via PICKit3 programmer, using ipecmd.exe . The MCS command lines I've used are:
Via the USB on-board programmer:
-TSBUR163471457 -P$target-device$ -F$hex-filename$ -E -M -Y -OL -OB
or
-TPPKOB -P$target-device$ -F$hex-filename$ -E -M -Y -OL -OB
Via the PICKit3 programmer
-TSBUR171738083 -P$target-device$ -F$hex-filename$ -E -M -Y -OL -OB
or
-TPPK3 -P$target-device$ -F$hex-filename$ -E -M -Y -OL -OB
Command Line Options:
-E erase before programming
-M program entire memory
-Y verify after programming
-OL release from reset
-OB batch mode (leaves cmd line window open)
For each programmer command line, the first case specifies the programmer's serial number, while the second command line is generic (not serial number specific). Use one or the other, and use your own serial number(s) for the first case.
The Curiosity Board programs in the LVP mode only, so if the Curiosity Board's target device has been configured in the high voltage mode, it needs to be high voltage re-programmed for LVP in order for the USB programmer to work.
Regarding the MPLAB Express Eval Board (Microchip P/N DM164140), both its target device (PIC16F18855) and its programming device (PIC18LF25K50) have PICKit3 connections (J4 and J1), so both could be programmed this way in addition to via the USB connector. Whether or not Microchip has programmer code released to allow the -25K50 device to be reprogrammed as a PICKit or PKOB type programmer is something I've not investigated.
Announcement
Collapse
No announcement yet.
Curiosity Board pkob
Collapse
X
-
revised command line
command line -tSBURxxxxxxxxx -p$target-device$ -f$hex-filename$ -e -m -y -ol
release reset and verify write
Leave a comment:
-
Originally posted by PICBasicUser View Post
Do you think same thing can be done for Xpress board?
I doubt it ,there is no mention of pkob in the blurb . its a different sort of animal and programmes itself .
you would need to have pbp3.1 to compile code to hex file for it also.
a quick read of the colour glossy brochure yields this
Connect the MPLAB Xpress Evaluation Board to your PC with a
Micro-USB cable. The MPLAB Xpress Evaluation Board will appear as
a USB mass storage device or FLASH drive.
Copy the generated .hex file to the root directory** of the MPLAB
Xpress Evaluation Board’s FLASH drive.
Note: The MPLAB Xpress Evaluation Board only recognizes files placed in the root directory.
Perform a hard reset using the RESET button on the board.
Leave a comment:
-
Well. That's a handy bit of info.
Somebody on another forum was gushing about the Microchip Xpress board.
Hw was saying 'It does this. It does that."
I'm sitting there thinking. You can only use it with MPLAB so why get excited?
Do you think same thing can be done for Xpress board?
Leave a comment:
-
Curiosity Board pkob
the ipecmd command line utility can be use to program your curiosity board from mcs ide
programmer filename ipecmd.exe
command line -tSBURxxxxxxxxx -p$target-device$ -f$hex-filename$ -e -m
where BURxxxxxxxxx is serial no of your curiosity pkob
it works very nicelyTags: None
Leave a comment: