From fe4196f9745860bc44f4367806877f70e54e551c Mon Sep 17 00:00:00 2001 From: Paul Nehlich Date: Wed, 20 Sep 2023 15:38:38 +0200 Subject: [PATCH 1/3] README.md aktualisiert --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e894c7c..d897b22 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,7 @@ arm-none-eabi-gdb fsbl.elf Then load the actual obsw: ```sh -arm-none-eabi-gdb fsbl.elf +arm-none-eabi-gdb freeRTOS >target extended-remote localhost:3333 >load >cont From bc28a3cd8d19ba0d76330670ca1208ba71504ed6 Mon Sep 17 00:00:00 2001 From: Ulrich Mohr Date: Fri, 22 Sep 2023 12:17:31 +0200 Subject: [PATCH 2/3] readme for bitstream loading --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index d897b22..3d17604 100644 --- a/README.md +++ b/README.md @@ -30,6 +30,11 @@ On PC connected to zedboard jtag usb port: openocd -f board/digilent_zedboard.cfg ``` +If you have one around, load bitstream at startup (go get a coffee, takes time with onboard JTAG, blue LED lights up when done): +```sh +openocd -f board/digilent_zedboard.cfg -c "init" -c "pld load 0 system.bit" +``` + To use JTAG Boot for the obsw, you first need to run the FSBL once. On build PC (adapt IP if different from debugging PC): From 8cdb2e40529da8fb68fe51d7ca7f1a2ec566f583 Mon Sep 17 00:00:00 2001 From: Paul Nehlich Date: Mon, 25 Sep 2023 14:58:42 +0200 Subject: [PATCH 3/3] README.md aktualisiert gdb without pagination and with -ex flags added --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 3d17604..91b3279 100644 --- a/README.md +++ b/README.md @@ -54,4 +54,11 @@ arm-none-eabi-gdb freeRTOS >cont ``` +Short form, less interactive: +``` +arm-none-eabi-gdb fsbl.elf -ex "target extended-remote localhost:3333" -ex "set pagination off" -ex "load" -ex "continue" +>^C^D^D +arm-none-eabi-gdb freeRTOS -ex "target extended-remote localhost:3333" -ex "set pagination off" -ex "load" -ex "continue" +``` + Uart usb port should output something at 115200baud, (I use moserial to monitor).