Author |
Message |
Topic: help in writing in C language for a pic18f4331 |
wewe
Replies: 54
Views: 65377
|
Forum: General CCS C Discussion Posted: Wed May 05, 2010 9:11 am Subject: help in writing in C language for a pic18f4331 |
i don't have the programmer at home so i was trying to be sure
i will have to go to a friend's house in order to program my pic and i don't want to go there with the wrong hex file
anyway thx for y ... |
Topic: help in writing in C language for a pic18f4331 |
wewe
Replies: 54
Views: 65377
|
Forum: General CCS C Discussion Posted: Tue May 04, 2010 9:13 pm Subject: help in writing in C language for a pic18f4331 |
Take the HEX file produced by "Build all" and go use it with the PicKit 2.
If you need help on using Pickit 2, then read the Pickit 2 manual:
http://ww1.microchip.com/downloads/en/DeviceDo ... |
Topic: help in writing in C language for a pic18f4331 |
wewe
Replies: 54
Views: 65377
|
Forum: General CCS C Discussion Posted: Tue May 04, 2010 12:13 pm Subject: help in writing in C language for a pic18f4331 |
Come one just a quick help on the hex file for burning the program on the pic.
If it's not the normal hex file produced on the regular build all from ccs then tell me how to produce the correct hex ... |
Topic: help in writing in C language for a pic18f4331 |
wewe
Replies: 54
Views: 65377
|
Forum: General CCS C Discussion Posted: Mon May 03, 2010 11:32 am Subject: help in writing in C language for a pic18f4331 |
okay check this weird thing :S
The same code but with include <18f4331.h> doesn't work (the simulation on proteus don't work).
While for include <18f4431.h> it works.
And the Microchip ... |
Topic: help in writing in C language for a pic18f4331 |
wewe
Replies: 54
Views: 65377
|
Forum: General CCS C Discussion Posted: Sat May 01, 2010 10:42 am Subject: help in writing in C language for a pic18f4331 |
Okay it seems like the help reached its limits lol.
Anyway at least can someone help me in burning the program on the pic?
My friend have a programmer and the pickit2 software and I want to take the ... |
Topic: help in writing in C language for a pic18f4331 |
wewe
Replies: 54
Views: 65377
|
Forum: General CCS C Discussion Posted: Sat May 01, 2010 12:54 am Subject: help in writing in C language for a pic18f4331 |
Surprisingly my program worked (with the 18f1330).
Now for some more questions.
If I run my program in mplab using the mplab plug-in tool I can burn my program using pickit ? (Someone already answer ... |
Topic: help in writing in C language for a pic18f4331 |
wewe
Replies: 54
Views: 65377
|
Forum: General CCS C Discussion Posted: Fri Apr 30, 2010 10:28 am Subject: help in writing in C language for a pic18f4331 |
I think that there's something wrong with my CCS.
I tried to open a new project with the pic 1330.
Anyway without even writing a code i got some errors.
First of all NC_NC_NC not defined
set ... |
Topic: help in writing in C language for a pic18f4331 |
wewe
Replies: 54
Views: 65377
|
Forum: General CCS C Discussion Posted: Thu Apr 29, 2010 11:52 pm Subject: help in writing in C language for a pic18f4331 |
Mike, the PIC is 1330 and not 1331, and the problem of these configuration bits things is happening with the pic4331 and not with the 1330.
My problem with the 1330 is the CPU load.
Anyway guys, ... |
Topic: help in writing in C language for a pic18f4331 |
wewe
Replies: 54
Views: 65377
|
Forum: General CCS C Discussion Posted: Thu Apr 29, 2010 12:29 pm Subject: help in writing in C language for a pic18f4331 |
CPU load ? It's a hardware module in the PIC. It runs independently of
the PIC's CPU. There is no load on the PIC.
If you mean CPU load of Proteus doing the simulation, then get a faster
PC w ... |
Topic: help in writing in C language for a pic18f4331 |
wewe
Replies: 54
Views: 65377
|
Forum: General CCS C Discussion Posted: Thu Apr 29, 2010 11:55 am Subject: help in writing in C language for a pic18f4331 |
You're running a simulator that a lot of us don't have. How do you know
that Proteus simulates the Power PWM module correctly ? You don't.
Test it in hardware.
1. Post a short test program t ... |
Topic: help in writing in C language for a pic18f4331 |
wewe
Replies: 54
Views: 65377
|
Forum: General CCS C Discussion Posted: Wed Apr 28, 2010 11:10 am Subject: help in writing in C language for a pic18f4331 |
Depending on the version of CCS (IDE vs. Command line) there's a program that needs to be run that installs CCS as a compiler tool for MPLAB.
Once that is done, you're good to go using MPLAB with ... |
Topic: help in writing in C language for a pic18f4331 |
wewe
Replies: 54
Views: 65377
|
Forum: General CCS C Discussion Posted: Wed Apr 28, 2010 10:49 am Subject: help in writing in C language for a pic18f4331 |
how can you guys simulate your codes
I do it in hardware. I build a board, and write the program, and test it.
my friend have a programmer that he built himself , these programmers work for b ... |
Topic: help in writing in C language for a pic18f4331 |
wewe
Replies: 54
Views: 65377
|
Forum: General CCS C Discussion Posted: Tue Apr 27, 2010 12:44 pm Subject: help in writing in C language for a pic18f4331 |
Not working.
It seems like this project is going to last forever.
How hard can generating a pwm with a dead time along with its complementary can be ?? Especially that this complementary is automat ... |
Topic: help in writing in C language for a pic18f4331 |
wewe
Replies: 54
Views: 65377
|
Forum: General CCS C Discussion Posted: Mon Apr 26, 2010 10:00 am Subject: help in writing in C language for a pic18f4331 |
Come one !!! No one ever used a power pwm here ???
I followed the series of instructions in the manual but I got nothing, maybe one of you can help |
Topic: help in writing in C language for a pic18f4331 |
wewe
Replies: 54
Views: 65377
|
Forum: General CCS C Discussion Posted: Sun Apr 25, 2010 1:14 pm Subject: help in writing in C language for a pic18f4331 |
And by the way, the power pwm I need is a pwm with a 10Khz frequency and a duty cycle varying from 0% to 100% (it depends on the value of the analog to digital conversion, when the value of the conver ... |
|