Search found 195 matches

by liak
Sun Feb 15, 2009 7:42 am
Forum: Compiler
Topic: Faster method of accessing an array
Replies: 0
Views: 2542

Faster method of accessing an array

Dear all, I have been trying to increase the efficiency of my MCU by optimizing my code. I have changed all my variables in situations that I can to type byte. Now, I am facing another bottleneck in this section. I have a variable declared in a structured array: Structure TFile Data(250) As Byte End...
by liak
Mon Feb 09, 2009 12:50 am
Forum: Modules
Topic: HOW TO TRANSMIT 16 BITS ON SPI CONNECTION
Replies: 3
Views: 3802

Dear Marcox,
Mind telling us which SPI module you are using? SSPI or SPI? Does it work if you sent a byte only?

Regards,
Liak
by liak
Sun Feb 08, 2009 4:03 am
Forum: User Modules
Topic: Finding location of first cluster of file on SDCard
Replies: 7
Views: 5587

Dear Steve,

Finally I have gotten it correct.

Thanks.
Regards,
Liak
by liak
Thu Feb 05, 2009 2:18 am
Forum: User Modules
Topic: 18F26K20 SD Testing
Replies: 55
Views: 38526

Dear Doj,
Sorry, I was just venting my disappointment. I remembered your reply and attachment on the solution to it. I will study it closely and implement it.

Regards,
Liak
by liak
Wed Feb 04, 2009 4:51 am
Forum: User Modules
Topic: 18F26K20 SD Testing
Replies: 55
Views: 38526

dear Toley, Sorry to hear the dismay results from you. I am still to test mine. If failed, will have to try the 18F25K20, but the problem with it is it's much smaller program memory. :cry:. How can they sell such malfunctioning chips? http://ww1.microchip.com/downloads/en/DeviceDoc/80404A.pdf Regard...
by liak
Sun Feb 01, 2009 3:48 pm
Forum: User Modules
Topic: 18F26K20 SD Testing
Replies: 55
Views: 38526

Dear Steven and ohararp, Thanks again Steven for updating the help file. Now I see all the MSSP at 40Mhz passed the test, and they are almost twice as fast as the SW. Ohararp, sorry to hear your results. I have just received my chips. Hope they have corrected the silicon error by now. Yours were old...
by liak
Sun Feb 01, 2009 4:26 am
Forum: User Modules
Topic: 18F26K20 SD Testing
Replies: 55
Views: 38526

Dear Toley, Again we see some discrepencies. :? See the quoted table carefully again Manufacturer Type Size SD_SPI Clock SPI Speed Write 1 MB Read 1 MB Result IT Works SD 64 MB MSSP 32 MHz PLL spiOscDiv4 15.21 sec 17.90 sec Success byteStor SD 128 MB MSSP 32 MHz PLL spiOscDiv4 15.73 sec 16.28 sec Su...
by liak
Sun Feb 01, 2009 4:15 am
Forum: User Modules
Topic: 18F26K20 SD Testing
Replies: 55
Views: 38526

Dear Toley, Thanks for the update. Very helpful to know what settings worked. I have gotten my chip. Working on it to setup the card. From what I can see, you have gotten nearly 4% faster working even at MSSP Clock/16. Quite good. Thanks again for the detailed update. I will let you know if mine wor...
by liak
Sat Jan 31, 2009 3:51 pm
Forum: Compiler
Topic: OR statment
Replies: 6
Views: 3240

Dear mazur50, Problem solved? Not sure what input states are your variables. It may help looking into this in the help file: Short Circuit Boolean Expressions Statements such as if…then, if…goto, while…wend and repeat…until depend on the evaluation of a boolean expression to determine program flow o...
by liak
Sat Jan 31, 2009 12:28 am
Forum: General
Topic: 18F4610 at 100MHz ??!!
Replies: 14
Views: 11861

Dear David,
Thanks for the unexpected info! :D :D :D
All of us will be waiting fervently.

Regards,
Liak
by liak
Sat Jan 31, 2009 12:18 am
Forum: User Modules
Topic: 18F26K20 SD Testing
Replies: 55
Views: 38526

Dear Toley,
Oops, you have gotten it done before I posted. I am waiting for ohararp to see if he has any luck. Thanks for letting us know your results. Hope some of us will get some success in this. To confirm, you used SW option?

Regards,
Liak
by liak
Sat Jan 31, 2009 12:13 am
Forum: User Modules
Topic: 18F26K20 SD Testing
Replies: 55
Views: 38526

Dear all,

Thanks for the feed back. Can't wait to test it out. Ohararp, hope you can let us know what is the outcome of your test.

Regards,
Liak
by liak
Fri Jan 30, 2009 12:51 am
Forum: User Modules
Topic: 18F26K20 SD Testing
Replies: 55
Views: 38526

Dear Toley, Thanks for the info. I will be trying to use Steven's SD library as soon as I get my hands on my 26K20. I am hoping to drive it to MSSP clock/4 initially, :( but now since your earlier experience with the other brothers of the chip failed to push it to that limit, I guess 26K20 may also ...
by liak
Wed Jan 28, 2009 1:47 am
Forum: General
Topic: 18F4610 at 100MHz ??!!
Replies: 14
Views: 11861

Dear octal,
Thanks for the advise. Yeah, it was just wishful thinking. :lol:
I am opting to go for the PIC24, using mikroBasic.

Still whenever David comes out with the PIC24 version of SF, I will be glad to get it first.


Regards,
Liak
by liak
Mon Jan 26, 2009 10:35 am
Forum: Compiler
Topic: where is "result" defined?
Replies: 2
Views: 1910

Dear octal,
Thanks for solving my query. Ha, it didn't come to my mind that it would be in the manual. Got to read the manual more carefully, and stop assuming that the help file contains everything about SF.

Regards,
Liak