PDA

View Full Version : Compactflash libraries translation



Moldava
- 3rd October 2004, 16:26
Hello,
i fond some compact flash card libraries for avr bascom here:

they are written in avr assembler,and they donīt look that complicated...i wonder if someone here wants to collaborate for translating this and share them for the developement of pbp...i will work too,my weak point is that i donīt know avr assembler,i'm trying to learn the basics just for this task...
Believe me that these are really useful...i've been playing with the demo of mikrobasic,i builty an small adapter board for connecting CF to pic,and i'mn impressed with the results...but i want to use this inside PBP...

http://www.mcselec.com/an_123.htm

the link to the original article

Bruce
- 4th October 2004, 19:46
Have a look here http://www.compsys1.com/workbench/

Moldava
- 4th October 2004, 20:05
mmmm...i could not find any information about compactflash on that link...only mmc and sd....

Bruce
- 4th October 2004, 21:08
Have you seen this..?

http://www.mikroelektronika.co.yu/english/product/tools/cf.htm

You mentioned you have experimented with the mikroBasic compiler examples. Just curious if you were aware they offered "PIC " source code examples with this CF reader.

Seems worth the meager $18.00 for the CF reader + source code, and it sure would be easier to convert over to PBP than AVR assembler.

Moldava
- 4th October 2004, 22:30
yes,in fact those examples are also included in the demo of mikrobasic,and i based my experiments on them...the board was not necessary,because i already had the cf connectors,and i only had to build an small adapter board....
The problem i fouynd with their routines is that the initialization is somehow slow,so i think that in assembler that would work better....assembler examples for pic are these:


So,thanks for your reply Bruce,and i hope that we can add this to PBP... :)

Bruce
- 4th October 2004, 23:11
I'm ordering one of the Easy PIC 2 USB programmer/dev boards shortly for evaluation. I'll get the CF card add-on board too, and have a look at converting or adding the .asm CF code example into PBP.

Moldava
- 4th October 2004, 23:28
Here they are: