
Moonwalker
EstablishedMember-
Content Count
37 -
Joined
-
Last visited
Community Reputation
0 NeutralAbout Moonwalker
-
Rank
Regular
- Birthday 07/17/1976
Profile Information
-
Gender
Male
-
Chameleon compile error
Moonwalker replied to Moonwalker's topic in BoostC and Chameleon compilers programming
Source file sent. -
Mplab integration problem
Moonwalker replied to gbgb's topic in BoostC and Chameleon compilers programming
Reading this again integration is for old MPLAB not MPLABX. Managed to install plugin manually following instructions. Thanks. -
Moonwalker started following Mplab Integration And Icd3, Mplab integration problem, Chameleon compile error and and 2 others
-
Mplab integration problem
Moonwalker replied to gbgb's topic in BoostC and Chameleon compilers programming
At the end of installation I get error - Can't locate MPLAB language suite directory. BoostC integration into MPLAB failed. -
Chameleon compile error
Moonwalker replied to Moonwalker's topic in BoostC and Chameleon compilers programming
While building I get error window "c_pic16 has stopped working" -
Chameleon compile error
Moonwalker replied to Moonwalker's topic in BoostC and Chameleon compilers programming
I removed some personal comment lines. Line 18 is the Config1 setting. Turned optimization off but still not working. -
I am trying to compile a project in Chameleon that was working with BoostC. What is this error please? Building... "C:\Program Files (x86)\SourceBoost\c_pic16.exe" GsmRemote.c -16x -t PIC16F1825 -idx 1 -obj Release -d _RELEASE warning: unrecognised command line argument -16x (ignored) GsmRemote.c(18): error: failed to parse input file GsmRemote.c Chameleon(tm) Optimizing C Compiler Version 7.42 Beta 3 http://www.sourceboost.com Copyright(C) 2017 Pavel Baranov Copyright(C) 2017 David Hobday GsmRemote.c Optimisation: optimised out 0 instruction(s) optimised out 0 register(s) 0.832 s: compilation failed (1 error(s), 1 warning(s)) error: failed Done
-
How deos Cameleon compare to XC8 being both free? The free XC8 produces much larger code than BoostC so I am asking if its worth switching to Cameleon. Also would it be possible to use ICD3 or Pickit4 for degugging using Cameleon when integrated in MPLABX?
-
I have a similar problem on PIC12F629. Here is my code volatile bit Green @ GPIO.GP1; volatile bit Out1 @ GPIO.GP5; ..... ...... while (true) { Green = 1; Out1 = 0; if (signalok() == true) { Green = 0; delay_us(200); Green = 1; delay_us(100); } } The Green pin is being put to 0 after the Out1 = 0. If I swap the lines - first Out1 = 0 then Green=1 then ofcourse Green stays 1. I have tried to use a latch but still did not work gplatch = gpio; gplatch.5 = 0; gpio = gplatch; Any clues please?
-
No Remaining Ram Block
Moonwalker replied to Moonwalker's topic in BoostC and Chameleon compilers programming
Never used unions since they dont look pretty to me. What I have is a char array Mysms and I fill it up with text and numbers using strcpy (first time) and strcat (for the rest). For converting numbers to string I am using uitoa_dec. I am using another array for uitoa_dec and then copying it to mysms array. Maybe I can give uitoa_dec the pointer to the last character of mysms directly? Would that work? -
No Remaining Ram Block
Moonwalker replied to Moonwalker's topic in BoostC and Chameleon compilers programming
I am using a lot of STRCPY and STRCAT but these also use pointers. -
No Remaining Ram Block
Moonwalker replied to Moonwalker's topic in BoostC and Chameleon compilers programming
void formattime(int time,char* type) Sorry I am passing pointers as above. My mistake. -
Can someone post a detailed procedure how to integrate Sourceboost in MPlab and how to use ICD3 debugger? I have the Pro license so would like to keep using sourceboost. My programs are getting always more complex and manual debugging is taking too long. Hope ICD3 will do the job.
-
No Remaining Ram Block
Moonwalker replied to Moonwalker's topic in BoostC and Chameleon compilers programming
I am passing strings (char arrays) to functions maybe that is where they are used. With the 16F1825 I have 1024 bytes Ram which solved the problem. Useless to go back to 1824 trying to do magic for a few less cents -
No Remaining Ram Block
Moonwalker replied to Moonwalker's topic in BoostC and Chameleon compilers programming
I have since changed to Pic16F1825 but am still interested to solve the above problem. -
No Remaining Ram Block
Moonwalker replied to Moonwalker's topic in BoostC and Chameleon compilers programming
Changing mysms to 85 bytes I get the following How can 5 chars take 24 bytes?