![]() |
Forum Index : Microcontroller and PC projects : Still Problem with MM+ WIN10/ USB Console
![]() ![]() |
|||||
Author | Message | ||||
Geoffg![]() Guru ![]() Joined: 06/06/2011 Location: AustraliaPosts: 3285 |
Yes, I agree that a serial console is better than a USB console and I use it in preference. This is why I left the serial console in the Micromite Plus. Interestingly, when I released the original Micromite I got more than a few complaints because a USB console was not supported. Thinking back on it I believe that the complainers were basing their thoughts on the Maximite which was a computer and they are rebooted rarely. The Micromite is more controller orientated and the constant reboots make it difficult to use a USB console. However the Micromite Plus is different, for a start it was intended to be much more sophisticated than the standard Micromite and USB was a natural feature. Also a lot of people will be using it as just a computer and a USB console works fine in that environment. Another factor is that the USB console is entirely optional and you can continue to use a serial console with only the loss of three pins which is of little consequence when you have up to 100. Finally, I have more plans for USB on the MM+ including using it for USB keyboard support. I have the code for this, it is just a big job to integrate it into the interpreter and other priorities have pushed it back. Geoff Geoff Graham - http://geoffg.net |
||||
WhiteWizzard Guru ![]() Joined: 05/04/2013 Location: United KingdomPosts: 2934 |
@Geoff If you were to integrate a USB keyboard, would it interface with the PICs D+, D- and Vusb pins only or would it use other pins instead/also? Thanks ![]() |
||||
Geoffg![]() Guru ![]() Joined: 06/06/2011 Location: AustraliaPosts: 3285 |
I think that it can be done using the existing socket and a USB OTG adapter (often used with mobile phones). Geoff Graham - http://geoffg.net |
||||
isochronic Guru ![]() Joined: 21/01/2012 Location: AustraliaPosts: 689 |
I use mcp2200's which works well, at 115kbps I can leave the pickit3 connected to the icsp pins and reprogram the pic32 on-line without the usb dropping state. When the pic32 is reset by the pickit3 it cheerfully displays the start banner/menu/prompt and is good to go, you don't have to disconnect etc. The mcp2200 use extra components eg a crystal but then again they also have the usb termination resistors etc deliberately to handle usb cabling. I have a concern with using ordinary micros to connect usb as the usb has all sorts of hash, spikes, etc let alone someone getting a static charge from walking across a room and accidentally zapping it - the pic ports were not designed for that. I am probably biased... but I once bought a batch of eight 2200's or so, from a third party, and on receipt I found that some well-intentioned soul had stuck them into ordinary polystyrene - and then stuck them in with sellotape. When I removed them and peeled back the tape, there was so much static that little bits of the polystyrene jumped to the chips and held there..Like an "electrophorous" of old. I didn't think the ics would have a chance. But they worked fine. (!!!) |
||||
MicroBlocks![]() Guru ![]() Joined: 12/05/2012 Location: ThailandPosts: 2209 |
'ordinary' chips like the mcp2200 which is just a standard pic controller have a USB device built in which have all the required parts to protect and handle usb cables. Microblocks. Build with logic. |
||||
isochronic Guru ![]() Joined: 21/01/2012 Location: AustraliaPosts: 689 |
Microchip make a point of 4kv static protection for the 2200. I don't know if that is the usb module or not though. Nuts and Volts magazine had a 1455 project and I considered it then, but some people had problems - I gather the "cycle stealing" approach was a bit prone to usb noise (that was the impression at least). Your projects look pretty reliable though, I'll try them as my 2200's run out ![]() ![]() |
||||
Chris Roper Senior Member ![]() Joined: 19/05/2015 Location: South AfricaPosts: 280 |
Do you know which issue of Nuts & Volts that was? I would be interested to read it. Cheers Chris http://caroper.blogspot.com/ |
||||
isochronic Guru ![]() Joined: 21/01/2012 Location: AustraliaPosts: 689 |
I'll try to find it, it was over a few years ago though so it may take a while. I had a printout of the (minimalist) circuit diagram but not the magazine |
||||
Chris Roper Senior Member ![]() Joined: 19/05/2015 Location: South AfricaPosts: 280 |
Thanks, I did a search on the Nuts & Volts website but the only reference to 16f1455 I could find was to the December 2015 issue where it was mentioned as one of the devices compatible with the Curiosity Development Board. http://caroper.blogspot.com/ |
||||
isochronic Guru ![]() Joined: 21/01/2012 Location: AustraliaPosts: 689 |
I am sorry to say I can't find it (yet). The website has been rebuilt since I used it, the previous version had a "preview" function that I used at the time. There were a few articles based on it, and similar with 18f's, the idea was that instead of a crystal as a frequency source the chip was largely passive until usb data arrived, and the data was then used as signal to set up the frequency etc (I assume the initial data packet was then re-sent?). I think the problem was when the usb was also used as a power source, particularily without realistic caps, and so noise impacted both the power and the signal. The forums had some code at the time but I haven't looked recently. |
||||
Grogster![]() Admin Group ![]() Joined: 31/12/2012 Location: New ZealandPosts: 9594 |
EDIT: Whoops! Posted on the wrong thread. ![]() ![]() ![]() Smoke makes things work. When the smoke gets out, it stops! |
||||
![]() ![]() |
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |