Author |
Message |
Topic: SD card problem dsPIC33FJ128GP710A |
Neo2a
Replies: 7
Views: 10751
|
Forum: General CCS C Discussion Posted: Wed Aug 22, 2012 2:49 am Subject: Main code |
The main code is this
based on the example in ccsc
#include <fat16 proba.h>
//#use rs232(UART1,baud=9600,parity=N,bits=8,stream=RS232)
#byte PLLDIV = 0x746 // bits 8--0 = Pl ... |
Topic: SD card problem dsPIC33FJ128GP710A |
Neo2a
Replies: 7
Views: 10751
|
Forum: General CCS C Discussion Posted: Wed Aug 22, 2012 2:40 am Subject: MMCSD content |
After modifications implemented the
mmcsd.c content is
#ifndef FAT_PIC_C
#define FAT_PIC_C
#include <ctype.h>
#include <string.h>
#case
//////////////////////
/// ... |
Topic: SD card problem dsPIC33FJ128GP710A |
Neo2a
Replies: 7
Views: 10751
|
Forum: General CCS C Discussion Posted: Wed Aug 22, 2012 2:36 am Subject: After all modification |
After all modification implemented into the code
The fat.c
#ifndef FAT_PIC_C
#define FAT_PIC_C
++++++++++++++++++++++++
Code deleted.
Sorry, modified code is still CCS code. Rule # ... |
Topic: SD card problem dsPIC33FJ128GP710A |
Neo2a
Replies: 7
Views: 10751
|
Forum: General CCS C Discussion Posted: Wed Aug 22, 2012 2:34 am Subject: All modification is done |
Modifications in mmcsd.c
Search for uint32_t g_mmcsdBufferAddress;
and add under it:
uint32_t g_mmcsdPartitionOffset;
Next, just before the "mmcsd_init" function add a new function ... |
Topic: SD card problem dsPIC33FJ128GP710A |
Neo2a
Replies: 7
Views: 10751
|
Forum: General CCS C Discussion Posted: Tue Aug 21, 2012 10:01 am Subject: Mikromedia |
Hello
I have a Mikromedia for dsPIC33 card.
The schematics is here: http://www.mikroe.com/eng/downloads/get/1250/mikromedia_dspic33_schematic_v110.pdf
Card size is 2Gb and formatted with windows xp ... |
Topic: SD card problem dsPIC33FJ128GP710A |
Neo2a
Replies: 7
Views: 10751
|
Forum: General CCS C Discussion Posted: Tue Aug 21, 2012 3:09 am Subject: SD card problem dsPIC33FJ128GP710A |
Dear programmers,
I have a problem with uSD card handling.
The program is initialized a SD card well.
After it write a file ("cmc.txt")
Answer on serial line is "OK" but the ca ... |
Topic: SD/MMC raw data read and write PIC18F |
Neo2a
Replies: 1
Views: 3907
|
Forum: General CCS C Discussion Posted: Sat May 02, 2009 2:07 am Subject: SD/MMC raw data read and write PIC18F |
Dear Sirs,
Please help me, how can I write and read
bytes to SD/MMC card.
It is a code and scematic but not working.
http://www.juropnet.hu/~ipucz/mmc.zip
Thanks
Neo |
|