Skip to content

Commit 5bea6c6

Browse files
committed
Merge branch 'master' of https://github.com/Xilinx/PYNQ_Bootcamp
2 parents 6653ba3 + 2175a73 commit 5bea6c6

File tree

3 files changed

+82
-9
lines changed

3 files changed

+82
-9
lines changed

bootcamp_sessions/PYNQ 301 - Object Detection/PYNQ 301 - Object Detection.ipynb

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"- Learn how to display information on an OLED.\n",
1414
"\n",
1515
"### Usefull Term Cheat Sheet:\n",
16-
"Here is a cheat sheet of some usefull terms that may pop up in this notebook. As always, feel free to ask me (Ben) any questions!\n",
16+
"Here is a cheat sheet of some usefull terms that may pop up in this notebook. As always, feel free to ask me (Aamir) any questions!\n",
1717
"\n",
1818
"| Term | Description |\n",
1919
"| --- | --- |\n",
@@ -118,8 +118,8 @@
118118
"metadata": {},
119119
"outputs": [],
120120
"source": [
121-
"# Initiate pmod adapter. G3 indicates that the OLED is connected to the G3 slot on the PYNQ Grove Adapter\n",
122-
"adapter = PmodGroveAdapter(overlay.PMODA, G3='grove_oled')"
121+
"# Initiate pmod adapter. G4 indicates that the OLED is connected to the G4 slot on the PYNQ Grove Adapter\n",
122+
"adapter = PmodGroveAdapter(overlay.PMODA, G4='grove_oled')"
123123
]
124124
},
125125
{
@@ -628,7 +628,7 @@
628628
"metadata": {},
629629
"outputs": [],
630630
"source": [
631-
"oled = adapter.G3\n",
631+
"oled = adapter.G4\n",
632632
"oled.set_default_config()\n",
633633
"oled.set_normal_display()\n",
634634
"oled.put_string(\"Detected\") \n",
@@ -807,8 +807,7 @@
807807
"metadata": {},
808808
"outputs": [],
809809
"source": [
810-
"del overlay\n",
811-
"del dpu"
810+
"del overlay # Clean up code"
812811
]
813812
}
814813
],

firmware_update.ipynb

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
{
2+
"cells": [
3+
{
4+
"cell_type": "code",
5+
"execution_count": null,
6+
"id": "79ed934f-c270-4752-896c-ff139715ec1d",
7+
"metadata": {},
8+
"outputs": [],
9+
"source": [
10+
"%%bash\n",
11+
"\n",
12+
"sudo xmutil bootfw_status\n",
13+
"sudo xmutil bootfw_update -i /home/ubuntu/Downloads/BOOT_xilinx-k26-starterkit-v2022.1-09152304_update3.BIN"
14+
]
15+
},
16+
{
17+
"cell_type": "markdown",
18+
"id": "0bd4f0c7-7634-4667-b0c7-b557973cefcd",
19+
"metadata": {},
20+
"source": [
21+
"Now run this command after power cycling it once"
22+
]
23+
},
24+
{
25+
"cell_type": "code",
26+
"execution_count": 1,
27+
"id": "9b1b30cf-998c-49a5-8b7d-95c5388f288f",
28+
"metadata": {},
29+
"outputs": [
30+
{
31+
"name": "stdout",
32+
"output_type": "stream",
33+
"text": [
34+
"Marking last booted image as bootable\n"
35+
]
36+
}
37+
],
38+
"source": [
39+
"%%bash\n",
40+
"\n",
41+
"sudo xmutil bootfw_update -v "
42+
]
43+
},
44+
{
45+
"cell_type": "code",
46+
"execution_count": null,
47+
"id": "91c3e675-988a-4d6a-8e14-e1724a148759",
48+
"metadata": {},
49+
"outputs": [],
50+
"source": []
51+
}
52+
],
53+
"metadata": {
54+
"kernelspec": {
55+
"display_name": "Python 3 (ipykernel)",
56+
"language": "python",
57+
"name": "python3"
58+
},
59+
"language_info": {
60+
"codemirror_mode": {
61+
"name": "ipython",
62+
"version": 3
63+
},
64+
"file_extension": ".py",
65+
"mimetype": "text/x-python",
66+
"name": "python",
67+
"nbconvert_exporter": "python",
68+
"pygments_lexer": "ipython3",
69+
"version": "3.10.6"
70+
}
71+
},
72+
"nbformat": 4,
73+
"nbformat_minor": 5
74+
}

get_latest_training_materal.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
],
2626
"metadata": {
2727
"kernelspec": {
28-
"display_name": "Python 3",
28+
"display_name": "Python 3 (ipykernel)",
2929
"language": "python",
3030
"name": "python3"
3131
},
@@ -39,9 +39,9 @@
3939
"name": "python",
4040
"nbconvert_exporter": "python",
4141
"pygments_lexer": "ipython3",
42-
"version": "3.6.5"
42+
"version": "3.10.6"
4343
}
4444
},
4545
"nbformat": 4,
46-
"nbformat_minor": 2
46+
"nbformat_minor": 4
4747
}

0 commit comments

Comments
 (0)