After adding the paths for the MPASM and the device files.
The last error that I can't over come is this : It gives a UMC Generation Error of " Device "18F452" cannot self program"
I am sure it is an operator error but i cannot seem to figure it out.
I am using the umcbuild.ini that came with the compiler the changes are below.
Code: Select all
[code][code]; optional path information - default output folder is
; user documents -> umcbuild...
[PATH]
;MPASM=C:\Program Files (x86)\Microchip\MPLABX\v5.35\mpasmx
MPASM=C:\Program Files (x86)\Mecanique\Swordfish\Bin
DB=C:\Program Files (x86)\Microchip\MPLABX\v5.35\mpasmx
;DB=C:\ProgramData\Mecanique\Swordfish\Includes
;Output=$app\firmware
; source code files...
[TEMPLATE]
PIC16=..\src\16F\umc_loader.asm
PIC18=..\src\18F\umc_loader.asm
; device name and OSC...
[MCU]
Device=18F452
OSC=20000000
; device configuration settings...
[CONFIG]
config OSC = HS
config PWRT = OFF
config WDT = OFF
config LVP = OFF
config DEBUG = OFF
; place startup code in here...
[USERCODE]
It did not like the path to the MPLABX for MPASM but it did work pointing it to the Swordfish directory.
Both Device files paths worked.
Any suggestions would be greatly appreciated as i really want to use a bootloader for my application.
Thanks,
Keith