Search found 136 matches

by Widgetman
Mon Dec 29, 2008 5:35 pm
Forum: User Modules
Topic: FAT or FAT32
Replies: 4
Views: 4037

Hi Steven,
I forgot to mention I am using a 16F67J60 part at 25MHZ, and I am running 115200 N,8,1 on the Baud Rate. It is possible I am jamming characters out too fast so is there a way to detect when the TX buffer is truly empty so I know it is ok to send the next character ?
Thanks
by Widgetman
Mon Dec 29, 2008 5:31 pm
Forum: User Modules
Topic: FAT or FAT32
Replies: 4
Views: 4037

Hi Steven, I am pretty sure it is something stupid I am doing. Listed below is a sample code snippet that should work. I just wanted someone to give me a sanity check so I know where to go looking for my problem. I had switched over to the latest SD File Library, and started having issues. Unfortune...
by Widgetman
Mon Dec 29, 2008 4:33 pm
Forum: User Modules
Topic: FAT or FAT32
Replies: 4
Views: 4037

I forgot to mention that I am aware that FAT file size limitation is suppose to be 4GB. I am only seeing this using the SDFilesystem library, and when I stick my SD card into windows it sees the card and opens the file just fine. I am hoping it is just something silly I am doing. Thanks Limitations ...
by Widgetman
Mon Dec 29, 2008 4:29 pm
Forum: User Modules
Topic: FAT or FAT32
Replies: 4
Views: 4037

FAT or FAT32

Hi, I ran into a issue with the SDFileSystem Library and I am not quite sure what is going on. It seems that if you have a SD Card formatted as FAT and try to read a file > 640K using the EOF marker that it quits when it reaches 640K. Is there a work around to this so that it will read a file past 6...
by Widgetman
Mon Apr 21, 2008 12:22 pm
Forum: User Modules
Topic: Software Reset
Replies: 4
Views: 3625

Hi DOJ, I got it to work, but depending on where I place the ASM routine in the list of other subroutines I get different results. I had to place it as the first subroutine after my Dim statements. If I put it at the end I did not get a clean reset when my code finished at the bottom of the file. Wh...
by Widgetman
Sun Apr 20, 2008 9:27 pm
Forum: User Modules
Topic: Software Reset
Replies: 4
Views: 3625

Hi DOJ,
I did try that and found that some of my variables did not get initialized correctly so I assumed I was doing something wrong. I will investigate some more and see if I can figure out why my code works differently if I cycle power vs using the ASM routine you posted.
Thanks
by Widgetman
Sun Apr 20, 2008 8:32 pm
Forum: User Modules
Topic: Software Reset
Replies: 4
Views: 3625

Software Reset

Hi All,
Does anyone know how to do a effective equivalent to a Hardware reset thru Software ?
I tried using a absolute GOTO, but that does not reset everything. Any thoughts are appreciated.
thanks
by Widgetman
Tue Apr 15, 2008 11:37 am
Forum: Modules
Topic: USART.WaitFor Question
Replies: 6
Views: 5025

Hi DOJ,
Thanks a bunch I will play with that and see what I get
by Widgetman
Mon Apr 14, 2008 5:11 pm
Forum: User Modules
Topic: ReadSerial Issue
Replies: 3
Views: 3327

Hi RadioT
I thought about that but th4e RX routine is interrupt driven and really fast. I have a continious stream also of data @115200 so that makes a debug line hard. I was hoping someone had used this function b4 and knew it better than me.
by Widgetman
Mon Apr 14, 2008 2:44 pm
Forum: User Modules
Topic: ReadSerial Issue
Replies: 3
Views: 3327

ReadSerial Issue

Hi All, I am using the Read Serial routine listed below with some tweaks. I an running a counter and when I see two bytes in a row of a certain pattern I allow the counter to increment to a value of 2. Any other time it should be either 1 or 0. the issue I have is my count of 2 never fires and yet I...
by Widgetman
Mon Apr 14, 2008 2:40 pm
Forum: Modules
Topic: USART.WaitFor Question
Replies: 6
Views: 5025

Hi DOJ, I have been playing with it and discovered it works using the USART.WaitFor($8A) as a example. The issue I am seeing is it works the first time I use the call, but other calls below the first one seem intermittent at best. I suspect there is a flag gettin cleared in the first trigger, and do...
by Widgetman
Mon Apr 14, 2008 12:38 am
Forum: Modules
Topic: USART.WaitFor Question
Replies: 6
Views: 5025

USART.WaitFor Question

Hi All,
Does anyone know how to wait for a specific sequence of characters coming in on a USART. I am trying to use the USART.WaitFor() routine, but it only takes 1 character as a trigger. Any thoughts would be appreciated.
Thanks
by Widgetman
Sun Apr 13, 2008 12:57 pm
Forum: Modules
Topic: LCD Question
Replies: 3
Views: 3611

Hi All, I tried to change the LCD.bas library to specify my LCD control and data bits on PORTF instead of PORTB. I am using a development card with a 18F67J60 part on it and my design has the LCD on PortF Bits 1-7. After I changed the Port in the LCD library it complains of not having a valid port a...
by Widgetman
Sun Apr 13, 2008 12:35 pm
Forum: Modules
Topic: LCD Question
Replies: 3
Views: 3611

Hi,
After looking at the schematic for the development card I am using it appears the upper for data bits are used to write the display and the lower 4 bits are NC. I think it is a 4 bit interface and not a 8 bit. maybe the existing routines would work after all ??
Thanks
by Widgetman
Sun Apr 13, 2008 12:26 pm
Forum: Modules
Topic: LCD Question
Replies: 3
Views: 3611

LCD Question

Hi All, I am trying to figure out how to write to a LCD display on my development card I am using. It has a LCM-SO1602DTR/M display on it which is 8 bit for data. Is there any examples available I could look at to figure out how to map it using the LCD.bas library or do I have to create a Library sp...