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 17 matches
CCS Forum Index
Author Message
  Topic: ICD-U64 with 18F97J94 debug and diag verify fails
peterpanic

Replies: 2
Views: 40697

PostForum: CCS ICD / Mach X / Load-n-Go   Posted: Thu Nov 05, 2015 4:43 pm   Subject: ICD-U64 with 18F97J94 debug and diag verify fails
Thanks - that is a good list of easy-to-make mistakes.

This is not quite "won't work" but seems to be "user code runs fine, but debug fails", and that appears to be because the ...
  Topic: ICD-U64 with 18F97J94 debug and diag verify fails
peterpanic

Replies: 2
Views: 40697

PostForum: CCS ICD / Mach X / Load-n-Go   Posted: Thu Nov 05, 2015 6:00 am   Subject: ICD-U64 with 18F97J94 debug and diag verify fails
Trying to bring up a new 18F97J94 project. Wrote trivial code and tried to run it under debug. I get a box pop up called "Verification Results" which tells me that addresses 200040 to 20027C ...
  Topic: IDE: files saved in folder of previous project
peterpanic

Replies: 0
Views: 3635

PostForum: General CCS C Discussion   Posted: Sun Mar 17, 2013 2:31 pm   Subject: IDE: files saved in folder of previous project
Two unrelated projects A and B in different folders
Work on project A, edit, compile, all as normal.
Close project A and open project B. Edit one of the tabbed files and save it.
Where does it get ...
  Topic: TCP window size error (18F97J60 and CCS TCP stack)
peterpanic

Replies: 8
Views: 12893

PostForum: General CCS C Discussion   Posted: Sat May 12, 2012 12:02 pm   Subject: TCP window size error (18F97J60 and CCS TCP stack)
Stupid question: When have the CCS TCPIP examples provided for download the last time?
According to the download manager, the latest is dated 8mar2012. I think you have to be on maintenance to get up ...
  Topic: TCP window size error (18F97J60 and CCS TCP stack)
peterpanic

Replies: 8
Views: 12893

PostForum: General CCS C Discussion   Posted: Sat May 12, 2012 8:35 am   Subject: TCP window size error (18F97J60 and CCS TCP stack)
Can you give us the date stamp on the working files in your TCP/IP?
tcp.c, dns.c and stacktsk.c are all 2011, the rest are 2010 or older (mac.c and slip.c are 2006 for example)

Here we are (the 20 ...
  Topic: TCP window size error (18F97J60 and CCS TCP stack)
peterpanic

Replies: 8
Views: 12893

PostForum: General CCS C Discussion   Posted: Sat May 12, 2012 2:00 am   Subject: TCP window size error (18F97J60 and CCS TCP stack)
Which TCP library version are you referring to?
The CCS one - C:\Program Files\PICC\TCP-IP\PIC Examples Source\tcpip
  Topic: TCP window size error (18F97J60 and CCS TCP stack)
peterpanic

Replies: 8
Views: 12893

PostForum: General CCS C Discussion   Posted: Fri May 11, 2012 2:50 pm   Subject: TCP window size error (18F97J60 and CCS TCP stack)
Resolved. I copied all the very latest TCP library files and the latest device file, not that any seemed to have any relevant changes (I diff'd the lot of them), and now the window figure is rational.
  Topic: TCP window size error (18F97J60 and CCS TCP stack)
peterpanic

Replies: 8
Views: 12893

PostForum: General CCS C Discussion   Posted: Wed May 09, 2012 10:34 am   Subject: TCP window size error (18F97J60 and CCS TCP stack)
I'm seeing a curious error where the TCP window size seems to be wrongly reported by the PIC to the wire.

The trigger for the problem was user reports that comms just lock up with a Windows 7 host, ...
  Topic: 18F47J13 clock configuration
peterpanic

Replies: 10
Views: 15299

PostForum: General CCS C Discussion   Posted: Thu Mar 22, 2012 6:09 pm   Subject: 18F47J13 clock configuration
I also see there is a Mchip silicon errata item which explains that, even though it's not used, you have to set the INTOSC prescaler selector to 4MHz or 8MHz.
  Topic: 18F47J13 clock configuration
peterpanic

Replies: 10
Views: 15299

PostForum: General CCS C Discussion   Posted: Thu Mar 22, 2012 5:52 pm   Subject: 18F47J13 clock configuration
Now, for me, OSCCON 1:0, is set to 00, and the fuses have FOSC 2:1 set to 10

FOSC should be 01 (so that the 96M prescaler sees internal rather than external). That's what the hex file loads.


...
  Topic: 18F47J13 clock configuration
peterpanic

Replies: 10
Views: 15299

PostForum: General CCS C Discussion   Posted: Thu Mar 22, 2012 7:01 am   Subject: 18F47J13 clock configuration
Then step into the device editor, and look at what CCS setting sets these bits. This is the little window in the top right of device editor, which shows CCS fuse 'names', and what registers/bits are m ...
  Topic: 18F47J13 clock configuration
peterpanic

Replies: 10
Views: 15299

PostForum: General CCS C Discussion   Posted: Thu Mar 22, 2012 2:31 am   Subject: 18F47J13 clock configuration
PLL runs at 96MHz, its output is divided by two to provide the 48MHz (max) processor clock.

p35 of data sheet: "The PIC18F47J13 provides two PLL circuits: a 4x multiplier PLL and a 96 MHz PLL ...
  Topic: 18F47J13 clock configuration
peterpanic

Replies: 10
Views: 15299

PostForum: General CCS C Discussion   Posted: Wed Mar 21, 2012 5:41 pm   Subject: 18F47J13 clock configuration
Looks to me like two compiler bugs; the first is that the compiler doesn't "understand" the 96MHz PLL, and the second is that when using the ICD U-64, the config words get mangled - as well ...
  Topic: 18F47J13 clock configuration
peterpanic

Replies: 10
Views: 15299

PostForum: General CCS C Discussion   Posted: Wed Mar 21, 2012 2:06 pm   Subject: 18F47J13 clock configuration
> try this LED blinking program and see if it works:

works fine, except the actual delay period measures 1500ms, not 500. But at least the compiler doesn't barf. Working on it, and will report. ...
  Topic: 18F47J13 clock configuration
peterpanic

Replies: 10
Views: 15299

PostForum: General CCS C Discussion   Posted: Tue Mar 20, 2012 11:05 am   Subject: 18F47J13 clock configuration
The 47J13 has a very competent (i.e. complex) clock configuration, and I want to use the internal oscillator at 8MHz to drive the 96MHz PLL. It is far from clear what the "magic spells" are. ...
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group