User:Mikeqin: Difference between revisions

From Bitcoin Wiki
Jump to navigation Jump to search
Line 8: Line 8:
   YOUR_USER_GROUP(mikeqin)
   YOUR_USER_GROUP(mikeqin)
* Convert char to hex  
* Convert char to hex  
   in shell:echo -n convertstr | xxd -r -p
   use shell:echo -n convertstr | xxd -r -p
   in c: use pipe
   use c: call pipe function(popen,fread,pclose)

Revision as of 10:56, 16 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)