Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
December 23, 2024, 02:36:18 02:36


Login with username, password and session length


Pages: [1]
Print
Author Topic: Hello. fron spanish  (Read 6824 times)
0 Members and 1 Guest are viewing this topic.
centiane
Newbie
*
Offline Offline

Posts: 18

Thank You
-Given: 5
-Receive: 6


« on: March 10, 2008, 10:42:27 22:42 »

Hello, i am spanish i like help the people.

Good look

centiane.
Logged
wATAw
Guest
« Reply #1 on: March 11, 2008, 09:48:33 21:48 »

Yo tambien soy espaƱol, y estoy buscando ayuda sobre escribir en fat en una SD. no dominaras el tema no??
Gracias.
Logged
fernandodiaz
Junior Member
**
Offline Offline

Posts: 73

Thank You
-Given: 1
-Receive: 18


« Reply #2 on: March 11, 2008, 11:28:54 23:28 »

YOU CAN EASY USE SD MEMORY WITH PARALLAX PROPELLER
AND OTHER OPTOIN, COMPILER MIKROBASIC (MICROCHIP IC) AND BASCOM AVR COMPILER WITH  ATMEL ATMEGAXX.
THER IS ONE SAMPLE WHIT PROTON PLUS BUT THIS MAKE ERRORS COMPILATION

PUEDES USAR PARALLAX PROPELER ES UN CHIP MUY PODEROSO
Y USAR LAS RUTINAS DE EJEMPLO PARA SD MEMORIA Y MEMORY STIK
LOS PUEDES BAJAR DE PARALLAX.COM, OTRA OPCION ES USAR
COMPILADOR  MIKROBASIC, TIENE RUTINAS PARA SD
OTRA OPCION ES USAR BASCOM AVR CON LOS ATMEL, TIENE BUENAS RUTINAS PARA SD  Y EL PROTON TAMBIEN PERO GENERA ERRORES DE COMPILACION.
Logged
wATAw
Guest
« Reply #3 on: March 12, 2008, 11:24:15 11:24 »

First I will try to make it in ccs...but if i dont get it, i will try with mikrobasic. But i prefer ccs....
Thank you!!

Primero lo intentare con ccs ..pero si no lo consigo, intentare hacerlo con microbasic. De todas maneras mi preferencia es el ccs...
Muchas gracias!!!
Logged
tutatix
Newbie
*
Offline Offline

Posts: 10

Thank You
-Given: 1
-Receive: 4


« Reply #4 on: March 17, 2008, 01:08:54 13:08 »

Hello, I am also Spanish. I am interested in information on PICs.

Thanks.
Logged
Matrixx
Junior Member
**
Offline Offline

Posts: 37

Thank You
-Given: 68
-Receive: 37


« Reply #5 on: June 28, 2008, 10:35:56 22:35 »

I was looking how to use a SD/MMC and after thinking too much I used the BascomAvr.
I ordered a SD socket and With BascomAvr I use SPI to handle the card.

It's really fast. I have homemade setup with a LCD display using I2C and the SD card using SPI, all works very nice!!  I can create and write files. It took less than a second to write 255 lines of 80 characters on the SD.

Yo estaba buscando como usar una SD/MMC y despues de pensarlo mucho utilize BascomAvr.
Ordene un socket SD y use BascomAvr, usando el protocolo SPI.
Es realmente rapido. Yo tengo una tablilla hecha en casa con una pantalla LCD pero usando el I2C y la tarjeta usando SPI y funcionan de maravilla!! Yo puedo crear archivos y escribirlos. Le toma menos de un segundo escribir 255 lineas de 80 caracteres en la SD.
Logged
jeanninemtv
Senior Member
****
Offline Offline

Posts: 311

Thank You
-Given: 57
-Receive: 25


« Reply #6 on: June 29, 2008, 07:07:51 07:07 »

tengo una duda,

es respecto a lo siguiente
digamos que deseo leer la memoria y detectar un patron de caracteres dentro de un bloque, no entiendo bin lo de los clusters y por tanto eso me confunde.

Quisiera implementar un sistema de busqueda y base de datos en una sd para leerlo directamente con mi micro.
Logged
Matrixx
Junior Member
**
Offline Offline

Posts: 37

Thank You
-Given: 68
-Receive: 37


« Reply #7 on: June 29, 2008, 09:25:20 09:25 »

If you are talking about a characters pattern, the files are in plain text so you must implement your own search routine, nothing to mess with clusters and so.

I will do reading one line, searching that line and so on. Only my point of view..


Si estas hablando de un patron de caracteres, los archivos estan en tipo texto de manera que tu puedes implementar tu propia rutina de busqueda, no hay que preocuparse de los clusters.

Yo lo haria leyendo una linea, buscando en esa linea y asi sucesivamente. Solo es mi punto de vista..
Logged
jeanninemtv
Senior Member
****
Offline Offline

Posts: 311

Thank You
-Given: 57
-Receive: 25


« Reply #8 on: June 29, 2008, 10:54:32 22:54 »

did you tested the proteus sd model?

probaste el modelo vsm de memoria sd?

Logged
bbarney
Moderator
Hero Member
*****
Offline Offline

Posts: 2429

Thank You
-Given: 405
-Receive: 545


Uhm? where did pickit put my mute button


« Reply #9 on: June 30, 2008, 12:14:45 00:14 »

ENGLISH ONLY -- READ THE RULES ALL OF YOU
Logged

Ever wonder why Kamikaze pilot's wore helmet's ?
Matrixx
Junior Member
**
Offline Offline

Posts: 37

Thank You
-Given: 68
-Receive: 37


« Reply #10 on: June 30, 2008, 05:36:03 05:36 »

Ok. No Spanish.

Posted on: June 30, 2008, 06:33:48 06:33 - Automerged

Quote
did you tested the proteus sd model?

I tested in proteus and later I flashed the chip and works fine.
Logged
avralam
Active Member
***
Offline Offline

Posts: 140

Thank You
-Given: 153
-Receive: 30


« Reply #11 on: June 30, 2008, 12:44:28 12:44 »

 Can You please upload project files for sample?
Logged
cooperharris
Junior Member
**
Offline Offline

Posts: 90

Thank You
-Given: 72
-Receive: 22


« Reply #12 on: June 30, 2008, 08:40:01 20:40 »

hello all, I do speak espanish too, let`s share our e-mail  to chat and share  knowledge
Logged
Matrixx
Junior Member
**
Offline Offline

Posts: 37

Thank You
-Given: 68
-Receive: 37


« Reply #13 on: July 01, 2008, 04:10:49 16:10 »

This my sample using SD card. Code is not mine, I get it somewhere but I did some minor changes and tested it ok. Later I will refer the creator cause not remember now  Tongue

Tested in Proteus and phisically on board.

Quote
$regfile = "m128def.dat"                                    ' specify the used micro
$crystal = 16000000
$baud = 19200                                               ' use baud rate
$swstack = 64
$hwstack = 128
$framesize = 128


Dim B As Byte , F As Byte , S As String * 120

Print "SD/MMC CARD TEST..."

$include "Config_MMC.bas"                                   '<--- do not change this line order...
If Gbdriveerror <> 0 Then
 Print "SD/MMC ERROR " ; Gbdriveerror
 End                                                        '  <---- Terminate program
Else
 Print "SD/MMC CARD FOUND !!"
 Wait 4
End If

$include "Config_AVR-DOS.BAS"                               '<--- do not change this line order...
B = Initfilesystem(1)
If B <> 0 Then
 Print "Error en MMC No: " ; B
End If


'Now Create a file and write some text...
Open "MyList.txt" For Output As #9
 Print #9 , "Hello All from the"
 Print #9 , "SD/MMC Card."
 Print #9 , "Using D.O.S type"
 Print #9 , "FAT16. This file"
 Print #9 , "has been created by"
 Print #9 , "the Atmel uC M128"
 Print #9 , "without PC "
 Print #9 , "intervention."
Close #9


'Now do a very fast Dir listing of SD/MMC card contents...
S = Dir( "*.mp3")
F = 0
While Len(s) > 0
   Print S ; Filedate() ; "  " ; Filetime() ; "  " ; Filelen()
   F = F + 1
   S = Dir()
Wend
Print "Total " ; F ; " Files"
Wait 4


'Now Open the previous file created and display it...
Open "MyList.txt" For Input As #9
For F = 1 To 4                                              ' <-----  1 to 4 because we only write 4 lines of text..
 Line Input #9 , S
 Print S
Next F
Close #9
Wait 4


'Now Write 254 lines of 80 characters to the card...
Print "Writing 254 text lines"
Print "80 characters long....."
Open "Chars.txt" For Output As #9
For F = 1 To 254
 Print #9 , F ; " Test Line, Test Line, Test Blah Blah Blah Do Do Do Test Test 1 2 3 You There?"
Next F
Close #9
Print "Ready !!!"

End



It needs the CONFIG_AVR-DOS.bas and Config_MMC.bas files in the same folder where you save this sample code. I guess they are included in the Bascom lib Floder.

Folow this rules:

1. The card has to be formatted using FAT16 or FAT12. FAT32 does not work.
2. Use only short names (8.3) example:  ThisFile.txt    <--- "ThisFile" = 8 characteres, "txt" = 3 characters.
3. Currently does not support folders
4. Do not connect the SD card directly to atmel because SD works 3.3V and atmel works 5V, refer to the
    schematic to use resistors.
5. Preferrable buy a SD socket or slavage one from a dead SD gadget like an broke photo camera..
6. Have fun
« Last Edit: July 01, 2008, 04:55:34 16:55 by Matrixx » Logged
Pages: [1]
Print
Jump to:  


DISCLAIMER
WE DONT HOST ANY ILLEGAL FILES ON THE SERVER
USE CONTACT US TO REPORT ILLEGAL FILES
ADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS

... Copyright © 2003-2999 Sonsivri.to ...
Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines LLC | HarzeM Dilber MC