Search found 37 matches

by Gerrit
16 Mar 2012 15:17
Forum: Development Boards
Topic: :sad: Big8051 with mikro(cpb) and silabs usb debugger
Replies: 10
Views: 2835

Re: :sad: Big8051 with mikro(cpb) and silabs usb debugger

anikolic wrote: Thing is that our mikroC, mikroBasic and mikroPascal for 8051 do not support any hardware debugger at this point. Only software simulator. In that light, I think that original sentence is enough.
With that scope in mind, your first suggested sentence is okay.

Best regards.
by Gerrit
16 Mar 2012 12:43
Forum: Development Boards
Topic: :sad: Big8051 with mikro(cpb) and silabs usb debugger
Replies: 10
Views: 2835

Re: :sad: Big8051 with mikro(cpb) and silabs usb debugger

I do believe we all try to do our best. It just dissapointing if you spent $200 (which is quite an amount of money for some) for nothing. And your proposed sentence is a very good step, but i would suggest the next addition : mikroElektronika 8051 compilers do currently only support debugging with a...
by Gerrit
15 Mar 2012 13:41
Forum: Development Boards
Topic: :sad: Big8051 with mikro(cpb) and silabs usb debugger
Replies: 10
Views: 2835

Re: :sad: Big8051 with mikro(cpb) and silabs usb debugger

Hello, Please notice that mikroC PRO for 8051 can be used for programming SiLabs microcontrollers and that we have not stated anywhere on our website that mikroc PRO can be used for In Circuit Debugging with SiLabs programmer. Then you haven't read his post properly.. It is not stated that it will ...
by Gerrit
21 Feb 2012 11:03
Forum: mikroC PRO for dsPIC30/33 and PIC24 Wish List
Topic: Add user definable flags via the CLI
Replies: 2
Views: 3771

Add user definable flags via the CLI

GNU style compilers have the option to pass defines via the CLI by the -D option Or what would be handy in the first place, if there's a flag which gives the state of debug modus or release modus. At the moment the clockspeed is callable to "ask" what the cpu speed is, in that mind could you impleme...
by Gerrit
20 Feb 2012 19:28
Forum: Development Boards
Topic: Some knowledge about MMC / SPI bus programming
Replies: 8
Views: 2681

Re: Some knowledge about MMC / SPI bus programming

Thats what i stated earlier... The mcc_init() returns 0 , but the write sector function returns 2. Card is not write protected. With a look at the assembly code from the mE libs, there is a poll for SPITBF, and today i confirmed seeing that this flag is set much too late by the hardware on the 24FJ1...
by Gerrit
20 Feb 2012 13:44
Forum: mikroC PRO for PIC General
Topic: Call Signature doesn't match function definition signature?
Replies: 3
Views: 1802

Re: Call Signature doesn't match function definition signatu

Look like you have some difference between a function prototype and its actual function. bla( int something ); // function prototype without void as function return given. void bla ( int something ) { //function body } The above example can cause an error like you have. Looks like the compiler doesn...
by Gerrit
20 Feb 2012 13:41
Forum: Development Boards
Topic: Some knowledge about MMC / SPI bus programming
Replies: 8
Views: 2681

Re: Some knowledge about MMC / SPI bus programming

After some searching, it appears that the pic24 / pic33 procs has a bug on the SPISTATx.SPITBF flag.
So it is unsafe to poll this flag to garantee a continuous datastream.

Microchip self advices to use a delay loop. I now use this one : while ( (SPI2STAT & 0x0700) > 0x0600 );
by Gerrit
19 Feb 2012 09:45
Forum: Development Boards
Topic: Some knowledge about MMC / SPI bus programming
Replies: 8
Views: 2681

Re: Some knowledge about MMC / SPI bus programming

I bought a 2Gig transcend card, which i have submitted to the test program from mE.

The initialisation is Ok, but the write_sector always return 2 ( write failed )
But the exact cause of this, is unknown to me.
by Gerrit
17 Feb 2012 13:11
Forum: mikroC PRO for PIC General
Topic: BGE Brake rectifiers
Replies: 4
Views: 3072

Re: BGE Brake rectifiers

The next problem is, what is the brake voltage ?
There are two types : a brake rectifier which is completly black and 1 that has a red cover.

Don't know where you live ( otherwise PM me ). maybe we can arrange something else.
by Gerrit
14 Feb 2012 20:33
Forum: User Projects
Topic: Quartz generators
Replies: 3
Views: 2066

Re: Quartz generators

so i must connect the output of quartz generetors, to the pin RA7/clki of the microcontroller. Yep.. correct.. But i must set up some registers or i must set up the type of the oscillator when i program the microcontroller? it either the same... and what you have to program you have to read from th...
by Gerrit
14 Feb 2012 18:44
Forum: mikroC PRO for PIC General
Topic: Configuring 18F2431 help
Replies: 2
Views: 1427

Re: Configuring 18F2431 help

Hi could someone please tell me how to write the following code written with HiTech so I can use it in MikroC? // Configuration Fuse Settings for PIC18F2431 __CONFIG(1,IESODIS & FCMDIS & HSPLL); __CONFIG(2,BORDIS & PWRTDIS & WDTDIS); __CONFIG(3,PWMOUTDIS & LOWPOLLO & HIPOLLO & MCLREN); __CONFIG(4,D...
by Gerrit
14 Feb 2012 18:40
Forum: mikroC PRO for PIC General
Topic: BGE Brake rectifiers
Replies: 4
Views: 3072

Re: BGE Brake rectifiers

I have worked a lot with SEW motors... Did you already find out why the rectifier is defect ? Have you measured the restistance of the brake itself ? Most of the time is a short circuit the cause of the blowout. And i think its better to order a spare rectifier with a SEW reseller. But be sure that ...
by Gerrit
14 Feb 2012 12:04
Forum: User Projects
Topic: Quartz generators
Replies: 3
Views: 2066

Re: Quartz generators

a quartz generator delivers a ready to go signal which has to be connected to RA7/CLKI Then you can operate in either of these modes : -- EC External Clock, RA6 available -- ECIO External Clock, Clock Out RA6 (FOSC/4 on RA6) See also this document : http://www.microchip.com/wwwproducts/Devices.aspx?...
by Gerrit
13 Feb 2012 19:44
Forum: Development Boards
Topic: Some knowledge about MMC / SPI bus programming
Replies: 8
Views: 2681

Re: Some knowledge about MMC / SPI bus programming

Yep.. i did.. i used the example for the lv24-33 board with this sd-card : http://www.kingston.com/us/support/technical/products?model=sd and let it loop (below my main) but it never reaches the BSET for led @ portg.b15 void main() { ADPCFG = 0xFFFF; // disable A/D inputs Delay_ms(200); Delay_ms(10)...
by Gerrit
13 Feb 2012 11:39
Forum: Library Development Discussion
Topic: FAT32 library for MMC/SD cards
Replies: 84
Views: 92484

Re: FAT32 library for MMC/SD cards

Very nice lib, but first i would like to find a SD/MMC card which works properly with the SPI protocol.

Go to advanced search