Comments (8)
"Search" (on the VEXNet update program) appears to send a usb control message with the following fields:
- request = 09h (HID SetReport)
- value = 0200h
- index = 0h
- data : 63 bytes of FFh followed by 1 byte of 28h or 40h. 40h is sent to MC, 28h to OI.
Championship 2010 Firmware:
This causes the device to alter its interrupt transfer so that the 0x3C and 0x3D bytes in that trans fer change from 00 00 to 02 04 (in the current case I'm testing, MC coms)
Firmware 2.3:
No change seen following command.
The same command is sent to both OI and MC.
from hax.
EasyC can also program through the direct USB link (EasyC for Cortex). I'm attaching USB-sniffer logs taken during the download of the default EasyC firmware onto a Cortex chip.
from hax.
Hm, can't seem to attach it on github. Message me if you're interested in the logs.
from hax.
I am. Very interested.
from hax.
This is now doable with the latest LPC firmware, at least on Windows. I haven't thrown together a Linux driver yet. First, flash the Cortex to the latest firmware, and install the VeXNET serial driver for Windows from the VeX site. Then, put the Cortex into config mode, and plug it into your machine with any usb-to-usb cable. With the new driver, the Cortex now shows up as a USB CDC device instead of a USB HID device. The VeX windows driver emulates a COM port for it, and this can be used with utilities like stm32flash. On Linux, I haven't found a driver that does the emulation properly yet, but USB CDC is much eaasier to work with than USB HID.
from hax.
Hey, i took a look at the "VeXNET serial driver" when it initially came out. All it does is tell windows to use the standard usbserial driver, so all that is needed on linux is to add the vid/pid to a list in the kernel.
from hax.
nods
It's a little tricker than that - I tried doing that, but the input and output lines are reversed from the Linux defaults. I still need to do some more research here.
from hax.
Could you clarify what you mean by "the input and output lines are reversed from the Linux defaults"?
from hax.
Related Issues (20)
- Excessive typedefs in hax.h
- Random arch-* branches. HOT 1
- Downloads (Tags) sorted alphabetically, not by date HOT 2
- Missing 'test' project HOT 3
- Cross-Platform Pin Indexing HOT 7
- Current Master fails to build pic. And possibly cortex. HOT 1
- Cortex target missing old style OI support.
- Generate gh-pages with ASCIIDoc
- Cortex support for the first-generation OI
- USART IO over direct USB HOT 7
- Request for more documentation/info HOT 3
- License clarification HOT 3
- Absolute include path in default.h HOT 2
- Build system with arbitrarily-located targets HOT 3
- Missing timer API
- No Cortex Support HOT 2
- Two-Wire Motor Support HOT 2
- Cortex Digital Output Support HOT 3
- SDCC PIC Support HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hax.