GithubHelp home page GithubHelp logo

Comments (5)

Yaooooo avatar Yaooooo commented on August 16, 2024

from gap_sdk.

danieldennett avatar danieldennett commented on August 16, 2024

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.

gwtsivasiva avatar gwtsivasiva commented on August 16, 2024

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.

danieldennett avatar danieldennett commented on August 16, 2024

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.

gwtsivasiva avatar gwtsivasiva commented on August 16, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.