Author |
Message |
Topic: operative clock problem |
antosci
Replies: 16
Views: 32085
|
Forum: General CCS C Discussion Posted: Tue Nov 04, 2014 7:11 am Subject: operative clock problem |
my version is pcwhd 5.025... and with #FUSES CPUDIV1 it all works.
but i don't understand why !
thank's a lot |
Topic: operative clock problem |
antosci
Replies: 16
Views: 32085
|
Forum: General CCS C Discussion Posted: Mon Nov 03, 2014 5:42 pm Subject: operative clock problem |
hi, i'm trying to blink a led... a simply led blinking, cause i attempted to communicate trough rs232 (ftdi232rl chip) to pc. Messages should arrive to pc with one second delay, instead they arrive wi ... |
Topic: MSD (Mass storage device) class using PIC18F47J53 |
antosci
Replies: 11
Views: 11658
|
Forum: General CCS C Discussion Posted: Tue May 06, 2014 4:04 pm Subject: MSD (Mass storage device) class using PIC18F47J53 |
i did load configuration trough serial HID usb and an ad hoc software.
but now i want to load it trough USB MSD...
the last post of Ttelmah gave me to think.
i may use bootloader to load into chip ... |
Topic: MSD (Mass storage device) class using PIC18F47J53 |
antosci
Replies: 11
Views: 11658
|
Forum: General CCS C Discussion Posted: Tue May 06, 2014 3:25 pm Subject: MSD (Mass storage device) class using PIC18F47J53 |
yeah, i agree with this but i don't need a bootloader. i need to load some bytes which are the configuration of the system.
|
Topic: MSD (Mass storage device) class using PIC18F47J53 |
antosci
Replies: 11
Views: 11658
|
Forum: General CCS C Discussion Posted: Tue May 06, 2014 2:59 pm Subject: MSD (Mass storage device) class using PIC18F47J53 |
i mean... if someone did it, this mean it's not impossible. it's just hard to do in CCS. am i going wrong !? |
Topic: MSD (Mass storage device) class using PIC18F47J53 |
antosci
Replies: 11
Views: 11658
|
Forum: General CCS C Discussion Posted: Tue May 06, 2014 7:52 am Subject: MSD (Mass storage device) class using PIC18F47J53 |
oh... bad news
but i've heard about someone who developed an USB MSD bootloader...
i thought there's no differences between MSD bootloader and MSD for file upload... the file is about 100B ... |
Topic: MSD (Mass storage device) class using PIC18F47J53 |
antosci
Replies: 11
Views: 11658
|
Forum: General CCS C Discussion Posted: Tue May 06, 2014 6:07 am Subject: MSD (Mass storage device) class using PIC18F47J53 |
hi all
i would like to use my PIC18F... as a mass storage device.
i've got a PIC18F.. based system with on board 1Mb eeprom 24FC1024
i need to plug it on a PC, through USB, and let the PC look ... |
Topic: I2C slave receives address instead of data |
antosci
Replies: 7
Views: 10400
|
Forum: General CCS C Discussion Posted: Tue Apr 29, 2014 11:07 am Subject: I2C slave receives address instead of data |
thanks a lot for help. i solved...
change 10K pull-up resistor in 3.9K
but it didn't work.
so i thought: maybe slave can receive first byte (which is the address)
and even not the second byte ... |
Topic: I2C slave receives address instead of data |
antosci
Replies: 7
Views: 10400
|
Forum: General CCS C Discussion Posted: Fri Apr 25, 2014 12:04 pm Subject: I2C slave receives address instead of data |
slave example is:
#INT_SSP
void ssp_interupt ()
{
BYTE incoming, state;
state = i2c_isr_state();
if(state <= 0x80) //Master ... |
Topic: I2C slave receives address instead of data |
antosci
Replies: 7
Views: 10400
|
Forum: General CCS C Discussion Posted: Fri Apr 25, 2014 11:05 am Subject: I2C slave receives address instead of data |
do you mean i should write something like this ?
#INT_SSP
void i2c_isr()
{
output_high(LED7);
BYTE state;
state=i2c_isr_state();
if(st ... |
Topic: I2C slave receives address instead of data |
antosci
Replies: 7
Views: 10400
|
Forum: General CCS C Discussion Posted: Fri Apr 25, 2014 8:36 am Subject: I2C slave receives address instead of data |
hi all !
I'm trying to send/read data to/from slave board.
Master is a 18F47J53 based board, slave is a 16F1828 based board.
Slave address is 0xBA and i'm using pins that are shown in the dat ... |
Topic: Write_program_memory(...) on a PIC18F47J53 issues |
antosci
Replies: 2
Views: 6195
|
Forum: General CCS C Discussion Posted: Tue Apr 30, 2013 6:46 pm Subject: Write_program_memory(...) on a PIC18F47J53 issues |
wow, thank's a lot for this.
i've got to write those information just at startup of system, just one time.
I belive i'm gonna use the first and easier way to store data. i didn't know about the &qu ... |
Topic: Write_program_memory(...) on a PIC18F47J53 issues |
antosci
Replies: 2
Views: 6195
|
Forum: General CCS C Discussion Posted: Mon Apr 29, 2013 7:51 am Subject: Write_program_memory(...) on a PIC18F47J53 issues |
Good evening everybody. i'm working on a project with pic 18f47j53 and i need to save data, coming from an input, to program memory.
During the code i already use read_program_memory(...) without p ... |
|