Author |
Message |
Topic: 64bit Linux |
Tomi
Replies: 31
Views: 110305
|
Forum: General CCS C Discussion Posted: Thu Sep 17, 2020 3:13 am Subject: 64bit Linux |
I don't know your problem is already solved or not, but WHY do you want to use CCS LINUX compiler(s)? I had bad experiences in the past (Win version was -and is- the main stream for the compiler - lin ... |
Topic: Linux? |
Tomi
Replies: 0
Views: 3574
|
Forum: General CCS C Discussion Posted: Mon Jul 22, 2013 9:40 am Subject: Linux? |
Does anybody else trying to use Linux version of CCS C? 4.121 is the last version without major errors. It seems nobody maintains L version at CCS. Latest version is 5.008 (yes, I know the current ver ... |
Topic: FAT32 code for MultiMedia Cards |
Tomi
Replies: 66
Views: 521141
|
Forum: Code Library Posted: Sat Mar 08, 2008 3:46 am Subject: To "andreluizeng" |
Hi,
The structure is inited by a ReadSector call. So its original content is loaded from the MMC card itself (from the disk definition area) so I think emulating this part of code is not a really goo ... |
Topic: FAT32 code for MultiMedia Cards |
Tomi
Replies: 66
Views: 521141
|
Forum: Code Library Posted: Sat Mar 08, 2008 3:42 am Subject: "bExtension" replaced by [spam] (????) |
Hi Everybody,
I don't know how but my original text "bExtension" is replaced by "[spam]"
Note that it is happened not only in the declaration part but inside of the code, too.
O ... |
Topic: FAT32 code for MultiMedia Cards |
Tomi
Replies: 66
Views: 521141
|
Forum: Code Library Posted: Tue May 08, 2007 1:21 am Subject: FAT32 code for MultiMedia Cards |
Hi Miky,
Maybe you have to try 18F4515 (3.9kB RAM) instead of 18F452 (I think 452 has not enough RAM space). I think this chip is pin-compatible with 452. |
Topic: FAT32 code for MultiMedia Cards |
Tomi
Replies: 66
Views: 521141
|
Forum: Code Library Posted: Mon May 07, 2007 1:22 am Subject: FAT32 code for MultiMedia Cards |
Hi Miky,
Of course you can relocate the variables. When I started with this code the 18F6720 had some errata especially handling RAM space in the 0x100-0x200 range. In a case of "error-free" ... |
Topic: FAT32 code for MultiMedia Cards |
Tomi
Replies: 66
Views: 521141
|
Forum: Code Library Posted: Fri May 04, 2007 12:46 am Subject: FAT32 code for MultiMedia Cards |
The answers are simple:
1. Take a look on FindDirEntry() function. This function steps over the entire directory structure to find a file. With minimal modification you can get a directory list (e.g. ... |
Topic: FAT32 code for MultiMedia Cards |
Tomi
Replies: 66
Views: 521141
|
Forum: Code Library Posted: Fri Mar 30, 2007 6:55 am Subject: Just an error check |
It is only an error check. The cluster number in this case never could be zero because it is a part of an existing file what you want to open or delete. In this case every cluster number could be eith ... |
Topic: FAT32 code for MultiMedia Cards |
Tomi
Replies: 66
Views: 521141
|
Forum: Code Library Posted: Mon Mar 26, 2007 2:43 am Subject: Other functions |
Some people have problems using my FAT32 code especially with undefined functions.
You can find below some short explanations.
1. The clock functions. I use a Ricoh clock chip to get a real time c ... |
Topic: FAT32 code for MultiMedia Cards |
Tomi
Replies: 66
Views: 521141
|
Forum: Code Library Posted: Thu Mar 22, 2007 10:54 am Subject: Sorry about definitions |
Sorry for that, always include "my6720.h" what looks like this:
#byte STATUS = 0xFD8
#bit bCARRY = STATUS.0
#byte port_A = 0xF80
#byte port_B = 0xF81
#byte port_C = 0xF82
#byt ... |
Topic: FAT32 code for MultiMedia Cards |
Tomi
Replies: 66
Views: 521141
|
Forum: Code Library Posted: Thu Aug 11, 2005 7:55 am Subject: FAT32 code for MultiMedia Cards |
Just removed the dust from my old FAT32 code. Maybe it will be useful for somebody... See notes in EX_ file.
So the header file (MyMMCFat32.h):
#define MAXFILES 2
typedef struct _diskinforec
... |
|