Hello savnik,
thanks for your reply. your parameters "picflash2.exe -w -f$hex-filename$ -q" won't work for me because i simply don't have "picflash2.exe" but "PICFLASH.EXE".
But however, i figured out the best functional parameter settings. For everybody who is interested in using the EasyPIC4 Board within MicroCode Studio please find the settings as following:
First of all:
you must have installed your PICFlash Programmer-Software which comes with your EasyPIC4 Board on CD! The Programmer EXE-Filename coming with your EasyPIC4 Board is PICFLASH.EXE, not PICFLASH2.EXE, which comes with the extra to buy MikroElektronika PICFlash Programmer Hardware!
Please check and setup your PIC oscillator frequency carefully corresponding to your PIC controller (e. g. LP ist not XT and XT is not HS). Wrong oscillator setting will result into undefined programmer- and controller functions!!!
MicroCode Studio 3.0.0.0 step by step settings
---------------------------------------------
Menu:
View
!
Compile and Program Options...
!
Programmer
!
Add New Programmer
!
Create a custom programmer entry
!
Next
!
Display Name: (name it what ever you like, e. g. EasyPIC4)
!
Programmer Filename: PICFLASH.EXE (or your programmer *.exe filename)
!
Next
!
Select Programmer Path (either "Find Automatically" or "Find Manually...")
!
Next
!
Parameters: -pPIC$target-device$ -f$hex-filename$ -e -w -v -q
!
Finished
Parameter Explanation:
-pPIC$target-device$ = PIC name, for example "PIC16F877A" (e. g. device name)
-f = HEX-Filename
-e = Erase PIC
-w = Write to PIC
-v = Verify
-q = Close PICFlash after programming
These MicroCode Studio settings are working perfect for me (and for my EasyPIC4 Board). So far no problems at all. Hope this will be of some help for Forum users having the same configuration problems which i have had.
Bookmarks