2018-07-01から1ヶ月間の記事一覧

ROSでUR5を動かす

ur_modern_driver https://github.com/ThomasTimm/ur_modern_driver パッチを当てる https://github.com/iron-ox/ur_modern_driver/commit/883070d0b6c0c32b78bb1ca7155b8f3a1ead416c

PYNQ Arduino IOPで2つのUARTを使う

UART0はデフォルトで入っている 1. Chipkit GPIO[15:0]の16bitの2つを削って、14bitとする。 2. UART1を追加 自動配線だとMicroBlazeに配線されないので、Arduino IOP内のAXI Interconnectにつなぐように手動で配線する。UARTLITE0を参考にすればいい。 あ…

PYNQでChipkit GPIOのテスト

ck_gpio[15:0]のck_gpio[0]=IO26を点灯させる コード #include <stdio.h> #include "platform.h" #include "xil_printf.h" #include "xparameters.h" #include "xgpio.h" #define GPIO_EXAMPLE_DEVICE_ID XPAR_GPIO_1_DEVICE_ID #define LED_DELAY 10000000 #define </stdio.h>…

PYNQのArduino GPIOとChipkit GPIOのピン配置

Arduino GPIO Chipkit GPIO

PYNQのArduino IOPでUART0(UARTLITE)を使う

http://pynq.readthedocs.io/en/v2.1/overlay_design_methodology/pynq_microblaze_subsystem.html baudrate 115200で問題なく通信できそう。 1. PYNQライブラリ(uart.c, uart.h)を使う実装(こっちの方が簡単) #include <stdio.h> #include "platform.h" #include</stdio.h>…

15.6GBのRaspberry piイメージを15.5GBのSDカードに焼く(失敗)

普通にやると収まりきらなくてエラーがでる。 一度ext4領域を縮小してやる必要があるここのやり方に従う https://arakan60.mydns.jp/04kousaku/03-05sdcopyshrunk.html1. Linuxを立ち上げてgpartedを起動 ext4をリサイズする(今回は約14.8GB->約14GBに縮小…

VivadoでトップレベルHDLが自動で更新されないとき

https://forums.xilinx.com/t5/Design-Entry/hdl-wrapper-of-block-design-no-longer-updates-automatically/td-p/711741 Close BD Reopen BD Validate BD Save design Generate output products.

benchmark code

void setup() { Serial.begin(230400); //Serial.begin(115200); delay(1); } void loop() { if(Serial.available()){ int r1 = Serial.read() - '0'; Serial.print(r1+1,HEX); } }

PYNQでPartial reconfiguration

https://github.com/AEW2015/PYNQ_PR_Overlay 論文 A dynamic partial reconfigurable overlay concept for PYNQ(リンク切れ?) A Hardware Accelerator Framework Approach for Dynamic Partial Reconfigurable Overlays on Xilinx PYNQ

OpenAMP with Zybo

https://qiita.com/take-iwiw/items/ff46792eb107d978cd0b https://qiita.com/take-iwiw/items/3922ec5cae6aa35c5e81 https://qiita.com/take-iwiw/items/8b589650c15a6f705f35 https://qiita.com/take-iwiw/items/5f7c24bd0475274ded23