Fot error when running PMSIS helloworld example
Posted: Thu Dec 09, 2021 4:27 pm
Hello,
I am following the tutorial in the link https://github.com/GreenWaves-Technologies/gap_sdk. I am getting an error when trying to run the helloworld program.
It is mentioned in the link "First connect your GAPuino to your PCs USB port". I have connected it but how to verify if I have connected it correctly? There should be an image showing how should one connect it.
Please have a look at the error below:
rm -f /home/Dokumente/crazyswarm/gap_sdk/examples/pmsis/helloworld/BUILD/GAP8_V2/GCC_RISCV_FREERTOS/flash.img
CC helloworld.c
ASM startup_gap8.S
ASM gap8_iet.S
ASM cluster_core.S
ASM asm_util.S
ASM port_asm.S
CC gap8_it.c
CC system_gap8.c
CC gap_io.c
CC stdlib.c
CC errno.c
CC string.c
CC cl_malloc.c
CC cl_to_fc_delegate.c
CC fc_to_cl_delegate.c
CC cl_team.c
CC hyperbus_cl_internal.c
CC uart_cl_internal.c
CC cl_dma_irq.c
CC fc_event.c
CC fll.c
CC gpio.c
CC pad.c
CC pmu.c
CC pmu_internal.c
CC pwm.c
CC pwm_internal.c
CC rtc.c
CC rtc_internal.c
CC timer.c
CC hyperbus.c
CC hyperbus_internal.c
CC cpi.c
CC cpi_internal.c
CC dmacpy.c
CC dmacpy_internal.c
CC i2c.c
CC i2c_internal.c
CC i2s.c
CC i2s_internal.c
CC spi.c
CC spi_internal.c
CC uart.c
CC uart_internal.c
CC flash.c
CC partition.c
CC flash_partition.c
CC md5.c
CC fs.c
CC lfs.c
CC lfs_util.c
CC pi_lfs.c
CC read_fs.c
CC semihost.c
CC host_fs.c
CC ota.c
CC ota_utility.c
CC updater.c
CC bootloader_utility.c
CC ai_deck.c
CC camera.c
CC himax.c
CC hyperflash.c
CC hyperram.c
CC spiram.c
CC spiflash.c
/tmp/ccEQ0bqg.s: Assembler messages:
/tmp/ccEQ0bqg.s:120: Warning: Geänderte Sektionsattribute für .data werden ignoriert
CC ram.c
CC alloc_extern.c
CC pi_log.c
CC event_kernel.c
CC cl_l1_malloc.c
CC fc_l1_malloc.c
CC l2_malloc.c
CC malloc_external.c
CC malloc_internal.c
CC pi_malloc.c
CC mem_slab.c
CC device.c
CC pmsis_task.c
CC pmsis_backend_native_task_api.c
CC port.c
CC printf.c
CC list.c
CC queue.c
CC tasks.c
CC timers.c
CC event_groups.c
CC stream_buffer.c
CC FreeRTOS_util.c
gapy --target=ai_deck --platform=board --work-dir=/home/Dokumente/crazyswarm/gap_sdk/examples/pmsis/helloworld/BUILD/GAP8_V2/GCC_RISCV_FREERTOS run --image --binary=/home/Dokumente/crazyswarm/gap_sdk/examples/pmsis/helloworld/BUILD/GAP8_V2/GCC_RISCV_FREERTOS/test
gapy --target=ai_deck --platform=board --work-dir=/home/Dokumente/crazyswarm/gap_sdk/examples/pmsis/helloworld/BUILD/GAP8_V2/GCC_RISCV_FREERTOS run --flash --binary=/home/Dokumente/crazyswarm/gap_sdk/examples/pmsis/helloworld/BUILD/GAP8_V2/GCC_RISCV_FREERTOS/test
gapy --target=ai_deck gen_flash_image --boot-loader /home/Dokumente/crazyswarm/gap_sdk/examples/pmsis/helloworld/BUILD/GAP8_V2/GCC_RISCV_FREERTOS/test -o /home/Dokumente/crazyswarm/gap_sdk/examples/pmsis/helloworld/BUILD/GAP8_V2/GCC_RISCV_FREERTOS/flash.img
gapy --target=ai_deck --platform=board --work-dir=/home/Dokumente/crazyswarm/gap_sdk/examples/pmsis/helloworld/BUILD/GAP8_V2/GCC_RISCV_FREERTOS run --exec-prepare --exec --binary=/home/Dokumente/crazyswarm/gap_sdk/examples/pmsis/helloworld/BUILD/GAP8_V2/GCC_RISCV_FREERTOS/test
Launching execution with command:
gap8-openocd -d0 -c 'gdb_port disabled; telnet_port disabled; tcl_port disabled' -f interface/ftdi/olimex-arm-usb-ocd-h.cfg -f target/gap8revb.tcl -f tcl/jtag_boot_entry.tcl -c 'gap8_jtag_load_binary_and_start "/home/Dokumente/crazyswarm/gap_sdk/examples/pmsis/helloworld/BUILD/GAP8_V2/GCC_RISCV_FREERTOS/test" elf 0x1c000094'
Open On-Chip Debugger 0.10.0+dev-gb84d97ec4 (2021-12-01-09:51)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
debug_level: 0
DEPRECATED! use 'adapter speed' not 'adapter_khz'
DEPRECATED! use 'adapter driver' not 'interface'
TARGET create
0
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 '*'
Traceback (most recent call last):
File "/home/Dokumente/crazyswarm/gap_sdk/utils/gapy/gapy", line 162, in <module>
main()
File "/home/Dokumente/crazyswarm/gap_sdk/utils/gapy/gapy", line 152, in main
operationFunc(args, config, system)
File "/home/Dokumente/crazyswarm/gap_sdk/utils/gapy/run.py", line 184, in operationFunc
raise RuntimeError('Runner has failed with value: %d' % status)
RuntimeError: Runner has failed with value: -1
/home/Dokumente/crazyswarm/gap_sdk/rtos/freeRTOS/vendors/gwt/rules/freeRTOS_rules.mk:407: recipe for target 'run' failed
make: *** [run] Error 1
I am following the tutorial in the link https://github.com/GreenWaves-Technologies/gap_sdk. I am getting an error when trying to run the helloworld program.
It is mentioned in the link "First connect your GAPuino to your PCs USB port". I have connected it but how to verify if I have connected it correctly? There should be an image showing how should one connect it.
Please have a look at the error below:
rm -f /home/Dokumente/crazyswarm/gap_sdk/examples/pmsis/helloworld/BUILD/GAP8_V2/GCC_RISCV_FREERTOS/flash.img
CC helloworld.c
ASM startup_gap8.S
ASM gap8_iet.S
ASM cluster_core.S
ASM asm_util.S
ASM port_asm.S
CC gap8_it.c
CC system_gap8.c
CC gap_io.c
CC stdlib.c
CC errno.c
CC string.c
CC cl_malloc.c
CC cl_to_fc_delegate.c
CC fc_to_cl_delegate.c
CC cl_team.c
CC hyperbus_cl_internal.c
CC uart_cl_internal.c
CC cl_dma_irq.c
CC fc_event.c
CC fll.c
CC gpio.c
CC pad.c
CC pmu.c
CC pmu_internal.c
CC pwm.c
CC pwm_internal.c
CC rtc.c
CC rtc_internal.c
CC timer.c
CC hyperbus.c
CC hyperbus_internal.c
CC cpi.c
CC cpi_internal.c
CC dmacpy.c
CC dmacpy_internal.c
CC i2c.c
CC i2c_internal.c
CC i2s.c
CC i2s_internal.c
CC spi.c
CC spi_internal.c
CC uart.c
CC uart_internal.c
CC flash.c
CC partition.c
CC flash_partition.c
CC md5.c
CC fs.c
CC lfs.c
CC lfs_util.c
CC pi_lfs.c
CC read_fs.c
CC semihost.c
CC host_fs.c
CC ota.c
CC ota_utility.c
CC updater.c
CC bootloader_utility.c
CC ai_deck.c
CC camera.c
CC himax.c
CC hyperflash.c
CC hyperram.c
CC spiram.c
CC spiflash.c
/tmp/ccEQ0bqg.s: Assembler messages:
/tmp/ccEQ0bqg.s:120: Warning: Geänderte Sektionsattribute für .data werden ignoriert
CC ram.c
CC alloc_extern.c
CC pi_log.c
CC event_kernel.c
CC cl_l1_malloc.c
CC fc_l1_malloc.c
CC l2_malloc.c
CC malloc_external.c
CC malloc_internal.c
CC pi_malloc.c
CC mem_slab.c
CC device.c
CC pmsis_task.c
CC pmsis_backend_native_task_api.c
CC port.c
CC printf.c
CC list.c
CC queue.c
CC tasks.c
CC timers.c
CC event_groups.c
CC stream_buffer.c
CC FreeRTOS_util.c
gapy --target=ai_deck --platform=board --work-dir=/home/Dokumente/crazyswarm/gap_sdk/examples/pmsis/helloworld/BUILD/GAP8_V2/GCC_RISCV_FREERTOS run --image --binary=/home/Dokumente/crazyswarm/gap_sdk/examples/pmsis/helloworld/BUILD/GAP8_V2/GCC_RISCV_FREERTOS/test
gapy --target=ai_deck --platform=board --work-dir=/home/Dokumente/crazyswarm/gap_sdk/examples/pmsis/helloworld/BUILD/GAP8_V2/GCC_RISCV_FREERTOS run --flash --binary=/home/Dokumente/crazyswarm/gap_sdk/examples/pmsis/helloworld/BUILD/GAP8_V2/GCC_RISCV_FREERTOS/test
gapy --target=ai_deck gen_flash_image --boot-loader /home/Dokumente/crazyswarm/gap_sdk/examples/pmsis/helloworld/BUILD/GAP8_V2/GCC_RISCV_FREERTOS/test -o /home/Dokumente/crazyswarm/gap_sdk/examples/pmsis/helloworld/BUILD/GAP8_V2/GCC_RISCV_FREERTOS/flash.img
gapy --target=ai_deck --platform=board --work-dir=/home/Dokumente/crazyswarm/gap_sdk/examples/pmsis/helloworld/BUILD/GAP8_V2/GCC_RISCV_FREERTOS run --exec-prepare --exec --binary=/home/Dokumente/crazyswarm/gap_sdk/examples/pmsis/helloworld/BUILD/GAP8_V2/GCC_RISCV_FREERTOS/test
Launching execution with command:
gap8-openocd -d0 -c 'gdb_port disabled; telnet_port disabled; tcl_port disabled' -f interface/ftdi/olimex-arm-usb-ocd-h.cfg -f target/gap8revb.tcl -f tcl/jtag_boot_entry.tcl -c 'gap8_jtag_load_binary_and_start "/home/Dokumente/crazyswarm/gap_sdk/examples/pmsis/helloworld/BUILD/GAP8_V2/GCC_RISCV_FREERTOS/test" elf 0x1c000094'
Open On-Chip Debugger 0.10.0+dev-gb84d97ec4 (2021-12-01-09:51)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
debug_level: 0
DEPRECATED! use 'adapter speed' not 'adapter_khz'
DEPRECATED! use 'adapter driver' not 'interface'
TARGET create
0
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 '*'
Traceback (most recent call last):
File "/home/Dokumente/crazyswarm/gap_sdk/utils/gapy/gapy", line 162, in <module>
main()
File "/home/Dokumente/crazyswarm/gap_sdk/utils/gapy/gapy", line 152, in main
operationFunc(args, config, system)
File "/home/Dokumente/crazyswarm/gap_sdk/utils/gapy/run.py", line 184, in operationFunc
raise RuntimeError('Runner has failed with value: %d' % status)
RuntimeError: Runner has failed with value: -1
/home/Dokumente/crazyswarm/gap_sdk/rtos/freeRTOS/vendors/gwt/rules/freeRTOS_rules.mk:407: recipe for target 'run' failed
make: *** [run] Error 1