Jump to content

Moonwalker

EstablishedMember
  • Content Count

    37
  • Joined

  • Last visited

Everything posted by Moonwalker

  1. Reading this again integration is for old MPLAB not MPLABX. Managed to install plugin manually following instructions. Thanks.
  2. At the end of installation I get error - Can't locate MPLAB language suite directory. BoostC integration into MPLAB failed.
  3. While building I get error window "c_pic16 has stopped working"
  4. I removed some personal comment lines. Line 18 is the Config1 setting. Turned optimization off but still not working.
  5. 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
  6. 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?
  7. 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?
  8. 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?
  9. I am using a lot of STRCPY and STRCAT but these also use pointers.
  10. void formattime(int time,char* type) Sorry I am passing pointers as above. My mistake.
  11. 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.
  12. 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
  13. I have since changed to Pic16F1825 but am still interested to solve the above problem.
  14. Changing mysms to 85 bytes I get the following How can 5 chars take 24 bytes?
  15. bool idle = false; unsigned char blinkcnt; char pin[4]; unsigned int t1on, t1off, t2on, t2off; char out1num[11], out2num[11]; char c1stat, c2stat; bool repcall = true, repsms = true; char mysms[80]; char mobnum[15]; //"+35699998888" \0 I am building a project with Sim900 and so involving strings which are Ram consuming. I am using PIC16F1824. Now with the variables as shown above it compiles ok with the following results PS - there are other variables with char arrays elsewhere in the prog. So there are 46 bytes free in RAM. But when I change mysms to 90 bytes it does not compile with no RAM available error. bool repcall = true, repsms = true; char mysms[90]; char mobnum[15]; //"+35699998888" \0 Any help please?
  16. Is Source boost good for doing a DSPic project?
  17. Thanks again. Yes a test program would be the next step ofcourse. Will let you know how it goes later this week.
  18. Thanks again but I am still strugling to understand how the display Ram is configured. The X address points to the coloumns - so far ok. But the Y address points to Pages 0- 9. What are these pages? As I am understanding it - Starting from X addr 00, I send 8 bit data for the pixels to light in that column, and keep sending data to fill the whole screen? If so what are the pages used for?
  19. Thanks for your help but I did not understand your last sentence. Does it accept character data or only pixel data? The datasheet is not very clear about this. And where can I find the command set for this LCD as it is not listed in the datasheet either.
  20. Thanks Jorge. I have read the datasheet a couple of times but I still cant figure out how to drive it.I am attaching the datasheet maybe someone can give me more details. I would get a smarter GLCD but I have 20 of the Bolymin in hand and would not like to throw them away. PS - Use this link as the file is bigger than 50k limit -- http://sdrv.ms/H58DEM
  21. I need to do some project with a Graphics display. I have the Bolymin BO9864 which uses I2C in hand. I need some help on what approach to use to run the display. Should I have a routine constantly updating the display or I send data only on changes? And do I have to update the whole screen every time or I can change specific locations? Whats the approach to use for writing text on Graphics LCDs? My device is an 18F45 but microchip library for graphics LCD only works with 24F it seems. Any help please?
  22. Ok found the problem. Its the Kaspersky antivirus that is slowing down boostc. If I stop it, then building takes just few seconds.
  23. Back to this topic. I am attaching a file of another small project I am working on. This is taking 1m25s to build and another 20s to link. I am still using Boost C 7.04 running on Windows 7. PC has a quad core Intel at 2.4Ghz. Are there any settings I can try please? mp3amp2012.c
  24. Its the building that is taking too long. 1min 20sec building and another 15sec linking. I am still using ver 7.04 but it used to be faster before.
×
×
  • Create New...