CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Search found 10 matches
CCS Forum Index
Author Message
  Topic: Double float precision
miky

Replies: 0
Views: 2777

PostForum: General CCS C Discussion   Posted: Wed Dec 15, 2010 7:18 am   Subject: Double float precision
The double float (64bit) with dspics (e.g. 4.104) does not show the expected precision with almost any function except the basic +-*/ . Is that a feature?
miky
  Topic: 18F252 and CCS Bootloader.c
miky

Replies: 2
Views: 3990

PostForum: General CCS C Discussion   Posted: Wed May 16, 2007 4:15 pm   Subject: 18F252 and CCS Bootloader.c
Hi, I am using TinyBootLoader, v1.9.3, it is only 100bytes long and works with 16f88, 16f876,7, 18f252,452...
Miky
  Topic: FaT32 (Tomi's) on 18f452
miky

Replies: 0
Views: 2650

PostForum: General CCS C Discussion   Posted: Wed May 16, 2007 3:44 pm   Subject: FaT32 (Tomi's) on 18f452
Hi,
I am trying to run Tomi's fat32 on 18f452 with a SD 512MB card (MAXFILES=1). The ram space is used for 83%. The only change is the init_mmc (mod for SD) and I do not use #locate.
So far I can in ...
  Topic: FAT32 code for MultiMedia Cards
miky

Replies: 66
Views: 547167

PostForum: Code Library   Posted: Sat May 12, 2007 2:00 pm   Subject: FAT32 code for MultiMedia Cards
.. fputstring written text is at [b]F8200[/b]..
  Topic: FAT32 code for MultiMedia Cards
miky

Replies: 66
Views: 547167

PostForum: Code Library   Posted: Sat May 12, 2007 1:57 pm   Subject: FAT32 code for MultiMedia Cards
Tomi,
I've fixed the SD init, so no it initialise the SD. However, I see some strange thing in this example(using 18f452, Maxfiles = 1, ram 83% full):


printf("\n\r Start MMC init \n\r&qu ...
  Topic: FAT32 code for MultiMedia Cards
miky

Replies: 66
Views: 547167

PostForum: Code Library   Posted: Tue May 08, 2007 4:52 am   Subject: FAT32 code for MultiMedia Cards
Tomi,
so this is what I would say shall work (but does not):

char MMCInit()
{
char response,iii,errcnt;

//restart_wdt();
output_high(ChipSel);
//output_high(ChipClk);
//outp ...
  Topic: FAT32 code for MultiMedia Cards
miky

Replies: 66
Views: 547167

PostForum: Code Library   Posted: Tue May 08, 2007 4:42 am   Subject: FAT32 code for MultiMedia Cards
Hi Tomi,
I managed to get compiled the code on 452 (83%mem) by cutting off the #locate. However, the init of the card is now the issue (at least for me..)
I am using SD card 512MB. The init command ...
  Topic: FAT32 code for MultiMedia Cards
miky

Replies: 66
Views: 547167

PostForum: Code Library   Posted: Mon May 07, 2007 9:25 am   Subject: FAT32 code for MultiMedia Cards
Tomi,
the 18f452 ram ends 5FFh. When going from top to bottom (the difference is 900h):
#locate FATTable = 0x0800 -> -100 ??
#locate gFiles = 0x0A00 -> 100h ??
#locate gFAT32Var ...
  Topic: FAT16 file system for MMC using SPI interface
miky

Replies: 28
Views: 258017

PostForum: Code Library   Posted: Sun May 06, 2007 12:37 pm   Subject: FAT16 file system for MMC using SPI interface
Hi Douglas,
trying to run the code on 18f452 (20Mhz) on Kingstone 512MB SD card. I've changed the init:
c=mmc_cmd(0x77,0x00000000,128,0x00,0x99);
c=mmc_cmd(0x69,0x00000000,128,0x00,0x99);
...
  Topic: FAT32 code for MultiMedia Cards
miky

Replies: 66
Views: 547167

PostForum: Code Library   Posted: Sun May 06, 2007 12:14 pm   Subject: FAT32 code for MultiMedia Cards
Hi Tomi,
I am trying to put your code into 18f452 - is there any chance to change
#locate FATTable = 0x0800
#locate gFiles = 0x0A00
#locate gFAT32Vars = 0x0E70
#locate DiskInfo = 0x0E90

so it ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group