Skip to main content
Topic: "Diolan Plus" bootloader. (Read 57460 times) previous topic - next topic

Re: "Diolan Plus" bootloader.

Reply #75
Is the PID/VID set to something other than 0x0000/0x0000?

Re: "Diolan Plus" bootloader.

Reply #76
They are standard 04d8:ff04 as in original Dioan Plus bootloader.

Re: "Diolan Plus" bootloader.

Reply #77
where can I find info about the original diolan ?, it seems like this thread starts with previous knowledge in mind?

Re: "Diolan Plus" bootloader.

Reply #78
[quote author="neslekkim"]where can I find info about the original diolan ?, it seems like this thread starts with previous knowledge in mind?[/quote]

the official page is here:  I think the work of Ian to port it to the 24j50 is in the logic sniffer or IR toy forum. IIRC the original version was for a different pic and used the extended instruction set.

Re: "Diolan Plus" bootloader.

Reply #79
I know this is an old thread but this comes up in google and what I've got to announce is very much on topi.

To support my EazyCNC Project I I've create a version of the original Diolan bootloader that I call 'diolan-plus2' and which does not use extended instruction set making it compatible with C-compilers and still retains all the features of the original diolan bootloader and fits in the 2kB bootblock.

I've published it in github as per required by GPL but as a new user I'm not allowed to post links here so I hope I will remember to come back here and add the links someday.

br Kusti

Re: "Diolan Plus" bootloader.

Reply #80
You should be able to post links now.


Re: "Diolan Plus" bootloader.

Reply #82
I'm using a PIC4550 with a 16MHz crystal and I'm looking for an USB bootloader to it. I read about Diolan's bootloader , so, I downloaded it and I changed the original project to be programmed to an PIC18F4550 and not a PIC18F4455 as it was originally written. So, I did the following changes on the bootloder's code:

In source files where was originally
Code: [Select]
 #include "P18F4455.INC"
I changed to
Code: [Select]
 #include "P18F4550.INC" 
On the Header files, I remove the file "P18F4455.INC" of the project and add the"P18F4550.INC instead, I downloaded it from here. The compilation succeed and I was able to program the bootloader into the PIC18F4550's flash. I used PIckit3 and MPLABV8 to do it.

I did not encrypt my application using the encoder, I just tried to write it to memory without encrypt it. So, I copied and paste my .hex file application to the bin folder where the fw_update is.
I found on the bootloader's project file that :
Code: [Select]
#define BOOTLOADER_VID 0x0000 ; MUST BE VALID Vendor ID
#define BOOTLOADER_PID 0x0000 ; MUST BE VALID Product ID

So, I opened the console and typed:

Code: [Select]
fw_update -e -w -v -vid 0x0000 -pid 0x0000 -ix example.hex 

The followed message appears:
U2IO flash erasing: FAILED.
Device is not found.
Operation aborted.

On the device manager of windows 10, It appears as a HID USB device but with a yellow exclamation.
Does someone have some advice or tip of what it is happening ?

I downloaded the diolan-plus2 at github and started to read the documentation (ALL ABOUT THE DIOLAN PLUS BOOTLOADER), but the files that the pdf document refers to, are not at the zip folder that I downloaded from github, so I can't do the modifications. Please, has someone a tip or an adivice ?