Search found 26 matches
- Thu Jan 29, 2009 9:49 pm
- Forum: Compiler
- Topic: USB and SDFileSystem memory over alocation error
- Replies: 10
- Views: 5083
Have found a different problem, Why would the following two lines add 329 bytes to variable useage?? DispString = DecToStr(ValSet(19),2) + "/"+DecToStr(ValSet(20),2) + "/" + DecToStr(ValSet(21),2) + " " DispString = DispString + DecToStr(ValSet(21),2) + ":" + DecToStr(ValSet(22),2) + ":" + DecToStr(...
- Thu Jan 29, 2009 6:39 pm
- Forum: Compiler
- Topic: USB and SDFileSystem memory over alocation error
- Replies: 10
- Views: 5083
Forgot one other problem. Since i am using timer1 in both the ISRTimer and USB also uses timer1 there is a conflict. I am using timer1 as a pseudo rtc to keep time when in a battery backup mode. So I need timer1 to be available. I would also need to have the USB modual use a different timer. Soundin...
- Thu Jan 29, 2009 6:31 pm
- Forum: Compiler
- Topic: USB and SDFileSystem memory over alocation error
- Replies: 10
- Views: 5083
I compiled my version with USART and had 1461 bytes of ram use. My program uses some where less than 70 bytes of ram. USB ram allocation begins at $4B8 (1208). I would need a min of ~250 bytes, the 224 bytes left at the top of the ram allocated for usb is not enough. After a couple rough calculation...
- Thu Jan 29, 2009 5:34 am
- Forum: Compiler
- Topic: USB and SDFileSystem memory over alocation error
- Replies: 10
- Views: 5083
USB and SDFileSystem memory over alocation error
using an 18f2550 the following moduals: sdfilesystem usbcdc ADC LCD ISRTimer Convert I am converting a project from USART to USBCDC. first i had an error in the isrtimer that the interupt vector had already been enabled. I commented out the "Timer.Start" line and then recieved an variable allocation...
- Wed Oct 22, 2008 10:17 pm
- Forum: Modules
- Topic: SDFileSystem.bas ???
- Replies: 37
- Views: 23169
- Wed Oct 22, 2008 9:28 pm
- Forum: Modules
- Topic: SDFileSystem.bas ???
- Replies: 37
- Views: 23169
- Wed Oct 22, 2008 8:59 pm
- Forum: Modules
- Topic: SDFileSystem.bas ???
- Replies: 37
- Views: 23169
In order to check if the DI, DO lines where reversed i changed to SW control and set the SD_DO etc. to their respective pins on the chip. While in SW control i reversed the SD-DI and SD_DO pins all resulted in the same result. Included my code below so you can see where i added the SW control parts....
- Wed Oct 22, 2008 4:58 pm
- Forum: Modules
- Topic: SDFileSystem.bas ???
- Replies: 37
- Views: 23169
Down loaded the new version from wiki. Made the code changes relating to Init. Added line to send the error number from init to usart. I get error 10, noresponse. I am using a microSD card and connector. The pinout is diferent from the SD card example in the help file. I have check this with the pin...
- Wed Oct 22, 2008 1:37 pm
- Forum: Modules
- Topic: SDFileSystem.bas ???
- Replies: 37
- Views: 23169
- Wed Oct 22, 2008 1:19 pm
- Forum: Modules
- Topic: SDFileSystem.bas ???
- Replies: 37
- Views: 23169
I received the compiler a week ago. Have been using the version on the disk. After reading some of your previous posts I clicked the "online update". Still having the same problem. Are the "online update" files the same as on wiki? Have not changed the pullups to 2.2K or added the pullup on the CS l...
- Wed Oct 22, 2008 5:23 am
- Forum: Modules
- Topic: SDFileSystem.bas ???
- Replies: 37
- Views: 23169
Just starting to play with SD memory. I am using microSD cards. Trying the basic read write program that is in the sample directory. The init seems to run in a loop, like the processor is restarting the program over and over. I tried adding 10K pull ups on the SDO and SDI lines and still am stuck in...