|
Hey all. I've just tried bhgv's OpenOCD tweak on my Nano Pi NEO Air (same Orange Pi's AllWinner H3). In order to make it work properly (used it to program an STM32L053R8), I had to change the following line in src/jtag/drivers/sysfsgpio.c, line 187:
- pinMode(gpio, is_output ? (init_high ? HIGH : LOW) : INPUT);
Copy code
to
- pinMode(gpio, is_output ? OUTPUT : INPUT);
Copy code
Otherwise, sometimes an output pin would be set to input.
Overall, everything worked. Thanks  |
|