Search found 136 matches
- Thu Mar 24, 2011 4:33 pm
- Forum: User Modules
- Topic: ISRRX Goes Away
- Replies: 8
- Views: 4448
Sounds Like a Plan
Hi, Thanks for the input Jerry. I think I already tried the reset in the packet handler, but I will try again. The other issue may be I am running at 8MHZ in the real box and my development card I used to start learning about this was at 25MHZ. At 4800 baud maybe I am not processing packets fast eno...
- Thu Mar 24, 2011 2:36 pm
- Forum: User Modules
- Topic: ISRRX Goes Away
- Replies: 8
- Views: 4448
Tried that already
Hi Jerry, I thought of that and did a overload option of 4x and 8x the packet size. It did not seem to matter I could still splatter it through my interface. I was thinking about doing a ISSRX.Initialize in the dataavailable() routine after I get a bytecount = 12. This way by the time I process the ...
- Thu Mar 24, 2011 2:19 pm
- Forum: User Modules
- Topic: ISRRX Goes Away
- Replies: 8
- Views: 4448
ISRRX Module
Hi, I took a look at the ISRRX.bas file as suggested. Although I can make the changes Jerry suggested I have to ask the silly question am I allowed too ? It seems hard to believe I am the first to run into this situation with all the Swordfish users out there. Maybe I am overlooking something silly ...
- Thu Mar 24, 2011 2:01 pm
- Forum: User Modules
- Topic: ISRRX Goes Away
- Replies: 8
- Views: 4448
Thanks
Hi Jerry,
Thanks for the input. Alias I guess I am off on another quest in the world of Swordfish and Pics. I will let ya know what I find.
Thanks for the input. Alias I guess I am off on another quest in the world of Swordfish and Pics. I will let ya know what I find.
- Thu Mar 24, 2011 12:19 pm
- Forum: User Modules
- Topic: ISRRX Goes Away
- Replies: 8
- Views: 4448
ISRRX Goes Away
Hi All, Well I am still working on figuring out ISRRX and how it behaves. I was able to decode packets now, but I am finding that when I jam a few too many packets into the RX buffer it seems to crawl off into a hole even when I stuck in a ISRRX.Initialize command on the overrun flag being set. Has ...
- Fri Mar 18, 2011 8:40 pm
- Forum: User Modules
- Topic: Interrupts
- Replies: 21
- Views: 10554
Cold Beer
Hi All,
Thanks a bunch for clarifying that Jerry. I will play with it this weekend and hopefully can get it detecting packets ok. I definitely owe you a cold beer if ya ever get to FL.
Thanks a bunch for clarifying that Jerry. I will play with it this weekend and hopefully can get it detecting packets ok. I definitely owe you a cold beer if ya ever get to FL.
- Fri Mar 18, 2011 6:42 pm
- Forum: User Modules
- Topic: Interrupts
- Replies: 21
- Views: 10554
Hi All I have been playing around with more dieas and I have narrowed it down to the USART.Write call which is breaking up my packets. Wehn I comment out the line below I get the same packet I send. When I add back in the line of code to print the bytes in a string it breaks my packet up. Works the ...
- Fri Mar 18, 2011 5:00 pm
- Forum: User Modules
- Topic: Interrupts
- Replies: 21
- Views: 10554
Solved a bit more
Hi All,
Ok it seems if I comment out the byte count message the packet comes all out in one spurt. It still does not match though. I guess I have to work some more on that. Thanks for all the patience and help Jerry
Ok it seems if I comment out the byte count message the packet comes all out in one spurt. It still does not match though. I guess I have to work some more on that. Thanks for all the patience and help Jerry
- Fri Mar 18, 2011 4:55 pm
- Forum: User Modules
- Topic: Interrupts
- Replies: 21
- Views: 10554
Kinda Figured It Out
Hi, Well after playing around with a few ideas I kinda figured it out, but I still see a issue I do not understand. When I was typing a packet in the TX window of the Serial terminal in Swordfish I was putting spaces in between Bytes to make it easier to read for me. I forgot a space is also a charc...
- Fri Mar 18, 2011 2:23 pm
- Forum: User Modules
- Topic: Interrupts
- Replies: 21
- Views: 10554
Same result
Hi, I made the changes and did as you said. I saved the USART.BAS file in my project folder, and also in the library folder under the swordfish path. I still get a partial packet out. I saw you added a break in the loop. This did not seem to do much except now I get out 4-5 charcters instead of 7-8....
- Fri Mar 18, 2011 1:24 pm
- Forum: User Modules
- Topic: Interrupts
- Replies: 21
- Views: 10554
Thanks Jerry
Hi Jerry, Here is my whole serial test file. Thanks for taking a peek. I can sent the same 12 byte packet over and over manually and it repeats spitting out the same 7-8 bytes before it quits consistently. Like I said earlier when I send the packet again the rest of the previous packet comes out and...
- Fri Mar 18, 2011 11:42 am
- Forum: User Modules
- Topic: Interrupts
- Replies: 21
- Views: 10554
Another Question
Hi, Well I played around all nite with the interrupt routines running together and charcters definitly seems to come and go while the LED blinks. I did however run into a issue when trying to pull all of the bytes out of the RX buffer. It seems when I loop after a packet is received, and try to writ...
- Thu Mar 17, 2011 5:20 pm
- Forum: User Modules
- Topic: Interrupts
- Replies: 21
- Views: 10554
It's Alive !!!!!
Wheeeee!!!!!!!
Well Jerry is truly DA MAN!!!!!!
I finally got Hello World to come out with interrupts running thx to all here, and espically Jerry. I look forward to playing more with the Swordfish Compiler in the future, and hopefully I will get better at writing code.
Thanks again
Well Jerry is truly DA MAN!!!!!!
I finally got Hello World to come out with interrupts running thx to all here, and espically Jerry. I look forward to playing more with the Swordfish Compiler in the future, and hopefully I will get better at writing code.
Thanks again
- Thu Mar 17, 2011 5:08 pm
- Forum: User Modules
- Topic: Interrupts
- Replies: 21
- Views: 10554
Thanks
Hi,
Thanks for pointing that out Jerry and looking at it. I thought when ya specified the clock rate and part the compiler handled the Bit Error % for me. I will try the changes you suggested and see what I get.
Thanks
Thanks for pointing that out Jerry and looking at it. I thought when ya specified the clock rate and part the compiler handled the Bit Error % for me. I will try the changes you suggested and see what I get.
Thanks
- Thu Mar 17, 2011 1:53 pm
- Forum: User Modules
- Topic: Interrupts
- Replies: 21
- Views: 10554
Hi All, Well I guess I am stumped again. I tried the Code Jerry was so kind to post for me yesterday. I added in a line to print Hello every 5 seconds and also to echo back what is received any other time. When I connect to the serial port of the CCS development card I am using I get garbage charcte...