When can we expect a USB library in MicroPascal? Something along the lines of the C routines providing virtual RS232 as described in the MTI document AN956 would be very interesting.
Is there anyone else out there who would like to migrate from RS232 to USB comms?
Mike from Ryton, UK
USB
Re: USB
There is already a USB hid library for 18F4550 and 18F2550. Is it the one you need, or you refer to something else?
Thanks for the comments, guys. You have made me think about what I’m really after! One of the common uses of RS232 is to link a pic device to a PC. I’m doing some feasibility investigations in this area concerned with dockable mobile devices that look a bit like data-loggers. In some of the applications there is a lot of data but the idea of transferring an SD card for example is not as attractive as having a docking station and a direct link. Clearly something more functional then a USB HID is needed.
So, what I really (really) want is to be able to make a pic application look like a standard memory stick connected to a USB 2 port on a pc. And I would like a FAT file handling library in Pascal which could be used in conjunction with external media such as SD, with connected memory or with internal ram.
Not much eh!
Mike from Ryton
So, what I really (really) want is to be able to make a pic application look like a standard memory stick connected to a USB 2 port on a pc. And I would like a FAT file handling library in Pascal which could be used in conjunction with external media such as SD, with connected memory or with internal ram.
Not much eh!
Mike from Ryton
Just read the help file. There is a library for SD/MMC FAT for the PIC.And I would like a FAT file handling library in Pascal which could be used in conjunction with external media such as SD
For the USB that is not a HID i can't help
Another proud user of LV 24-33A Development System and mikroPascal PRO for dsPIC :)
PortA not working? Add CMCON := 7; PortD not working? Add ADCON1 := 6;
To paste code on the forum, please use the [b] Code [/b] button !! ;)
PortA not working? Add CMCON := 7; PortD not working? Add ADCON1 := 6;
To paste code on the forum, please use the [b] Code [/b] button !! ;)