Been looking around the forum and it seems that USB initialize creates a lockup - I have the same issue. Was there a fix for this? I'm using FC5. When I diable the USB init component, the program runs fine.
Thanks
pic18f4455 [4550] USB no go
Moderator: Benj
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: pic18f4455 [4550] USB no go
Hello,
The USB initialise will wait until the PC sees the USB device and installs drivers for it. So either you have not installed the USB driver or the device is running at a incompatible speed for USB which means you should get an unrecognised device.
Please can you check your device manager and post your Flowcode project as well as your oscillator specifics so we can get your project setup correctly.
USB is known to work well in v5 and v6 and only recently has had problems in v7 which we have now tackled. So we should be able to get you up and running.
The USB initialise will wait until the PC sees the USB device and installs drivers for it. So either you have not installed the USB driver or the device is running at a incompatible speed for USB which means you should get an unrecognised device.
Please can you check your device manager and post your Flowcode project as well as your oscillator specifics so we can get your project setup correctly.
USB is known to work well in v5 and v6 and only recently has had problems in v7 which we have now tackled. So we should be able to get you up and running.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 67
- Joined: Tue Sep 16, 2008 2:09 pm
- Location: Minnesota USA
- Has thanked: 4 times
- Been thanked: 17 times
- Contact:
Re: pic18f4455 [4550] USB no go
Thanks Ben -
Most likely, I have driver install issues - I did right click on the generated driver to install it. After some messing around turning off signature validation, I succeeded the install. However, when I plug in the USB cable, I don;t get any action in the control panel section showing USB devices.
Most likely, I have driver install issues - I did right click on the generated driver to install it. After some messing around turning off signature validation, I succeeded the install. However, when I plug in the USB cable, I don;t get any action in the control panel section showing USB devices.
-
- Posts: 67
- Joined: Tue Sep 16, 2008 2:09 pm
- Location: Minnesota USA
- Has thanked: 4 times
- Been thanked: 17 times
- Contact:
Re: pic18f4455 [4550] USB no go
I'm running the osc at 8mhz internal - I know the frequency is correct, because my LED can flash at the interval I expect for a known delay. Do I have to do something special when using the internal osc?
-
- Valued Contributor
- Posts: 2045
- Joined: Wed Aug 27, 2008 10:31 pm
- Location: Netherlands
- Has thanked: 553 times
- Been thanked: 1081 times
Re: pic18f4455 [4550] USB no go
USB requires a frequency of 48MHz. Check the data sheet for possible settings of the oscillator.
“Integrity is doing the right thing, even when no one is watching.”
― C.S. Lewis
― C.S. Lewis