Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

CPLD USB Jtag Programmer

Status
Not open for further replies.

5arid

Member level 1
Joined
Jan 23, 2016
Messages
32
Helped
0
Reputation
0
Reaction score
0
Trophy points
6
Activity points
279
I found this project but unfortunately it is in Japanese : **broken link removed**

ub3.jpg

Fortunately someone explained briefly in English about it, but unfortunately the links to the pictures on how to configure PIC18F2550 are dead! : **broken link removed**

Can anyone find out what configuration is needed for programming the PIC chip with ART2003?

By the way here is the explanation from the original website which is translated with google :

USB-Blaster mock
The USB firmware Ver.2.5-Generic of micro-chip has been made on the base.
Pin placement change, you must have the following environment if you want to re-compiled with CERALOCK frequency changes and the like.
· MPLAB IDE
· C18 Compiler
· Microchip USB Firmware Ver.2.5 (you do not need to be prepared because we are included)
Open the project file on which you installed the tool,
Please select the PIC18F2550 in the Configure-> SelectDevice screen.

For the use of SPI module, you have to change the default pin placement from the last time.
Since it is faster than the last time in PIO mode, if you want to use the same circuit,
Change to the PIO mode, please rewrite the pin assignment.

Clock frequency change
"Main4.c" 64 line of the file "#pragma config PLLDIV = 5"
Please rewrite the value of the clock frequency / 4MHz a.

· PIO / SPI switching
In order to speed up the JTAG communication, we use the MSSP module of PIC in SPI mode.
If you comment out the 111 line of #define USE_SPI without using the SPI module,
Do the IO in the program. This will be the pin placement freely.
Since the speed is slow, it is recommended that you use the SPI if possible.

Pin assignment change
We are in the 114-126 line of define statement. The other is supposed it is not necessary to change.
SPI mode when using the TCK, TDI and TDO pin can not be changed.
Please disable the SPI is when you want to change these pins.

Thanks in advance
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top