Author |
Message |
Topic: sending large data over tcpip |
dpechman
Replies: 5
Views: 13408
|
Forum: General CCS C Discussion Posted: Tue Jan 17, 2017 11:14 am Subject: sending large data over tcpip |
I am parsing some tcp data using a tcpget loop and it works fine with small amount of data.
now I have to parse a 6Kb file and its stucking the tcp for some reason.
As my target data is fix in ... |
Topic: Multiple I2C channels |
dpechman
Replies: 12
Views: 35371
|
Forum: General CCS C Discussion Posted: Wed Oct 05, 2016 12:06 pm Subject: Multiple I2C channels |
Yeah, it was My first impression but after check it all i dont found yet the mistake. If i put i2c_start right after #use i2c it is compiling ok. If i put in main or inside a function it dont. |
Topic: Multiple I2C channels |
dpechman
Replies: 12
Views: 35371
|
Forum: General CCS C Discussion Posted: Tue Oct 04, 2016 7:02 pm Subject: Multiple I2C channels |
Tks, I will! |
Topic: Multiple I2C channels |
dpechman
Replies: 12
Views: 35371
|
Forum: General CCS C Discussion Posted: Tue Oct 04, 2016 6:36 pm Subject: Multiple I2C channels |
tks for reply, I'm using 18F67J60
AND its compiling with the simple test program:
#include <18F67J60.h>
#fuses NOWDT, NODEBUG, HS, NOIESO, NOFCMEN, PRIMARY, ETHLED
#use delay(clock ... |
Topic: Multiple I2C channels |
dpechman
Replies: 12
Views: 35371
|
Forum: General CCS C Discussion Posted: Tue Oct 04, 2016 4:33 pm Subject: Multiple I2C channels |
I'm trying to use streams for 2 i2c channels using the exact same example you give here but its not compiling.
i2c_start (oled);
says *** Error Undefined identifier oled
but it was p ... |
Topic: Multitasking a EEPROM write using the eeprom interrupt? |
dpechman
Replies: 10
Views: 26136
|
Forum: General CCS C Discussion Posted: Wed Sep 16, 2015 4:05 pm Subject: Multitasking a EEPROM write using the eeprom interrupt? |
tks, the code is working, i was reading the wrong address... |
Topic: Multitasking a EEPROM write using the eeprom interrupt? |
dpechman
Replies: 10
Views: 26136
|
Forum: General CCS C Discussion Posted: Wed Sep 16, 2015 11:57 am Subject: Multitasking a EEPROM write using the eeprom interrupt? |
those tips works great with pic 16, but i am having problems to make it work with pic 18f26k22 and address 1024 bytes
i have changed the address to int16 and splited it to EEADR and EEADRH
here ... |
Topic: Driver RTC MCP79411 |
dpechman
Replies: 0
Views: 22923
|
Forum: Code Library Posted: Thu Jul 02, 2015 8:11 am Subject: Driver RTC MCP79411 |
////////////////////////////////////////////////////////////////////////////////
/// MCP79411.h
/// Driver for ... |
Topic: HTTP GET using TCP Client |
dpechman
Replies: 5
Views: 11285
|
Forum: General CCS C Discussion Posted: Fri Jul 13, 2012 5:00 pm Subject: HTTP GET using TCP Client |
yeah, this is a pretty good way to keep pic connected to internet. I am also using this approach in my last designs.
In the php side you can do a long polling to keep connection always up with min ... |
Topic: HTTP GET using TCP Client |
dpechman
Replies: 5
Views: 11285
|
Forum: General CCS C Discussion Posted: Fri Jul 13, 2012 12:06 pm Subject: HTTP GET using TCP Client |
Hi,
I did it work sometime ago using the same sample and include dns client.
First look seems you forget to include "<CR><LF>" at the end of get sentence HTTP/1.1<CR> ... |
Topic: How to get packet identification and sequence? |
dpechman
Replies: 2
Views: 4562
|
Forum: General CCS C Discussion Posted: Sat Mar 24, 2012 3:11 pm Subject: How to get packet identification and sequence? |
YEAH, thanks!
Is working now, just change to format because vars are long int
printf(Lcd_Caracter, "Seq=%Lu Id=%Lu ", ICMPSeq, ICMPId);
|
Topic: How to get packet identification and sequence? |
dpechman
Replies: 2
Views: 4562
|
Forum: General CCS C Discussion Posted: Sat Mar 24, 2012 2:42 pm Subject: How to get packet identification and sequence? |
I have tried to show on display the packet id and sequence but it always show the same number 99 and 97.
Am I doing right?
if ( dataCount <= (MAX_ICMP_DATA_LEN+8) ) ... |
Topic: Web service calling from 18f67j60 microcontroller to Server |
dpechman
Replies: 2
Views: 5439
|
Forum: General CCS C Discussion Posted: Fri Mar 23, 2012 7:22 am Subject: Web service calling from 18f67j60 microcontroller to Server |
Basically you can use http client to put and retrieving data from the webservice.
You can check for lots of samples at microchip TCP/IP stack or with the CCS TCP/IP stack that is a port from micro ... |
Topic: How do I send an ICMP packet? |
dpechman
Replies: 5
Views: 10894
|
Forum: General CCS C Discussion Posted: Thu Mar 22, 2012 7:24 pm Subject: How do I send an ICMP packet? |
My ping stop working after I change another parts of the code and I cannot find the bug.
In icmp.c the MyTxBuffer is equal to INVALID_BUFFER.
If I bypass the avoid check the ping is sent and lo ... |
Topic: UNI/O CCS C protocol code |
dpechman
Replies: 12
Views: 17223
|
Forum: General CCS C Discussion Posted: Fri Feb 24, 2012 8:54 pm Subject: UNI/O CCS C protocol code |
I agree 100%, and say that the hardest part is what makes much of the quorum of this forum to work with embedded electronics. I also have 20 years involved in the area, but only about 10 with microchi ... |
|