IIRC microchip has the bootloader code online somewhere. I was thinking that it might be somthing we could do for the people who need it. LVP's are the easiest to build and it may be a reasonable way to solve the chicken and the egg problem of not having a programer to build a programmer.
I could be wrong but it could be as simple a changing one or two lines of code.
by the way, somebody has written here that the PIC18F2550 has kind of internal program. I didn't understand- can I use this program without reprogrm it using the ATR2003?
The I/O pin assignments are in a header file called io_cfg.h
The relevant lines are:
#define tris_PROG_SWITCH TRISBbits.TRISB5 // RB5 Input (Weak Pull-up)
#define PROG_SWITCH_pin PORTBbits.RB5
You should be able to change to another pin (RC7 appears to be available) and recompile. Unfortunately I don't do C, so I am no help.
I don't know where to find the newest version of the source, but older versions are found here:
**broken link removed**
V2.32 should be adequate. It works with PK2 application 2.52.
The PIC12F2550 isn't supplied by Microchip with an internal program.
The "internal program", (PK2V023200.hex for example) that you flash using your programmer, contains a bootloader.
Once functional, this bootloader allows the PICkit2 software to be updated via USB and the PICkit2 software, without the need for the other programmer.
Does that clear things up a bit?
The problem you appear to be having is the method ART2003 uses to program your '2550.
Re-read the previous posts by Blueroom, Skyhawk, Sarma & 3v0.
I think, unless AVI gets an alternate souce of programming his 18F2550 with a standard programmer, he may hev nothing more to post. Perhaps he is on the search for it.Is it working ?
I programmed my 18F2550 eith ART2003, and my PK2 was detected by MPLAB without any hassle in winXP even in winvista. Who said, ART2003 will not work? It's simply not true.
............
I programmed my 18F2550 eith ART2003, and my PK2 was detected by MPLAB without any hassle in winXP even in winvista. Who said, ART2003 will not work? It's simply not true.
..........
We figured out that you can program it with the a LVP but you can not use it unless you have a way to change the LVP config bit to off. I did not see any way to do that without a HVP programmer.Could you get the upload to next driver done on PICKIT2 using the update procedures described in the manual after once programming on ART2003 type LVP programmer?
We figured out that you can program it with the a LVP but you can not use it unless you have a way to change the LVP config bit to off. I did not see any way to do that without a HVP programmer.
That is why I said the BLOAD switch needs to be moved. I have a the rest of the week off. Maybe I can take another stab at the PICkit code/project and figure out why it could not find the includes.
3v0.
I programmed my 18F2550 eith ART2003, and my PK2 was detected by MPLAB without any hassle in winXP even in winvista. Who said, ART2003 will not work? It's simply not true.
If you can do it I would like to know why because it does not make sense. As long as the 2550 is in LVP mode you can not run code other then the bootloader. Unless the bootloader changes config from LVP to HVP.theo92 said:I programmed my 18F2550 eith ART2003, and my PK2 was detected by MPLAB without any hassle in winXP even in winvista. Who said, ART2003 will not work? It's simply not true.
PIC18F
PIC18F devices allow access to the device configuration
bits (addresses starting at 300000h) during normal
operation. In the bootloader, commands 6 and 7 provide
this access. Data is read one byte at a time and,
unlike program memory, is written one byte at a time.
Since configuration bits are automatically erased
before being written, there is no erase command for
configuration memory.
I have not looked at the boot loader application to determine how to write the config from there but if it is possible the procedure for getting a working 2550 for a junbug would be
1. Program the chip using LVP.
2. Run the bootloader app and switch the config LVP bit to off.
Could it be that simple ?
What is at location 2007 ?
Attached please find the ART 2003 programmer schematic in ZIF. It is a parallel port programmer. The designer specifically says that he made this to program 18F2550 for use in PICKIT2 and another 18F2xx chip. I only wonder, if this can program 18F25xx, perhaps PICKIT2 becomes redundant.
However, the LVP bit may only
be programmed by entering the High-Voltage ICSP
mode, where MCLR/VPP/RE3 is raised to VIHH.
The way that I read section 5.3 of the programming specifications is that the LVP bit can only be programmed to 0 from the high voltage mode.
https://www.electro-tech-online.com/custompdfs/2008/10/39622k-1.pdf
This makes sense because it means that a person using LVP can't accidentally "lock themselves out" by unintentionally resetting this bit.
I look forward to hearing more about this subject.
Hardly, it's a really poor LVP programmer, dependent on a custom program running on the PC - the PICKit2 is in a completely different league, and is a debugger as well.
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?