Yes thatīs true.
But with microcode and manual reset i have to program the PIC severel times whit the same program before the PIC starts...
So i think something is wrong.
I will do some more tests and then give you some feedback here.
Yes thatīs true.
But with microcode and manual reset i have to program the PIC severel times whit the same program before the PIC starts...
So i think something is wrong.
I will do some more tests and then give you some feedback here.
Why do you sometimes have the define
DEFINE BOOTLOADER_USED 1
Tiny bootloader works with and without this define so i wonder what does the define do?
in fact it has to be
What it does? From memory, It reserved the first 4 code location for the bootloader (1-2 nop and a GOTO to the bootloader code (at the end of the code space))Code:DEFINE LOADER_USED 1
Why it works with Tiny... can't tell, maybe he correct the .hex file for you... but as it's a small program, you're not experimenting issue just yet.
Keep the DEFINE LOADER_USED 1 at the top.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Yes, thats why i trying to get the Microloader to work..
another question
Will a "software reset" work to get into the "bootloader mode"?
http://www.picbasic.co.uk/forum/showthread.php?t=899
or has it to be a real MCLR reset?Code:Asm bcf PCLATH, 3 bcf PCLATH, 4 goto 0 EndAsm
As you're using a 18F
should do. bootloader mode get out pretty fast of there, not like Tiny (which I can recall something like ~1 Sec before getting out)Code:@ RESET
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Hmm... why doesīt microloader work...
When i press the program button the message "Please restet the PIC in order to access bootloader process"
I press the reset button on the PCB (MCLR) and nothing happens..... i have to close the message window then the programming starts. is that normal?
Shouldīt the programming starts when i press the MCLR button?
Another thing with Microloader and Microcode studio plus is the way i have to set the COM port.
(I use a virutuel COM port, not a real one.)
If i run only the Microcode loader i canīt set the COM port at all, the dropdownlist is empty and "gray". if i run Microcode studio i can set the COM port via the ICD toolbar but when i use my PIC18F2550 i canīt so to set the right COM port i have to change the device to 16F628A and then change the COM port and then change the device back to 18F2550.
Bookmarks