You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I want to run current master branch with my nrf51 & BusPirate, I get the following error:
$ ruby -I. nrf51.rb name=buspirate:dev=/dev/ttyUSB0
/home/floe/src/programmer.git/adiv5-swd.rb:36:in `reset': undefined method `flush!' for #<BitbangSwd:0x000000023d2eb0> (NoMethodError)
from /home/floe/src/programmer.git/adiv5-swd.rb:30:in `switch_to_swd'
from /home/floe/src/programmer.git/adiv5-swd.rb:21:in `initialize'
from /home/floe/src/programmer.git/backend-driver.rb:17:in `new'
from /home/floe/src/programmer.git/backend-driver.rb:17:in `create'
from /home/floe/src/programmer.git/backend-driver.rb:43:in `from_string_set'
from /home/floe/src/programmer.git/backend-driver.rb:47:in `from_string'
from nrf51.rb:170:in `<main>'
I can work around that by adding an empty flush! method in swd-bitbang.rb, but then I immediately run into the next error:
$ ruby -I. nrf51.rb name=buspirate:dev=/dev/ttyUSB0
nrf51.rb:8:in `detect': undefined method `IDR' for nil:NilClass (NoMethodError)
from /home/floe/src/programmer.git/armv7.rb:22:in `initialize'
from nrf51.rb:12:in `initialize'
from nrf51.rb:171:in `new'
from nrf51.rb:171:in `<main>'
And I'm not familiar enough with the code to tell why that happens... (even though it seems to be just like the solution in stm32.rb).
The text was updated successfully, but these errors were encountered:
When I want to run current master branch with my nrf51 & BusPirate, I get the following error:
I can work around that by adding an empty
flush!
method in swd-bitbang.rb, but then I immediately run into the next error:And I'm not familiar enough with the code to tell why that happens... (even though it seems to be just like the solution in stm32.rb).
The text was updated successfully, but these errors were encountered: