mchck / programmer

SWD programmer
GNU General Public License v3.0
21 stars 11 forks source link

No such file or directory @ rb_sysopen - name=buspirate #11

Closed sabas1080 closed 8 years ago

sabas1080 commented 8 years ago

Hi

I have the next error with Bus Pirate and flash.rb

ruby -I. flash.rb name=buspirate:dev=/dev/ttyUSB0
flash.rb:26:in `read': No such file or directory @ rb_sysopen - name=buspirate:dev=/dev/ttyUSB0 (Errno::ENOENT)
    from flash.rb:26:in `readbins'
    from flash.rb:36:in `<main>'

Thanks

sabas1080 commented 8 years ago

Solution:

ruby -I. flash.rb --adapter=buspirate,dev=/dev/ttyUSB0 test.bin 0x00000000

Thanks