USB Modules released...
http://www.sfcompiler.co.uk/forum/viewtopic.php?t=118
Search found 1197 matches
- Fri Jan 26, 2007 2:14 pm
- Forum: Compiler
- Topic: boot loader
- Replies: 5
- Views: 3589
- Fri Jan 26, 2007 2:06 pm
- Forum: Announcements
- Topic: USB Support
- Replies: 0
- Views: 8971
USB Support
Swordfish USB modules are now available. The USB HID module enables you to send and receive structured data from microcontroller to PC via a USB connection. The USB CDC module acts like a RS232 Virtual COM Port (VCP). Registered Swordfish users should just select VIEW...ONLINE UPDATES from the IDE t...
- Wed Jan 24, 2007 5:05 pm
- Forum: Compiler
- Topic: Questions about compiler generated code
- Replies: 9
- Views: 5332
- Wed Jan 24, 2007 4:39 pm
- Forum: Compiler
- Topic: What does this syntax mean ?
- Replies: 1
- Views: 1931
- Wed Jan 24, 2007 4:36 pm
- Forum: Compiler
- Topic: Questions about compiler generated code
- Replies: 9
- Views: 5332
Sorry, I misunderstood your question - I thought you were referring to names generated by the compiler. As far as swordfish is concerned you can call an interrupt anything you like...It's just a name given to either a low or high interrupt source. What you do inside, and what interrupts are actually...
- Wed Jan 24, 2007 4:15 pm
- Forum: Compiler
- Topic: Questions about compiler generated code
- Replies: 9
- Views: 5332
- Wed Jan 24, 2007 3:47 pm
- Forum: Compiler
- Topic: Questions about compiler generated code
- Replies: 9
- Views: 5332
> 1- Is there any cases where the compiler uses the Stack to > pass parameters to functions or to store local variables of > functions ? or does he use it only for storing the return address > of functions call? No > 2- If a sub is NOT of type TEvent, we can get its address using > the AddressOf() o...
- Mon Jan 22, 2007 8:12 pm
- Forum: Modules
- Topic: USB support ?
- Replies: 9
- Views: 6604
Well, you certainly do pick up a few things along the way although I have to admit that the main 'USBSystem' module is a port from the microchip C libraries. I've pretty much left the code as is, so this should allow people who want to dig really deep into USB to reference much of the microchip docu...
- Sun Jan 21, 2007 7:08 pm
- Forum: Modules
- Topic: USB support ?
- Replies: 9
- Views: 6604
As soon as I have something ready I will post an announcement on the forum. The code is rather complex and I won't be releasing it until I'm sure it all works OK. It's all written in Swordfish BASIC, no ASM... I am implementing both USB HID and CDC. The HID module offers transfer rates of 64KBytes s...
- Thu Jan 18, 2007 11:41 am
- Forum: Compiler
- Topic: What does Access modifier do ?
- Replies: 2
- Views: 2347
- Thu Jan 18, 2007 11:29 am
- Forum: Compiler
- Topic: Call a User Definced Function from ASM code
- Replies: 3
- Views: 2869
- Thu Jan 18, 2007 11:08 am
- Forum: Compiler
- Topic: Call a User Definced Function from ASM code
- Replies: 3
- Views: 2869
function MyUserSubroutine( SomeParam as byte) as byte result = SomeParam end function sub MyCallingSubroutine(myParam as byte) asm ; set bit Value... movf DataPort, W andwf MakeLow, W btfsc STATUS, C iorwf MakeHigh, W movwf DataPort end asm Value = MyUserSubroutine(myParam) asm decfsz Index, F bra ...
- Wed Jan 17, 2007 12:51 pm
- Forum: Compiler
- Topic: Compiler Command Line Options
- Replies: 5
- Views: 3555
- Wed Jan 17, 2007 12:31 pm
- Forum: Compiler
- Topic: Compiler Command Line Options
- Replies: 5
- Views: 3555
> 1- The fact that there is no command line options, does this mean > that to compile a file using the command line compiler... You have to compile via the IDE. Command line is not supported at the current time. > 2- Is it possible to compile a module alone ? see this thread... http://www.sfcompiler...