Search found 32 matches

by testerplus
20 Nov 2011 16:38
Forum: mikroC PRO for PIC General
Topic: MikroC Functions Reentancy
Replies: 1
Views: 1581

Re: MikroC Functions Reentancy

There is no possibility to create a premptive OS under mikroC at this time. MikroC does not use auto variables, thus you cannot provide the reentrance (the reentrance is needed not only or OS-functions, but for all other too)
by testerplus
20 Nov 2011 16:02
Forum: mikroC PRO for PIC General
Topic: OSA and USB functions : error Recursion or cross-calling
Replies: 3
Views: 2202

Re: OSA and USB functions : error Recursion or cross-calling

Hello. I'm an autor of OSA. You could write me via e-mail, since I visit this forum rather rare. Please, provide more info: 1. What OSA version? 2. What mikroC version? 3. What chip? 4. Can you attach your project? There were some troubles with library functions in earlier versions of mikroC. Compil...
by testerplus
08 Dec 2010 17:57
Forum: mikroC PRO for PIC General
Topic: RTOS OSA for PIC12, PIC16 and PIC18
Replies: 43
Views: 34139

Re: RTOS OSA for PIC12, PIC16 and PIC18

Hello, ieta_maher!

At first look it seems that you use some older version (one or two ears before). I've just tried to build the project at all workks fine.

OSA version 101122
mikroC PRO versions 3.2 and 4.0
by testerplus
29 Nov 2010 14:36
Forum: mikroC PRO for PIC General
Topic: RTOS OSA for PIC12, PIC16 and PIC18
Replies: 43
Views: 34139

Re: RTOS OSA for PIC12, PIC16 and PIC18

yhm wrote:As I am not familiar with assembly language, please help. Thank you.

Regards
yhm
Are you sure that you have chose the right controller? You try to build example for PIC16, but it seems to me that you build it for PIC18. Check it.
by testerplus
16 Nov 2010 13:07
Forum: mikroC PRO for PIC General
Topic: RTOS OSA for PIC12, PIC16 and PIC18
Replies: 43
Views: 34139

Re: RTOS OSA for PIC12, PIC16 and PIC18

AndyIvan wrote:Hi, Below is the osacfg.h file
Can you attach a project as a whole (in .zip)?
by testerplus
15 Nov 2010 23:16
Forum: mikroC PRO for PIC General
Topic: RTOS OSA for PIC12, PIC16 and PIC18
Replies: 43
Views: 34139

Re: RTOS OSA for PIC12, PIC16 and PIC18

Hello, AndiIvan!
AndyIvan wrote:Can you please suggest something that I could try? I am using MikroeC.
I've just checked: all works fine. Show me the oacfg.h file.
by testerplus
18 Oct 2010 16:39
Forum: mikroC PRO for PIC General
Topic: RTOS OSA for PIC12, PIC16 and PIC18
Replies: 43
Views: 34139

Re: RTOS OSA for PIC12, PIC16 and PIC18

AndyIvan wrote:Can you please point out where I have gone wrong?
You didn't set up the ADC (ANSEL = 0x00). Please, pay attention to manuals and don't ask here the questions not about OSA.
by testerplus
14 Oct 2010 17:05
Forum: mikroC PRO for PIC General
Topic: RTOS OSA for PIC12, PIC16 and PIC18
Replies: 43
Views: 34139

Re: RTOS OSA for PIC12, PIC16 and PIC18

I tried your program on my board. It's works perfectly. Try to compile this code: mikroC PRO 4.1, PIC16F887 OSA_cfg.h /******************************************************************************/ // // This file was generated by OSAcfg_Tool utility. // Do not modify it to prevent data loss on nex...
by testerplus
11 Oct 2010 14:56
Forum: mikroC PRO for PIC General
Topic: RTOS OSA for PIC12, PIC16 and PIC18
Replies: 43
Views: 34139

Re: RTOS OSA for PIC12, PIC16 and PIC18

Hi, Andrew! Here is your mistake: //------------------------------------------------------------------------------ // Interrupts setup //------------------------------------------------------------------------------ PIR1 = 0; PIR2 = 0; INTCON = 0; INTCON.TMR2IE = 1; INTCON.PEIE = 1; } TMR2IE is the ...
by testerplus
06 Oct 2010 09:27
Forum: mikroBasic PRO for dsPIC30/33 and PIC24 Wish List
Topic: RTOS
Replies: 18
Views: 15283

Re: RTOS

Hello testerplus, I would also be very interested by a RTOS for MikroC Pro for dsPIC. Maybe you can start a new topic in the MikroC section and tell us if you still consider this can be possible. Hi, Toley! At this time I try to workaround some calling conventions to prevent temporary data loss on ...
by testerplus
01 Oct 2010 09:18
Forum: mikroBasic PRO for dsPIC30/33 and PIC24 Wish List
Topic: RTOS
Replies: 18
Views: 15283

Re: RTOS

I know that is OSA port for mplab(c30), but reason to speak here is to use OSA port with mikro compilers c, pascal, basic ..... OSA can't be ported to pascal or basic beacause of some language features. It can be nice to port tnkernel to mikroC, but (my humble opinion) that you have to put a lot of...
by testerplus
30 Sep 2010 07:14
Forum: mikroBasic PRO for dsPIC30/33 and PIC24 Wish List
Topic: RTOS
Replies: 18
Views: 15283

Re: RTOS

pandra wrote:I have used OSA for PIC18 and MikroC, but there is no OSA for pic24xxxxx.
Hello, pandra.
I am an autor of OSA. I have in plans to port OSA for PIC24 for mikroC PRO compiler in the next month.
by testerplus
30 Sep 2010 07:10
Forum: mikroC PRO for PIC Wish List
Topic: mikroC PRO installer
Replies: 1
Views: 1656

mikroC PRO installer

Hello!

It will be nice if new version's installer will keep all settings of previous version. For example, after every upgrading of mikroC PRO I loose all paths in menu "Project/Recent projects". Is there a possibility to move these settings to the new installed version?

Thank you.
by testerplus
06 Apr 2010 12:13
Forum: mikroC PRO for PIC General
Topic: RTOS OSA for PIC12, PIC16 and PIC18
Replies: 43
Views: 34139

Re: RTOS OSA for PIC12, PIC16 and PIC18

firdauskhalid wrote:im trying to run ur osa..im using mikroC PRO for PIC but i got error..can sum1 help me...im new to RTOS
Can you describe your problem more detailed?
1. What OSA version?
2. What mikroC PRO version?
3. What PIC do you use?
4. What kind of errors did you get?
by testerplus
18 Nov 2009 14:19
Forum: mikroC PRO for PIC General
Topic: Problem in while
Replies: 9
Views: 3872

I am not rigth, sorry. There is no bug, compiler makes all correctly. Dany and Bytex are right.

Go to advanced search