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 15 matches
CCS Forum Index
Author Message
  Topic: PIC to PC data send problem, via Bluetooth module
iceman999

Replies: 32
Views: 32783

PostForum: General CCS C Discussion   Posted: Sat Jan 05, 2013 3:38 am   Subject: PIC to PC data send problem, via Bluetooth module
Ok, i get it, but for now i'm just happy that something works. I find out that i'm not allowed to change bootloader code, because then programing part won't work. For now i will stick to this "ba ...
  Topic: PIC to PC data send problem, via Bluetooth module
iceman999

Replies: 32
Views: 32783

PostForum: General CCS C Discussion   Posted: Fri Jan 04, 2013 4:43 pm   Subject: PIC to PC data send problem, via Bluetooth module
Hello guys.

Weirdest thing happened. When i did't know what to do anymore, i just tried to change some parameters, such as

#use delay(clock=20000000)

to

#use delay(clock=4800 ...
  Topic: PIC to PC data send problem, via Bluetooth module
iceman999

Replies: 32
Views: 32783

PostForum: General CCS C Discussion   Posted: Sun Dec 16, 2012 2:04 pm   Subject: PIC to PC data send problem, via Bluetooth module
Thank you. I will get HEX file and i will post it.
  Topic: PIC to PC data send problem, via Bluetooth module
iceman999

Replies: 32
Views: 32783

PostForum: General CCS C Discussion   Posted: Sun Dec 16, 2012 1:03 pm   Subject: PIC to PC data send problem, via Bluetooth module
I got this programmer at the university, it is very simple, but you can't program PIC without code for bootloader. If i try to delete bootloader code, i can't program this PIC anymore. I have to take ...
  Topic: PIC to PC data send problem, via Bluetooth module
iceman999

Replies: 32
Views: 32783

PostForum: General CCS C Discussion   Posted: Sat Dec 15, 2012 8:48 am   Subject: PIC to PC data send problem, via Bluetooth module
I'm using bootloader just to run my usb programmer, and the only code for it is this:

bootloader

#define _bootload
#ifdef _bootload
#define LOADER_END 0x7FF
#define LOADER_SIZE 0x6FF
#b ...
  Topic: PIC to PC data send problem, via Bluetooth module
iceman999

Replies: 32
Views: 32783

PostForum: General CCS C Discussion   Posted: Sat Dec 15, 2012 3:51 am   Subject: PIC to PC data send problem, via Bluetooth module
Yes i have.
  Topic: PIC to PC data send problem, via Bluetooth module
iceman999

Replies: 32
Views: 32783

PostForum: General CCS C Discussion   Posted: Fri Dec 14, 2012 9:34 am   Subject: PIC to PC data send problem, via Bluetooth module
I tried compilers 4.105 and 4.093, but then nothing works. I can't get it start...
  Topic: PIC to PC data send problem, via Bluetooth module
iceman999

Replies: 32
Views: 32783

PostForum: General CCS C Discussion   Posted: Thu Dec 13, 2012 3:59 pm   Subject: PIC to PC data send problem, via Bluetooth module
Compiler is 4.083, i just copied your posted code, so nothing is changed, only setup_spi is now in main.c.

This is main.c after adding setup_spi and LED flashing...
#include "C:\Users\J ...
  Topic: PIC to PC data send problem, via Bluetooth module
iceman999

Replies: 32
Views: 32783

PostForum: General CCS C Discussion   Posted: Thu Dec 13, 2012 1:20 pm   Subject: PIC to PC data send problem, via Bluetooth module
You are right, i thought that PIC is working at right speed, but this speed was approximately right for my eye, but not for controller or PC.

But now the question is, why now LED flashes so fast, ...
  Topic: PIC to PC data send problem, via Bluetooth module
iceman999

Replies: 32
Views: 32783

PostForum: General CCS C Discussion   Posted: Thu Dec 13, 2012 12:54 pm   Subject: PIC to PC data send problem, via Bluetooth module
First, thanks for corrections. Now i know what is important, but hyperterminal still gets wrong data... I'm turning LED on and off every 500ms, but it is blinking very fast, so half a second is like 1 ...
  Topic: PIC to PC data send problem, via Bluetooth module
iceman999

Replies: 32
Views: 32783

PostForum: General CCS C Discussion   Posted: Thu Dec 13, 2012 10:42 am   Subject: PIC to PC data send problem, via Bluetooth module
My crystal is 20MHz...
  Topic: PIC to PC data send problem, via Bluetooth module
iceman999

Replies: 32
Views: 32783

PostForum: General CCS C Discussion   Posted: Thu Dec 13, 2012 10:20 am   Subject: PIC to PC data send problem, via Bluetooth module
So i have to use another fuses? That is funny because PIC wizard generated them automatically.

Thanks.
  Topic: PIC to PC data send problem, via Bluetooth module
iceman999

Replies: 32
Views: 32783

PostForum: General CCS C Discussion   Posted: Thu Dec 13, 2012 10:06 am   Subject: PIC to PC data send problem, via Bluetooth module
Hello,
thanks for reply.

1) I need bootloader code for my USB programmer. PIC wizard generated setup codes, so i left them. I will try without them.

2) PIC is operating correctly, i have LED o ...
  Topic: PIC to PC data send problem, via Bluetooth module
iceman999

Replies: 32
Views: 32783

PostForum: General CCS C Discussion   Posted: Thu Dec 13, 2012 9:24 am   Subject: PIC to PC data send problem, via Bluetooth module
Thanks for reply.

1) So i need special chip or is there alternative, like zener or transistor shifting?
2) TTL is acceptable for this bluetooth module.
3) First i will try to level this right, ...
  Topic: PIC to PC data send problem, via Bluetooth module
iceman999

Replies: 32
Views: 32783

PostForum: General CCS C Discussion   Posted: Thu Dec 13, 2012 8:25 am   Subject: PIC to PC data send problem, via Bluetooth module
Hello,
I'm having a problem about my project, that i can't solve it... I'm using PIC 18F2550, compiler 4.083 and bluetooth module RF-BT0417C.

I'm trying to send data via hardware UART, but i get ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group