Author |
Message |
Topic: any 100% working code for mmc + pic18f series |
andreluizeng
Replies: 20
Views: 66291
|
Forum: General CCS C Discussion Posted: Fri Jul 15, 2016 12:45 pm Subject: im still alive =) |
Sorry for disappearing guys, unfortunately I don't work with PIC anymore (please check the imxcv.blogspot.com), and never get back here either, but as I was helping a friend, I will do something I pro ... |
Topic: Create a file and write into mmc is OK But ????? |
andreluizeng
Replies: 33
Views: 40068
|
Forum: General CCS C Discussion Posted: Fri Apr 29, 2011 6:33 am Subject: Create a file and write into mmc is OK But ????? |
how are you formating your card ? you have to make sure that it is fat32 and 512 bytes per cluster: http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/format.mspx?mfr=true
... |
Topic: Create a file and write into mmc is OK But ????? |
andreluizeng
Replies: 33
Views: 40068
|
Forum: General CCS C Discussion Posted: Thu Apr 28, 2011 7:29 am Subject: Create a file and write into mmc is OK But ????? |
Please, put your string in a for loop and write char by char using fputch, and see if the problem still persists.
regards,
Andre |
Topic: any 100% working code for mmc + pic18f series |
andreluizeng
Replies: 20
Views: 66291
|
Forum: General CCS C Discussion Posted: Mon Jul 05, 2010 11:57 am Subject: any 100% working code for mmc + pic18f series |
Hi Mate =), nice to now that you are from Portugal, I prefer to speak in portuguese, but as we are here to help, let keep it using the English Language.
My code works with both mmc and sd card, I b ... |
Topic: CCS MMCSD & FAT32 Drivers on SD - Working for anyone? |
andreluizeng
Replies: 14
Views: 19128
|
Forum: General CCS C Discussion Posted: Tue May 04, 2010 7:06 am Subject: CCS MMCSD & FAT32 Drivers on SD - Working for anyone? |
Hi fredp,
contact me by email,
regards,
Andre |
Topic: Problem with HS |
andreluizeng
Replies: 5
Views: 4903
|
Forum: General CCS C Discussion Posted: Fri Apr 03, 2009 11:17 am Subject: Problem with HS |
Try put HS in first......... =)
I think that the compilers set the fuses one by one in the order that you give to it. and in this issue, you are giving first the NOWDT... it is just a suggest.
... |
Topic: How does FAT32 calculate free and used disk space ? |
andreluizeng
Replies: 2
Views: 5153
|
Forum: General CCS C Discussion Posted: Tue Mar 10, 2009 7:52 pm Subject: How does FAT32 calculate free and used disk space ? |
asmallri
Were those calculations that I was talking about.
thanks a lot.
best regards |
Topic: How does FAT32 calculate free and used disk space ? |
andreluizeng
Replies: 2
Views: 5153
|
Forum: General CCS C Discussion Posted: Tue Mar 10, 2009 7:27 pm Subject: How does FAT32 calculate free and used disk space ? |
Hi,
I have this struct (FAT32 diskinfo)
typedef struct _diskinforec
{
char hJumpCode[3];
char OEMName[8];
int16 hBytesPerSector;
char bSec ... |
Topic: help for the menu and interface |
andreluizeng
Replies: 10
Views: 7609
|
Forum: General CCS C Discussion Posted: Sun Mar 08, 2009 11:44 am Subject: help for the menu and interface |
Sydney is right,
I didnt reply your last msg because I have a lot to work to do either, and all that we can do here is help someone that is having problem with their codes... but write a new code ... |
Topic: dsPic30F6012A won't run |
andreluizeng
Replies: 12
Views: 8073
|
Forum: General CCS C Discussion Posted: Fri Mar 06, 2009 11:29 am Subject: dsPic30F6012A won't run |
alright..
now good luck with your project.
regards. |
Topic: dsPic30F6012A won't run |
andreluizeng
Replies: 12
Views: 8073
|
Forum: General CCS C Discussion Posted: Fri Mar 06, 2009 8:39 am Subject: dsPic30F6012A won't run |
it seems like the notification change (second function of the pin) is working, so you have to disable it.
lets try the following code regarding to disable CN interrupt:
main4.h
#byte IEC0 = 0 ... |
Topic: dsPic30F6012A won't run |
andreluizeng
Replies: 12
Views: 8073
|
Forum: General CCS C Discussion Posted: Fri Mar 06, 2009 7:46 am Subject: dsPic30F6012A won't run |
could you post your entire code here ? including header file, so we can see better how you are initializating your dsPIc.
regards. |
Topic: replacing putc with write to TXREG |
andreluizeng
Replies: 6
Views: 8625
|
Forum: General CCS C Discussion Posted: Thu Mar 05, 2009 1:51 pm Subject: replacing putc with write to TXREG |
you may also try this code:
void SendByte (char Data)
{
char Aux;
// wait for xmit shifter
while (! TRMT);
// wait txif
while (! TXIF);
T ... |
Topic: dsPic30F6012A won't run |
andreluizeng
Replies: 12
Views: 8073
|
Forum: General CCS C Discussion Posted: Thu Mar 05, 2009 1:45 pm Subject: dsPic30F6012A won't run |
post the list part so we can see what is going on... but anyway, have you tried to set this pin high without ccs built-in function ???
#byte PORT_G = 0x2E6
#bit PIN_G7 = PORT_G.7
#byte TRIS_ ... |
Topic: using only UART Rx |
andreluizeng
Replies: 6
Views: 8054
|
Forum: General CCS C Discussion Posted: Thu Mar 05, 2009 1:17 pm Subject: using only UART Rx |
just to complement
clear CREN just after setting TXEN, that wont let your software stuck if get some error.
regards |
|