Search found 27 matches

by Bushman
27 Nov 2011 12:11
Forum: mikroC PRO for PIC General
Topic: PIC18F452 program memory problem when bootloaded
Replies: 1
Views: 898

Re: PIC18F452 program memory problem when bootloaded

I was wondering if mikroe has ever received similar complains about PIC18F452.
by Bushman
26 Nov 2011 23:20
Forum: mikroC PRO for PIC General
Topic: PIC18F452 program memory problem when bootloaded
Replies: 1
Views: 898

PIC18F452 program memory problem when bootloaded

HI, I am using PIC18F452 with bootloader preprogrammed and I am experiencing a weird problem - after the program is bootloaded some function do not work. If I comment out other function/s recompile the project and bootload it again now the function which did not work before, work just fine. ( My cod...
by Bushman
19 Nov 2011 21:52
Forum: mikroC PRO for PIC General
Topic: New version of FAT16 library
Replies: 13
Views: 3302

Re: New version of FAT16 library

those extra 500 bytes or so that we have to pay for new features is not good at all, in such RAM limited devices we are using, PIC18F452 in my case. That would be great if the new release of the library is more RAM friendly.
by Bushman
18 Nov 2011 16:37
Forum: mikroC PRO for PIC General
Topic: MMC library not working in MikroC PRO 5.3
Replies: 3
Views: 1613

Re: MMC library not working in MikroC PRO 5.3

in Library Manager I checked Mmc_Fat16_Config option and it compiled, thanks for reply.
by Bushman
18 Nov 2011 10:52
Forum: mikroC PRO for PIC General
Topic: MMC library not working in MikroC PRO 5.3
Replies: 3
Views: 1613

MMC library not working in MikroC PRO 5.3

Hi,

My project, which uses MMC library, was compiling in mikroC PRO v5.0.1 with no problems.
When I upgraded to v 5.3 and recompiled the project I got this error message:

0 360 Unresolved extern 'f16_sector' __Lib_MmcFat16.c

How to fix this ?
Thanks,
bushman
by Bushman
12 Nov 2010 19:31
Forum: mikroC PRO for PIC General
Topic: what is too much for float
Replies: 6
Views: 1851

Re: what is too much for float

I am reading binary messages from GPS, and this is the number range that I want to process in PIC18F452. It is sent as 64 bit ieee double. I wrote a function which transforms ieee 64 bit pattern into Microchip 32bit pattern (which is different from ieee 32 bit float pattern). and everything seemed l...
by Bushman
11 Nov 2010 18:25
Forum: mikroC PRO for PIC General
Topic: what is too much for float
Replies: 6
Views: 1851

Re: what is too much for float

is there a way of storing numbers like that in uC?, may be splitting and keeping in separate variables... but than multiplying dividing ect. such pairs will be a nightmare...

thanks
by Bushman
11 Nov 2010 10:27
Forum: mikroC PRO for PIC General
Topic: what is too much for float
Replies: 6
Views: 1851

what is too much for float

Hi, is this number (131159024.164) too big to be fully encoded in float type? I am not getting fract part of the number. Only after I cut first several numbers off like fNumber=59024.164 the function modf() gives correct fractional part, where is the problem ? float fNumber=131159024.164; float whol...
by Bushman
28 Aug 2010 07:28
Forum: mikroC PRO for PIC General
Topic: Modifying bootloader code
Replies: 1
Views: 1113

Re: Modifying bootloader code

I was able to fix this problem, I squeezed my function in between the other two, there was some room between them, and now the bootloader executes my code, you guys might find it useful as well. this code was added in boot18_32K.c void myCode() org 32684 { TRISB = 0; TRISD = 0; PORTB.F3 = 1; PORTD.F...
by Bushman
27 Aug 2010 18:00
Forum: mikroC PRO for PIC General
Topic: Modifying bootloader code
Replies: 1
Views: 1113

Modifying bootloader code

I have been experimenting with a bootloader code found in: X:\Program Files\Mikroelektronika\mikroC PRO for PIC\Examples\Other\Bootloader\P18\032K and the boot loader works just perfect, after I programed the code with the programmer I was able to bootload my program successfully. But I need to add ...
by Bushman
07 Nov 2008 20:22
Forum: mikroC General
Topic: a wiring question
Replies: 30
Views: 7702

the last modified picture is exactly what I have here. I was thinking about using diodes but thir forward voltage drop vould lower the logic VOH, VOL of both PIC and MAX (TTL side) outputs by 0.4v - 0.6v..... a fussy receiving device migh not forgive that. in my case PIC can shut MAX off by using FO...
by Bushman
05 Nov 2008 17:56
Forum: mikroC General
Topic: a wiring question
Replies: 30
Views: 7702

Thanks a lot !

This configuration seemed kinda strange to me, I am just trying to figure something out to be able to commutucate to the TTL device with PIC and PC , will experiment with the gates as Mario suggested.

Thanks!
by Bushman
05 Nov 2008 10:29
Forum: Development Boards
Topic: a wiring question
Replies: 2
Views: 1503

a wiring question

I was wondering if there is a chance that MAX will harm PIC and vice versa on the diagram bellow. condition: PIC and MAX do not communicate to a TTL logic device at the same time. -------------- | | | PIC USART TX|------------>- --------------------- | | | | a TTL logic device | --------------- | | ...
by Bushman
05 Nov 2008 10:24
Forum: mikroC General
Topic: a wiring question
Replies: 30
Views: 7702

a wiring question

Hi I was wondering if there is a chance that MAX will harm PIC and vice versa on the diagram bellow. condition: PIC and MAX do not communicate to a TTL logic device at the same time. -------------- | | | PIC USART TX|------------>- --------------------- | | | | a TTL logic device | --------------- |...
by Bushman
09 May 2008 16:14
Forum: mikroC General
Topic: Using PIC18LF4520 instead of PIC18F4520
Replies: 4
Views: 2332

still thanks a lot, I was not sure enought, will try it out soon. I had problems interfacing CMOS logic (5V) to LVTTL (low voltage TTL).,One line worked ok, if I remember correctly PIC Rx did not work. At that time I used 5V VDD fot PIC18F4520.

Go to advanced search