Jump to content

Search the Community

Showing results for tags 'boostC'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • PIC Embedded Programming
    • BoostC and Chameleon compilers programming
    • BoostC porting source code
    • BoostC++ compiler programming
    • BoostBasic compiler programming
    • Assembler programming PIC
    • Novo RTOS Programming
    • Hardware PIC
    • Enhancement Requests
    • Bug Reports

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start





Website URL







Found 8 results

  1. Hi, currently I have a program which uses 2 dimensional arrays to store lists of menu options. These reside in RAM, because Sourceboost wont support 2D rom arrays. (I am using SB 7.30). I now have to expand my menus and dont have the space for them in RAM - so I must re-work the code to place the data in rom. I can get around the 2D array problem with a little work - but in checking on my options in the forum, I see that someone mentioned a "single rom page limit" on rom arrays. Could you explain a little more please? Is this a limit "per "rom array" or on rom arrays, total?
  2. Just purchased the full version of the BoostC compiler. I was promptly email the key. I have run preg.exe to register the license and it reported back that both pic16 and pic18 were successful. When i attempt to run boostc_pic16.exe from the command line i am informed that I am using an unregistered license (see below). ----------------------------------------------------------------------------------------------------------------------------------------------- C:\Program Files (x86)\SourceBoost>boostc_pic16.exe BoostC Optimizing C Compiler Version 7.22 (for PIC16 architecture) http://
  3. Hi, I am having some issues with incorrect results from a signed 32bit multiply, which I am unable to reproduce with a concise project under mplab sim. Looking at the dissasembly, it seems as if the main and interrupt routines are calling the same function, causing corruption of the registers used. interrupt disassembly ! accumulator -= (temp * temp); 0x471: MOVF sendval, W 0x472: MOVWF a 0x473: MOVF 0x68, W 0x474: MOVWF 0x72 0x475: MOVF 0x69, W 0x476: MOVWF 0x73 0x477: MOVF 0x6A, W 0x478: MOVWF 0x74 0x479: MOVF sendval, W 0x47A: MOVWF b 0x47B: MOVF 0x68, W 0x47C: MOVWF 0x76
  4. Hi, I am using boostC with MplabX for PIC18F67K22. I have tried to : 1. Use fixed address like " int x@0x100" . This has worked for me previously in Mplab. Do I need to include any libraries to make this work in MplabX? 2. When I add an interrupt service routine as instructed in the boosC manual " void interrupt ( ) " the compiler shows error on all code lines in the isr. it does not see it as an interrupt. Is there a particular way to declare this in the MplabX environment? 3. Even when I include the "string.h" directive, the string length function "strlen(string)" is not re
  5. Hi guys, how come that if I change the clock rate in the SourceBoost IDE simulator and then run the code with some delay_ms() functions, the "ticks counter" in the bottom of the screen still gives me the same number? For example I've got delay_ms(40) and I still get cca 156k ticks after that no matter how big the clock rate is... could you give me a hint why is that so? Thanks so much, midin
  6. I am trying to send a 16bit data with MSB first over serial comm. How can I get around sending the individual bits 15-0 using the boostC compiler using the sample below e.g. SIN = data.15……SIN = data.0. void play_AUDIO_COMMAND(unsigned short data) { for (unsigned char loop =15; loop>=0; loop--) { SIN = data.loop;// Compiler gives error SCLK = HIGH; delay_us(50); SCLK = LOW; } SCLK = HIGH; } Error message: Main1.CAudio.C(47:17): error: unexpected '.' operator Audio.C(47:12): error: failed to generate expression Audio.C(47:12): error: invalid operand 'data.loop' Audio.C(47
  7. When I call the sleep function in boost C, using mplab IDE, the PIC does not go to sleep.I have tried inline assembly as well and still the PIC does not sleep.I observed the current consumption when the sleep function is called and still no current drop. I also included the "boosts.h" and it still does not work. Has anyone used the sleep routine and it worked? Or is this problem PIC related? Thanks Badejo
  8. Hi All, Thanks for reading this. I have the followign directory structure: \project \build \src In my src directory I got all my source files. In the build directory I got the MPLAB workspace, project etc. When try to build the project I get an error telling me that it can't find the first compilation unit in the src directory, error.c [yes I do get the irony ], I have tried adding the files to the project both by relative path and absolute path, it makes no difference. If I put all the source files and the project/workspace files in one flat directory everything works
  • Create New...