Search found 130 matches

by KaranSoin
25 Jan 2016 01:13
Forum: mikroC PRO for dsPIC30/33 and PIC24 General
Topic: mikroC Pro dsPIC 6.2.1 , floating point calculations issue
Replies: 4
Views: 2599

mikroC Pro dsPIC 6.2.1 , floating point calculations issue

Hello, I am trying to compile the following C code and the compiler is throwing a bunch of errors. It seem to be something to do with floating point calculations. Any setting I have missed or any library have I forgotten to include ? Any insight is greatly appreciated. Regards Karan Soin #define VRE...
by KaranSoin
14 Mar 2013 19:35
Forum: mikroC PRO for PIC General
Topic: PIC18F4550 with mikroC problem
Replies: 3
Views: 1586

Re: PIC18F4550 with mikroC problem

You are missing a while(1) at the end. It runs through your code and then starts executing garbage after that, which can potentially be causing your problem

Regards
by KaranSoin
14 Mar 2013 19:29
Forum: mikroC PRO for dsPIC30/33 and PIC24 General
Topic: problems with TFT_Image_Jpeg() function
Replies: 1
Views: 1406

problems with TFT_Image_Jpeg() function

Hi, I am using a TFT with HX8352A driver (400 x 240). When I to use the TFT_Image_Jpeg() function, it displays a corrupted image ( it displays every 4th or 5th column and rest appears as black vertical lines). I have tried it with different image sizes but it is the same result every time. Rest of t...
by KaranSoin
23 Aug 2011 20:46
Forum: mikroBasic PRO for dsPIC30/33 and PIC24 General
Topic: USB host for PIC24FJ256GB110
Replies: 5
Views: 3562

Re: USB host for PIC24FJ256GB110

Did you get success to use 24F in host mode?
Not yet unfortunately, I see there is a thumbdrive bootloader mentioned in microchip documentation, I am hoping to use it "as is" and hopefully get ball rolling for future. I'll post a msg if I get something good :)

cheers
by KaranSoin
25 Jul 2011 11:23
Forum: mikroC PRO for dsPIC30/33 and PIC24 General
Topic: hex file not generated when using orgall directive
Replies: 2
Views: 1302

Re: hex file not generated when using orgall directive

Figured that out just a day back :wink: , should have withdrawn the post, Thanks anyways.

Regards
by KaranSoin
19 Jul 2011 14:26
Forum: mikroC PRO for dsPIC30/33 and PIC24 General
Topic: hex file not generated when using orgall directive
Replies: 2
Views: 1302

hex file not generated when using orgall directive

Hello, I am using mikroC PRO for dsPIC v4.60.0.0 for P24FJ256GB110 . I am trying to use the orgall directive to start a code above a certain address. Any address below orgall 0x0600 throws a compiler error : Bad absolute address 'invalid OrgAll address' Any address at or above orgall 0x0600 results ...
by KaranSoin
19 Jul 2011 11:10
Forum: mikroBasic PRO for dsPIC30/33 and PIC24 General
Topic: USB host for PIC24FJ256GB110
Replies: 5
Views: 3562

Re: USB host for PIC24FJ256GB110

PIC24 USB host library is yet to be released. I am waiting for the same. Asked the ME support people about it, they said it is in the works but cannot provide a proper time as to when it will be available. Best bet at the moment is to get the Microchip examples and support and figure out how to inte...
by KaranSoin
17 Jun 2011 00:29
Forum: mikroC PRO for PIC General
Topic: USB Host library for PIC24F
Replies: 1
Views: 901

USB Host library for PIC24F

Hello ME Team , any ETA for a USB host library for PIC24F ? I'm really looking forward to connecting flash drives to my project.

cheers
by KaranSoin
25 Apr 2011 23:11
Forum: mikroC PRO for PIC General
Topic: [beginner] write on lcd
Replies: 1
Views: 891

Re: [beginner] write on lcd

you need to convert the binary to a string to display it on LCD. I'm not aware of any library function in mikroC which does that, but thats probably becoz it is rather staright forward; use the following if you want void Int2BinaryString(int Num, char *StrOutput) { int i; for(i=15;i>=0;i--)//assumin...
by KaranSoin
04 Apr 2011 12:10
Forum: mikroC PRO for PIC General
Topic: Char Array questions
Replies: 4
Views: 1409

Re: Char Array questions

use sprintf() , it is designed for problems like this. The reason you are getting garbage is because size of adctxt[] is undefined, you are most likely overwriting the NULL terminating character at the end of the string.

Regards
by KaranSoin
01 Apr 2011 17:41
Forum: Development Boards
Topic: .hex file format for PIC24 (over 64K program memory)
Replies: 2
Views: 2033

Re: .hex file format for PIC24 (over 64K program memory)

Thanks Filip, really appreciate the info. Looks like the bootloader will involve much more fun than I thought. PIC24 is uncharted waters for now, such issues will keep coming up initially.

Cheers
by KaranSoin
31 Mar 2011 16:07
Forum: Development Boards
Topic: .hex file format for PIC24 (over 64K program memory)
Replies: 2
Views: 2033

.hex file format for PIC24 (over 64K program memory)

Greetings all, Does anyone know how exactly is 24 bit program memory space of PIC24FJ256GBxxx is represented in the .hex . The Intel Hex format states that bytes [3..6] in the hex file specify the address, implying that maximum address will not go beyond 65535 (actually 32767, considering address 0x...
by KaranSoin
21 Mar 2011 13:11
Forum: Development Boards
Topic: 3.6 supply instead of 3.3 on LvPICFlash
Replies: 1
Views: 926

3.6 supply instead of 3.3 on LvPICFlash

Does anyone know if putting 3.6 volt instead of 3.3 volt on "power from board" configuration on LvPICFlash programmer will be ok ?

Regards

Go to advanced search