User:Mikeqin: Difference between revisions
Jump to navigation
Jump to search
Add character count |
No edit summary |
||
Line 13: | Line 13: | ||
* Calculate character count | * Calculate character count | ||
echo character | wc -m | echo character | wc -m | ||
* Add user to vbox group | |||
sudo usermod -a -G vboxsf YOUR_USER_NAME | |||
sudo reboot | |||
* LPCXpresso6/7 in Ubuntu12.04 Server(64bit) | |||
it is very unstable,just because usb3.0 and 32bit usb lib. |
Revision as of 12:36, 17 April 2014
Contact
Fengling.Qin@gmail.com
Dev Log
- Use Milkymist One JTAG/Serial for common user
Edit udev rules( for example:/etc/udev/rules.d/99-mike.rules Add SUBSYSTEMS=="usb", ATTRS{idVendor}=="20b7", ATTRS{idProduct}=="0713" GROUP="YOUR_USER_GROUP" to the end of the file. YOUR_USER_GROUP(mikeqin)
- Convert char to hex
use shell:echo -n convertstr | xxd -r -p use c: call pipe function(popen,fread,pclose)
- Calculate character count
echo character | wc -m
- Add user to vbox group
sudo usermod -a -G vboxsf YOUR_USER_NAME sudo reboot
- LPCXpresso6/7 in Ubuntu12.04 Server(64bit)
it is very unstable,just because usb3.0 and 32bit usb lib.