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 12 matches
CCS Forum Index
Author Message
  Topic: Strange results when writing to EEPROM
Gelio

Replies: 11
Views: 19462

PostForum: General CCS C Discussion   Posted: Wed Aug 24, 2016 6:16 pm   Subject: Strange results when writing to EEPROM
At 2455 seems all ok...

Please, help to choose Baud rate for UART:
CONFIG1 Fuse is 0x8E22
Crystal is 20 000 000
How to calc correct Baud rate for #use232 string?
Thank you.
  Topic: Strange results when writing to EEPROM
Gelio

Replies: 11
Views: 19462

PostForum: General CCS C Discussion   Posted: Wed Aug 24, 2016 1:40 pm   Subject: Strange results when writing to EEPROM
I tried to change the PIC unit to PIC18F2455 and set 4Mhz crystal.
Then implement similar code. All working ok.
So maybe my 4550 is somehow broken or has been burned a little.
Original crystal is 2 ...
  Topic: Strange results when writing to EEPROM
Gelio

Replies: 11
Views: 19462

PostForum: General CCS C Discussion   Posted: Wed Aug 24, 2016 12:31 am   Subject: Strange results when writing to EEPROM
Thank you friends,
i tried the Ttelmah code fixed.
Compiled and burned.
it works first time.
Then extended array to 256 bytes and had zeros instead of normal data.
Now trying to reduce size to fi ...
  Topic: Strange results when writing to EEPROM
Gelio

Replies: 11
Views: 19462

PostForum: General CCS C Discussion   Posted: Tue Aug 23, 2016 8:05 am   Subject: Strange results when writing to EEPROM
Hi all,
Trying to write to internal EEPROM of PIC18F4550.
Pickit2 correctly verifies and programs the chip.
After normal run I'm trying to save some bytes into 256-byte internal eeprom. And as a re ...
  Topic: monitoring UART problem
Gelio

Replies: 7
Views: 10420

PostForum: General CCS C Discussion   Posted: Wed Sep 03, 2014 2:48 am   Subject: monitoring UART problem
Ok, thanks, i will try today.
P.S. one thing.
I'm programming the BLOCK 0x000-0x7FF only after bulk erase.
other memory unchanged while programming.
think maybe when I'm connecting with UART moni ...
  Topic: monitoring UART problem
Gelio

Replies: 7
Views: 10420

PostForum: General CCS C Discussion   Posted: Wed Sep 03, 2014 12:48 am   Subject: monitoring UART problem

#include <18F2455.h>
#use delay(clock=20M) // frequence 20 Mhz
#use rs232(uart1,baud=38400, bits=8, arity=N,xmit=pin_c6,rcv=pin_c7)
#fuses 1=0x8E24
#fuses 2=0x1E37
#fus ...
  Topic: monitoring UART problem
Gelio

Replies: 7
Views: 10420

PostForum: General CCS C Discussion   Posted: Tue Sep 02, 2014 11:09 pm   Subject: monitoring UART problem
Sorry. my mistyping.
of course printf("DeviceFW Revision: %02X %02X\r\n",SN1,SN2);

Always return 00 00
if CP1 set to 1 then it working fine.
But in release mode when CP1=1 then it prin ...
  Topic: monitoring UART problem
Gelio

Replies: 7
Views: 10420

PostForum: General CCS C Discussion   Posted: Tue Sep 02, 2014 4:33 pm   Subject: monitoring UART problem
Hi all,
programmed my PIC18F2455 with bootloader and flash.
in debug mode all working fine.
in normal mode i cannot see some debugging messages from PIC.

calling the

read_program_eeprom( ...
  Topic: Program bootloader without erasing the EEPROM
Gelio

Replies: 2
Views: 6024

PostForum: General CCS C Discussion   Posted: Sat Aug 30, 2014 2:48 pm   Subject: Program bootloader without erasing the EEPROM
Hi all, encountered the situation where the program bootloader block in PIC18F2455 cannot be performed without erasing the eeprom.

I made sequence of commands as described in specification 39622l. ...
  Topic: Baudrate of PIC 12Mhz question
Gelio

Replies: 6
Views: 9990

PostForum: General CCS C Discussion   Posted: Tue Aug 26, 2014 1:20 am   Subject: Baudrate of PIC 12Mhz question
Thanks for your replies, i did such thing.
i changed Crystal to common used 20Mhz.

then i made small piece of code inside CCS like

#use DELAY (crystal=20000000)
#use rs232(baud=115200, ...
  Topic: Baudrate of PIC 12Mhz question
Gelio

Replies: 6
Views: 9990

PostForum: General CCS C Discussion   Posted: Mon Aug 25, 2014 1:00 pm   Subject: Baudrate of PIC 12Mhz question
Ok,understand. Thanks for pointing me.
Are there some example for PIC with CCS C?
i need to use UART communication with PIC18F4550.
Please, can you post some example of using it on any PIC device u ...
  Topic: Baudrate of PIC 12Mhz question
Gelio

Replies: 6
Views: 9990

PostForum: General CCS C Discussion   Posted: Mon Aug 25, 2014 7:14 am   Subject: Baudrate of PIC 12Mhz question
Hello!
please, help me to choose right baudrate settings.
My target based on PIC18F4550 with external 12Mhz crystal.
configuration settings are:
http://i59.tinypic.com/2v00hg0.jpg

I'm trying to ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group