View previous topic :: View next topic |
Author |
Message |
Requan
Joined: 11 May 2008 Posts: 74
|
|
Posted: Mon Mar 31, 2014 5:58 am |
|
|
Requan wrote: | Hi,
I found bug with view data in debug view, so what i did to show it:
I loaded example data to array:
char Table[11];
memset(Table, '\0', sizeof(Table));
sprintf(Table,"1;2.3:4,5");
In hex view i see all bytes, but in char view i don't see:
";" and "," (i see empty places instead of it)
Additionally, when i use "," i see in char view two empty pleases instead of one.
I reported to CCS, they confirmed and promised to fix it in next release. |
CCS solved problem in v5.023 |
|
|
Jyrki
Joined: 28 Mar 2014 Posts: 5
|
Problem with include file paths (CCS 5.0.20 and MPLAB 8.92) |
Posted: Thu Apr 03, 2014 3:04 am |
|
|
I organized my files like
V1 (contains my MPLAB .mcp project file)
+-- src (contains my .c files)
+-- h (contains my .h files)
In my .c files, I include the headers like
Code: | #include "CC_Host.h" |
When I copy this folder to a new folder (V2), CCS 5.0.20 seems to still use the header files from V1\h instead of the ones from V2\h (renaming V1\h to e.g. V1\h_old helps. Then CCS uses the headers from V2\h).
In MPLAB (v8.92) I specified the "Include Search Path" (Project build options) as "..\h". When invoking the CCS compiler from MPLAB, I get
Code: | Executing: "C:\Program Files (x86)\PICC\Ccsc.exe" +FD "CC_Host.c" out="..\obj\" #__DEBUG=1 +ICD +DF +LN I+="..\h\" +T +A +M -Z +Y=9 +EA #__PIC24HJ256GP610__=TRUE |
Any idea of how to tell CCS to use the correct headers?
Thanks a lot!
Jyrki
Environment:
Win7/64, MPLAB 8.92, CCS 5.0.20, PIC24HJ256GP |
|
|
jeremiah
Joined: 20 Jul 2010 Posts: 1353
|
|
Posted: Thu Apr 03, 2014 8:19 am |
|
|
Did you try manually setting the CCS projects options? MPLAB used to have a way to set those in the IDE directly. |
|
|
Jyrki
Joined: 28 Mar 2014 Posts: 5
|
|
Posted: Thu Apr 03, 2014 8:48 am |
|
|
Do you think about editing the command line from MPLAB to CCS compiler?
Code: | Executing: "C:\Program Files (x86)\PICC\Ccsc.exe" +FD "CC_Host.c" out="..\obj\" #__DEBUG=1 +ICD +DF +LN I+="..\h\" +T +A +M -Z +Y=9 +EA #__PIC24HJ256GP610__=TRUE |
It already contains the part which is the include search path. Problem is, why the CCS compiler doesn't use it?
I also checked the Windows PATH environment variable, but there are no relevant paths in it (meaning neither "V1" nor "V2).
Thanks
Jyrki |
|
|
jeremiah
Joined: 20 Jul 2010 Posts: 1353
|
|
Posted: Thu Apr 03, 2014 11:37 am |
|
|
That's why I suggested the actual project settings rather than the command line. Project settings happen after the command line, so they might work if the command line doesn't. |
|
|
Jyrki
Joined: 28 Mar 2014 Posts: 5
|
|
Posted: Fri Apr 04, 2014 6:40 am |
|
|
Ok, it works when I create a CCS project file (im my case CC_Host.ccspjt) in the \src directory and adjust the include search path to my new revision path.
I would suggest anyhow, that CCS staff has a short look at this topic. Executing a compiler via command line shouldn't be intefered by a CCS project file that I don't use and see (because my project is an MPLAB project).
Thanks for the fast help!
Jyrki |
|
|
jeremiah
Joined: 20 Jul 2010 Posts: 1353
|
|
Posted: Fri Apr 04, 2014 8:53 am |
|
|
You'll need to alert CCS staff via email or phone. This is only a user forum, so they may not even see it mentioned here. |
|
|
Teriyaki
Joined: 07 Sep 2006 Posts: 7 Location: Munich, Germany
|
IDE crashing when trying to use PROJECT NOTES |
Posted: Mon Sep 08, 2014 2:52 am |
|
|
Hi all,
I am using Windows 7 64bit and PCW compiler version 5.025. When I am trying to click on in the IDE VIEW tab the PROJECT NOTES then the following error message will appear:
"Access violation at address 009A7D4A in module 'Pcw. exe'. Read of address 000002B4".
After clicking OK, PROJECT NOTES is still not working and the IDE will be crashing when clicking on f.e. CONFIG BITS or IDE EXPLORER (others I did not check):
When clicking on one of these another access violation error will be popping up continuously after clicking OK. The IDE can not be closed anymore, the only way to stop it is aborting the program in the Windows task manager.
Does anybody have the same problem? Any ideas what I can do to have PROJECT NOTES working? |
|
|
dyeatman
Joined: 06 Sep 2003 Posts: 1934 Location: Norman, OK
|
|
Posted: Mon Sep 08, 2014 7:53 am |
|
|
CCS does not monitor this forum on a regular basis.
Please do not post bug Reports on this forum. Send them to [email protected] _________________ Google and Forum Search are some of your best tools!!!! |
|
|
Linuxbuilders
Joined: 20 Mar 2010 Posts: 193 Location: Auckland NZ
|
|
Posted: Fri Jul 31, 2015 10:32 pm |
|
|
Hi,
I have found a bit changes in clock settings on 18F4620, it works differently than on 4.x. Otherwise all seem to be spot on. I wish multi screen would be improved. I use this for "hell" programing like 17K lines, etc and so far I am very happy. _________________ Help "d" others and then you shell receive some help from "d" others. |
|
|
|