Author |
Message |
Topic: Bootloader |
bernardinim
Replies: 6
Views: 7493
|
Forum: General CCS C Discussion Posted: Tue Mar 28, 2006 1:52 am Subject: bootloader |
Using ccs serial port monitor i receive the error Timeout when downloading ....
I use these port setting (9600,n,8,1 with no software flow control), It's correct?
I not know if the problem is in s ... |
Topic: Bootloader |
bernardinim
Replies: 6
Views: 7493
|
Forum: General CCS C Discussion Posted: Mon Mar 27, 2006 9:50 am Subject: bootloader |
yes.. i know...
It's the first time that i use a bootloader...
What i have to do?
Can u give me a simple example that work.. so i can understand..? |
Topic: Bootloader |
bernardinim
Replies: 6
Views: 7493
|
Forum: General CCS C Discussion Posted: Mon Mar 27, 2006 9:08 am Subject: Bootloader |
Hi, i am trying to use ccs bootloader on my project based on Pic18F2525 @ 32 Mhz (external clock). I want to use pins RB6 and RB7 for dowload the code.... All my trials failed.
What are the step tha ... |
Topic: Bootloader |
bernardinim
Replies: 6
Views: 7493
|
Forum: General CCS C Discussion Posted: Mon Mar 27, 2006 3:49 am Subject: Bootloader |
Hi, i am trying to use ccs bootloader on my project based on Pic18F2525 @ 32 Mhz (external clock). I want to use pins RB6 and RB7 for dowload the code.... All my trials failed.
What are the step that ... |
Topic: A/D conversion |
bernardinim
Replies: 11
Views: 13464
|
Forum: General CCS C Discussion Posted: Fri Feb 03, 2006 10:21 am Subject: A/D conversion |
I am using a PIC18F2525 at 32MHz and i'm trying to read from adc...
but i have a problem: i set #device adc=10 , but i read the result at 8bit only (0-255) ..why?
I show my code:
#device adc=10
... |
Topic: AD7705 - CODICE FUNZIONANTE |
bernardinim
Replies: 2
Views: 7091
|
Forum: General CCS C Discussion Posted: Thu Feb 02, 2006 10:34 am Subject: AD7705 - CODICE FUNZIONANTE |
//connection pins to the PIC
#define ADC_DRDY PIN_B0
#define ADC_CS PIN_B5
#define ADC_DI PIN_C5
#define ADC_DO PIN_C4
#define ADC_CLK PIN_C3
//Operation modes
#define ADC_NORMAL ... |
Topic: RTOS and PIC18F2525 |
bernardinim
Replies: 4
Views: 6883
|
Forum: General CCS C Discussion Posted: Thu Dec 15, 2005 2:34 am Subject: RTOS |
The task not start... I tried different fuse configurations without success...
The strange thing is that the code work on PIC18F452 and not on PIC18F2525... I not know why... I think that rtos needs ... |
Topic: RTOS and PIC18F2525 |
bernardinim
Replies: 4
Views: 6883
|
Forum: General CCS C Discussion Posted: Wed Dec 14, 2005 2:34 am Subject: RTOS and PIC18F2525 |
my rtos code not work.....
what is wrong in my code??
(I use a 32Mhz external clock)
#include <18F2525.h>
#device adc=8
#FUSES NOWDT //No Watch Dog Timer
#FUSES WDT1 ... |
Topic: RTOS and PIC18F2525 |
bernardinim
Replies: 4
Views: 6883
|
Forum: General CCS C Discussion Posted: Tue Dec 13, 2005 7:47 am Subject: RTOS and PIC18F2525 |
Why the example code of ccs about rtos (for pic18f452) not work on pic18f2525. What's are the differences? |
Topic: RTOS and clock ... |
bernardinim
Replies: 3
Views: 5470
|
Forum: General CCS C Discussion Posted: Fri Dec 09, 2005 9:19 am Subject: RTOS and clock |
I tried to use timer0 in 16bit mode, with no prescaler ... but nothing
why the trick is to use Timer1 ? |
Topic: RTOS and clock ... |
bernardinim
Replies: 3
Views: 5470
|
Forum: General CCS C Discussion Posted: Wed Dec 07, 2005 4:46 am Subject: RTOS and clock ... |
I have a question: there is a minimum clock rate to use a rtos built in functions?
I'am using a PIC18F2525 and an external clock of 8MHz in EC mode, because i need the FOSC/4 for an external A/D co ... |
|