Thanks a lot for your answer. I have progress yesterday night and I'm sure I not so far from the goal.
So :
- download and intall Microchip's latest Application Libraries: OK
- put the Firmware "USB Device - HID - HID Bootloader - C18 - PIC18F4550.hex" in my PIC: OK
- open the PC software is "HIDBootLoader" v2.90: OK, my pic is recognise by the software: good
- base on on of your template for 18F4553, I've tried to build the most simple programm as possible: make blinking a led on PORTE.0 just to see if I've well understand exactly how bootloader works.
My programm is: http://demo.ovh.com/fr/67f0fdc5537e8620 ... 4aae77b51/
I trie to load it in the pic using the bootloader, I have a message that tells me the operation success and I need to reset the PIC. When I reset the PIC, it enter again in the bootloader but don't lauch my programm. What is the input pin by default of the PIC that permit to select or not to enter in the bootloader mode? I think my mistake is here...
There is too a strange thing in your template: some asm code is not recognise by mikroBasic Pro and generate an error:
Code: Select all
'Remapping needed to use with boot loader
sub procedure Vectors org 0x1000
' asm
' goto _main '0x1000
' nop
' nop
' goto _interrupt '0x1008
' nop
' nop
' nop
' nop
' nop
' nop
' goto _interrupt_low '0x1018
' end asm
end sub
Thanks a lot for your help. Have a good day and best regards.
Last remark: all your last comment is very usefull. It could be a good idea to integrate it in the .doc file of your libstock file for help everybody.