Comments (5)
from gap_sdk.
Hey,
Thank you for your response. I have tried to use the openOCD as a bridge. I started with your instructions first, but that gave me the following error message
Generating files (header offset: 0xc400)
Adding component (name: Mnist_L3_Flash_Const.dat, flashOffset: 0xc434)
112576
Open On-Chip Debugger 0.10.0+dev-gc0bf3edc (2020-01-08-16:56)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
Warn : Interface already configured, ignoring
TARGET create
Info : core 0 selected
Info : gap8_adv_debug_itf tap selected
Info : adv_dbg_unit debug unit selected
Info : Option 7 is passed to adv_dbg_unit debug unit
GAP8 INIT TARGET
Error: no device found
Error: unable to open ftdi device with vid 15ba, pid 002b, description 'Olimex OpenOCD JTAG ARM-USB-OCD-H', serial '*' at bus location '*'
Open On-Chip Debugger 0.10.0+dev-gc0bf3edc (2020-01-08-16:56)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
Warn : Interface already configured, ignoring
TARGET create
Info : core 0 selected
0
Info : gap8_adv_debug_itf tap selected
Info : adv_dbg_unit debug unit selected
Info : Option 7 is passed to adv_dbg_unit debug unit
GAP8 INIT TARGET
Error: no device found
Error: unable to open ftdi device with vid 15ba, pid 002b, description 'Olimex OpenOCD JTAG ARM-USB-OCD-H', serial '*' at bus location '*'
All the while I only have 1 Olimex connected and it is being recognizedby lsusb
and also it was correctly used by the plpbridge with the helloworld example. So my next step was trying to solve the openocd issue with the tools the gap_sdk is providing this led to these commands
cd ~/gap_sdk/tools/gap-openocd
./configure && make && make install
cd ~/gap_sdk/tools/gap-openocd- tools
openocd -f interface/ftdi/olimex-arm-usb-ocd-h.cfg -f target/gap8revb.tcl -f .tcl/jtag_boot.tcl
this gave me the same error message but now singular
Open On-Chip Debugger 0.10.0+dev-gc0bf3edc (2020-01-08-16:56)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
Warn : Interface already configured, ignoring
TARGET create
Info : core 0 selected
0
Info : gap8_adv_debug_itf tap selected
Info : adv_dbg_unit debug unit selected
Info : Option 7 is passed to adv_dbg_unit debug unit
GAP8 INIT TARGET
Error: no device found
Error: unable to open ftdi device with vid 15ba, pid 002b, description 'Olimex OpenOCD JTAG ARM-USB-OCD-H', serial '*' at bus location '*'
After this the helloworld example also didn't work anymore. Also the lights on the ai-deck are not blinking anymore when I attach the JTAG connection. While working with the plpbridge this was not the case. This is how far I got and will have another look at it on monday with a colleague of mine.
from gap_sdk.
Hi Daniel,
What is the name you see on the Olimex ? There are two types of Olimex : ARM-USB-OCD and ARM-USB-OCD-H. The configs are different depending on the version.
This might be the reason why the device is not found.
For Mnist, you have two errors message because the first one concerns the picture flashing in memory, the second one is for running the app/example.
For the helloworld example, you flash nothing in memory, that is why the error appears only once.
Siva.
from gap_sdk.
Hey Siva,
Thank you for your response! The name of my Olimex is Olimex Ltd. ARM-USB-TINY-H JTAG interface. Thanks to yr hint, I found the right config file in gap_sdk/tools/gap8-openocd/tcl/interface/ftdi.
Ah that makes a lot of sense! Thanks for the clarification.
Best regards,
Daniel
from gap_sdk.
Hi David,
Glad I could help.
If that is all, I am closing this thread, feel free to open a new one if you have issues.
Siva.
from gap_sdk.
Related Issues (20)
- TypeError: execute_on_target() got an unexpected keyword argument 'write_out_to_file'
- Error: Failed to allocate graph symbol memory for graph ssd_mobv2_quantCNN
- how to measure the power consumption and latency in gvsoc simulation HOT 4
- Graph constructor error HOT 1
- Errors when trying to modify architecture parameters of GVSOC(like RAM sizes)
- Issue Installing GAP SDK on macOS and Alternative Setup
- ValueError: missing generator: the matrix add generator only handles adds of tensors of the same size
- NNTool Execution: "ModuleNotFoundError: No module named 'stats'" leading into "nntool.quantization.range_provider.RangesMissingError: no ranges found for DEPTHWISE_CONV_2D_0_128" HOT 3
- Using gap8 based perfxlab beetle board with OS X
- imp module outdated
- Cannot connect to the server while make Autotiler HOT 9
- Autotiler CNN Kernel Code Error HOT 1
- How to develop I2C driver on AI-deck HOT 1
- AI-Deck Himax camera callback not called again if registered too quickly after last catpure
- ValueError: Cannot generate strided slice layer _model_29_Slice_3 with a copy if start != 0 HOT 3
- error: storage size of 'default_flash_conf' isn't known HOT 4
- Cannot use Leaky ReLU on depthwise separable convolution layers.
- Depth To Space Support and Transformer Softmax Speedup HOT 1
- Unable to run helloworld on GAP9_EVK 3.1 HOT 3
- Need Help with Modifying Input Image Allocation and Memory Configuration
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gap_sdk.