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.

pic18f6680

chz12

Newbie
Newbie level 3
Joined
Dec 18, 2024
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Visit site
Activity points
34
Hello everyone, I am a student of Mechatronics Engineering and I am doing a project with a PIC18F6680. However, I don't know how I can program it. I made a code, but when I try to upload it to the PIC it gives me an error.

Context:
I am trying to make a program in MPLAB X IDE to then get the .hex file and with that file upload it using the Wellon Universal Programmer software and the Wellon Programmer VP898 programmer.

My question is: do some bits have to be enabled from the time the code is generated in MPLAB X IDE or do they have to be configured in the Wellon Universal Programmer software?

Please, if anyone knows how to solve this or has tried something similar, I would greatly appreciate your help.
I am lost in my project.
 
What error is produced? Is it an error from the VP898 or is it a problem of the PIC not running after being programmed?

Usually all the bits are embedded in the .hex file but configuration bits can sometimes be manually overridden.

Brian.
 
I want to think that the problem lies in how the PIC is configured, since when trying to load a program or modify the one that is already in the PIC, it does not allow me to do so. I do not understand why this happens if the PIC is completely new

For example, if I have a .hex file that was made with the MPLAB X IDE software, it will be compatible with the Wellon VP898 and if I want to load this same file into a PIC18F6680, is it possible to perform this operation? I have tried several times, but I cannot load the program. I am not sure if the problem is in the .hex file or in the Wellon configuration.
 
I guess nobody knows if said Wellon VP898 has correct support for PICF6680. But even if so, it has unlikely MPLAB X compatible in-circuit debugging features. Why not using a simple PICkit programming adapter?

You didn't yet tell on what kind of PCB the processor is mounted and how you connect the programmer. Does the programmer recognize the processor at all?
 
It is an adapter for the pic which I connect to the wellon
If I can read the program that the pic has with the wellon, it gives it to me in .hex, what I am trying to do is upload a new one which I don't know
 

Attachments

  • t12.jpeg
    t12.jpeg
    183.9 KB · Views: 1

LaTeX Commands Quick-Menu:

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top