
Pavel
Administrators-
Content Count
1,471 -
Joined
-
Last visited
Everything posted by Pavel
-
Piklab Can't Start Preprocessor
Pavel replied to drumanart's topic in BoostC and Chameleon compilers programming
Compiler looks for the preprocessor pp.exe in the same directory where compiler is located. Use compiler with -v command line argument and it will print out the preprocessor command including full path where it expects it to be. This might help you debug the problem. Regards, Pavel -
V7 Extra Simulator Plugins: Variable Psu Plugin Not Working
Pavel replied to kenn's topic in Bug Reports
I could not reproduce this problem. Not sure what can cause it. Check if there is a mismatch between IDE and plugin versions. Another thing to try is to remove the Variable PSU dll from SourceBoost installation directory and check if the new last plugin in the menu still works. Than put the Variable PSU dll back, start IDE and check if the problem is still there. Regards, Pavel -
Looks like MPLAB doesn't set the current directory to the location of this file. Don't know the reason. I'd check the project settings and also check the MPLAB integration description from users manual. Another option to install 7.05 and try your project with MPLAB X. Regards, Pavel
-
Using Sourceboost Simulator For Other Ides?
Pavel replied to kenn's topic in BoostC porting source code
Not yet. We haven't thought about this but it sounds like a very good feature (and what's important too relatively easy to implement). We'll try to put it into the next release. Regards, Pavel -
Mplab 8.80.00 + Boostc 7.04 Paths Issue
Pavel replied to sakis.panou@qlogica.com's topic in BoostC porting source code
Use the "Build" command from the IDE. This will generate a makefile in your project directory. This makefile contains full command lines for both compiler and linker. Regards, Pavel -
Assembler Projects No Longer Work In V7.05 (Worked Fine In V7.04)
Pavel replied to trossin's topic in Bug Reports
Please download and unzip file http://www.sourceboost.com/CommonDownload/Fixes/pspawn.zip into your SourceBoost installation directory. This will replace existing pspawn.exe file and the new one should fix the problem. Regards, Pave -
Assembler Projects No Longer Work In V7.05 (Worked Fine In V7.04)
Pavel replied to trossin's topic in Bug Reports
We were able to reproduce the error. Don't yet know what the cause is. Will investigate. Regards, Pavel -
Simulator Supported Targets
Pavel replied to TomF's topic in BoostC and Chameleon compilers programming
Check the first topic in this forum http://forum.sourceboost.com/index.php?showtopic=961 Regards, Pavel -
Don't see any bug yet: Make sure there is WinPic800.exe file inside C:\Program Files\WinPic800 enclose programmer path into double quotes (that's because there are spaces inside the path) Regards, Pavel
-
Syntax For Regular Expressions
Pavel replied to chuckj's topic in BoostC and Chameleon compilers programming
SourceBoost IDE uses Scintilla control as its editor. Below is an extraction from Scintilla documentation that describes regular expression syntax. More info can be found here http://www.scintilla.org/ScintillaDoc.html#Searching . Matches any character \( This marks the start of a region for tagging a match. \) This marks the end of a tagged region. \n Where n is 1 through 9 refers to the first through ninth tagged region when replacing. For example, if the search string was Fred\([1-9]\)XXX and the replace string was Sam\1YYY, when applied to Fred2XXX this would generate Sam2YYY. \< -
Fixed in 7.05 that has been just released. Regards, Pavel
-
You are right, if it happens "at random" it will be difficult to investigate and fix. All these sound like there may be shortage of resources or memory. How much ram does your computer have? How long has the IDE being run before these problems appear? Just had another thought. Our IDE uses a very old release of the third party editor. Try to use later version of this editor. To do this download "full download of Windows executables" from http://www.scintilla.org/SciTEDownload.html and extract file called SciLexer.dll into the SourceBoost installation directory (this will replace the SciLex
-
I could not reproduce the problem. Does this crash happen every time you save all on your computer? Does it happen with one particular project only? What is your OS? Are you logged in as admin or a user? Are files that you try to save from the open project? Any other info that may help? Regards, Pavel
-
Any news on the release for PIC24/32 Sorry not much news here. We work on a new compiler architecture that will make it far easier to port it to new platforms but this work is still far from finish. Regards, Pavel
-
Reassign Port Variable In Function?
Pavel replied to chief's topic in BoostC and Chameleon compilers programming
Another option is to use function templates. This will make code much simplier compared with bitwise approach but internally code for 2 copies of the function will be generated. If you don't care about code space or your function is really small go with function templates: #define OUT_PORT 0 #define IN_PORT 1 template <unsigned char BitPosition> void read(void) { volatile bit sens @ PORTE.BitPosition; if (!sens) fail(1); //sensor not ready ... } //Read inside sensor read<IN_PORT>(); //Read outside sensor read<OUT_PORT>(); -
Reassign Port Variable In Function?
Pavel replied to chief's topic in BoostC and Chameleon compilers programming
I'd use bitwise operations: #define OUT_MASK 1 #define IN_MASK 2 void read(unsigned char mask) { if (!(porte & mask)) fail(1); //sensor not ready ... } //Read inside sensor read( IN_MASK ); //Read outside sensor read( OUT_MASK ); Regards, Pavel -
Novo headers will be included by default because we encourage to use it in all projects (well in almost all projects). There definitely are more technical reasons to use it rather than not. Regards, Pavel
-
Go to Settings->Options->Browser and un-check the Novo option. Regards, Pavel
-
Please try v7.04. We fixed couple of memory issues there so hopefully it will work better. Regards, Pavel
-
Please zip your project directory and email to support@sourceboost.com Regards, Pavel Thank you for sending us the project. The problem appeared to be in the IDE that didn't handle projects that had spaces in them. It's now fixed and fix will be available in the next release. Meanwhile please rename your project so that there are no spaces in its name. Regards, Pavel
-
Please zip your project directory and email to support@sourceboost.com Regards, Pavel
-
Function info is generated by linker (because this information is only known when actual code is generated) so if project can't be linked no function info will be available. Regards, Pavel
-
MplabĀ® X Integrated Development Environment
Pavel replied to e4opening's topic in BoostC and Chameleon compilers programming
Our plans were to wait when MPLAB-X gets out of beta stage. However because of multiple user requests we consider releasing plugin earlier. The current state of the plugin is that it works well with BoostC compiler and previous MPLAB-X release. Before we release the plugin we need to check if any changes required because of the new MPLAB-X. Will try to finalise this within next couple of weeks. Regards, Pavel -
Yes we'll try to fix this by the next release. Regards, Pavel
-
The Count number shouldn't be edited by hand. IDE takes care of it when new files are added to a project or removed from it. Make sure you close workspace (or exit IDE) to see the Count value changing. If it does not change please zip the project directory and email it along with a full path to this project location to support@sourceboost.com. We'll check if we can reproduce and fix the problem. Regards, Pavel