Author |
Message |
Topic: Eeprom problems |
Eeprom_programmer
Replies: 0
Views: 3153
|
Forum: General CCS C Discussion Posted: Tue Oct 02, 2007 3:23 am Subject: Eeprom problems |
Hey,
I really need help, i have been struggeling with programming a eeprom to function as follow. It must only log data when the motion sensor is high. And it must read the data when there is 10 va ... |
Topic: CRC tables |
Eeprom_programmer
Replies: 5
Views: 5344
|
Forum: General CCS C Discussion Posted: Fri Aug 24, 2007 9:44 am Subject: CRC tables |
thanks alot it fixed the problem |
Topic: CRC tables |
Eeprom_programmer
Replies: 5
Views: 5344
|
Forum: General CCS C Discussion Posted: Fri Aug 24, 2007 2:56 am Subject: CRC tables |
I am not using a modbus driver, I wrote my own modbus code.
Compiler version is v4.033. I am declaring it as a static unsigned char, is there a possiblity that is can save it in the program memory?
... |
Topic: CRC tables |
Eeprom_programmer
Replies: 5
Views: 5344
|
Forum: General CCS C Discussion Posted: Thu Aug 23, 2007 2:29 pm Subject: CRC tables |
Need help!
I am currently busy implementing MODBUS, but when I include my CRC tables I get a error - not enough ram available.
I am using the pic16f883 |
Topic: Transmitting eeprom values |
Eeprom_programmer
Replies: 0
Views: 2283
|
Forum: General CCS C Discussion Posted: Tue Aug 21, 2007 3:39 am Subject: Transmitting eeprom values |
I have 2 programs fully functioning.
One saves eeprom values and reads them.And one transmits bytes.
Now i have to join this two programs to transmit the eeprom values any ideas how will be grea ... |
Topic: errors |
Eeprom_programmer
Replies: 1
Views: 3080
|
Forum: General CCS C Discussion Posted: Mon Aug 20, 2007 7:33 am Subject: errors |
Currently i get two 3 errors that i don't understand
*** Error 12 "C:\Documents and Settings\Administrator\Desktop\Seriale komms\main_example.c" Line 241(4,8): Undefined identifier put ... |
Topic: #int_tbe |
Eeprom_programmer
Replies: 11
Views: 12897
|
Forum: General CCS C Discussion Posted: Mon Aug 20, 2007 7:05 am Subject: #int_tbe |
Again - you were correct, the moment i changed the value 0xff the program worked. The version i use now is v4.033 |
Topic: #int_tbe |
Eeprom_programmer
Replies: 11
Views: 12897
|
Forum: General CCS C Discussion Posted: Thu Aug 16, 2007 1:54 pm Subject: #int_tbe |
I also just want to add that the #INT_RDA interrupt works very good, but it doesn't transmit anything. |
Topic: #int_tbe |
Eeprom_programmer
Replies: 11
Views: 12897
|
Forum: General CCS C Discussion Posted: Thu Aug 16, 2007 1:52 pm Subject: #int_tbe |
I use version4.0227 i test it using hyperterminal and connecting it to my board. Is it possible that this routine cant work for the pic16f883?
Al it seems to do is, go into the INT_RDA interrupt a ... |
Topic: #int_tbe |
Eeprom_programmer
Replies: 11
Views: 12897
|
Forum: General CCS C Discussion Posted: Thu Aug 16, 2007 7:16 am Subject: #int_tbe |
Thx for the detailed explanation, but I tested it the moment i got your reply...And unfortuanetly it didn't work. I still get the same behavior. |
Topic: #int_tbe |
Eeprom_programmer
Replies: 11
Views: 12897
|
Forum: General CCS C Discussion Posted: Thu Aug 16, 2007 6:42 am Subject: #int_tbe |
Thank you for spotting that error, but i am afraid that isn't the problem.....
any futher ideas...? |
Topic: #int_tbe |
Eeprom_programmer
Replies: 11
Views: 12897
|
Forum: General CCS C Discussion Posted: Thu Aug 16, 2007 5:22 am Subject: #int_tbe |
can anybody please tell me why this doesn't want to work
i just want to transmit the message.
#include <16F883.h>
#fuses HS,NOWDT,NOPROTECT,NOLVP
#use delay(clock=4000000)
#u ... |
Topic: #int_tbe |
Eeprom_programmer
Replies: 1
Views: 4921
|
Forum: General CCS C Discussion Posted: Wed Aug 15, 2007 11:00 am Subject: #int_tbe |
I need to transmit a byte a time by using the interrupt #int_tbe can anyone help me with that?
Will appreciate the help. |
Topic: RS232 communication |
Eeprom_programmer
Replies: 1
Views: 3652
|
Forum: General CCS C Discussion Posted: Mon Aug 13, 2007 7:37 am Subject: RS232 communication |
Hey,
Currently i am using a program on VB to turn on/0ff pins on a microcontroller.
Does anyone have an idee how to write this code in CCS?
Main:
' Use the programming port to rec ... |
Topic: How to file in a Eeprom |
Eeprom_programmer
Replies: 21
Views: 25763
|
Forum: General CCS C Discussion Posted: Fri Aug 10, 2007 6:12 am Subject: How to file in a Eeprom |
The values was consistent and i received 255, but there was something the matter with my write routine. After fixing it the correct values was returned.
Thanks again for the valuable info! |
|