CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Search found 6 matches
CCS Forum Index
Author Message
  Topic: CIOCON.ENDRHI doesn't work!
walterma

Replies: 13
Views: 12130

PostForum: General CCS C Discussion   Posted: Mon Mar 17, 2008 12:39 pm   Subject: ciocon
I've already checked the assembler code - see my message on Sun 4:50pm. The bit is set!

.................... CIOCON.endrhi=CAN_ENABLE_DRIVE_HIGH;
07C6: BSF F73.5
.................... ...
  Topic: CIOCON.ENDRHI doesn't work!
walterma

Replies: 13
Views: 12130

PostForum: General CCS C Discussion   Posted: Mon Mar 17, 2008 5:58 am   Subject: CIOCON
Yes, the code will show the problem. The CANTX and CANRX aren't connected together.
  Topic: Tiny bootloader how to?
walterma

Replies: 4
Views: 8843

PostForum: General CCS C Discussion   Posted: Sun Mar 16, 2008 4:55 pm   Subject: Tiny bootloader how to?
Thats probably because your program is too big. Check the assembler code: if you have some code at the last 1k of program memory so the bootloader will be overwrite.
  Topic: CIOCON.ENDRHI doesn't work!
walterma

Replies: 13
Views: 12130

PostForum: General CCS C Discussion   Posted: Sun Mar 16, 2008 4:50 pm   Subject: ciocon
The 120 Ohm resistors are installed and Rs is connected with GND. I've the same problem if I connect the PIC with the tranceiver without the optocouplers. If the CAN-interface on the PIC is in listen- ...
  Topic: CIOCON.ENDRHI doesn't work!
walterma

Replies: 13
Views: 12130

PostForum: General CCS C Discussion   Posted: Sun Mar 16, 2008 9:30 am   Subject: CIOCON
excuse me!!!! Here is the main.h

#ifndef MAIN_H
#define MAIN_H

#include "18F2580.h"
#device adc=8

#FUSES NOWDT //No Watch Dog Timer
#FUSES WDT128 ...
  Topic: CIOCON.ENDRHI doesn't work!
walterma

Replies: 13
Views: 12130

PostForum: General CCS C Discussion   Posted: Sun Mar 16, 2008 9:21 am   Subject: CIOCON

#include "main.h"

#include <stdlib.h>
#include <can-18F4580.h>
#include <can-18F4580.c>

void main()
{
setup_adc_ports(NO_ANALOGS|VSS_VDD) ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group