Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/Xilinx/PYNQ_Bootcamp
Browse files Browse the repository at this point in the history
  • Loading branch information
benmorri committed Jul 25, 2023
2 parents 6653ba3 + 2175a73 commit 5bea6c6
Show file tree
Hide file tree
Showing 3 changed files with 82 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"- Learn how to display information on an OLED.\n",
"\n",
"### Usefull Term Cheat Sheet:\n",
"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",
"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",
"\n",
"| Term | Description |\n",
"| --- | --- |\n",
Expand Down Expand Up @@ -118,8 +118,8 @@
"metadata": {},
"outputs": [],
"source": [
"# Initiate pmod adapter. G3 indicates that the OLED is connected to the G3 slot on the PYNQ Grove Adapter\n",
"adapter = PmodGroveAdapter(overlay.PMODA, G3='grove_oled')"
"# Initiate pmod adapter. G4 indicates that the OLED is connected to the G4 slot on the PYNQ Grove Adapter\n",
"adapter = PmodGroveAdapter(overlay.PMODA, G4='grove_oled')"
]
},
{
Expand Down Expand Up @@ -628,7 +628,7 @@
"metadata": {},
"outputs": [],
"source": [
"oled = adapter.G3\n",
"oled = adapter.G4\n",
"oled.set_default_config()\n",
"oled.set_normal_display()\n",
"oled.put_string(\"Detected\") \n",
Expand Down Expand Up @@ -807,8 +807,7 @@
"metadata": {},
"outputs": [],
"source": [
"del overlay\n",
"del dpu"
"del overlay # Clean up code"
]
}
],
Expand Down
74 changes: 74 additions & 0 deletions firmware_update.ipynb
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
{
"cells": [
{
"cell_type": "code",
"execution_count": null,
"id": "79ed934f-c270-4752-896c-ff139715ec1d",
"metadata": {},
"outputs": [],
"source": [
"%%bash\n",
"\n",
"sudo xmutil bootfw_status\n",
"sudo xmutil bootfw_update -i /home/ubuntu/Downloads/BOOT_xilinx-k26-starterkit-v2022.1-09152304_update3.BIN"
]
},
{
"cell_type": "markdown",
"id": "0bd4f0c7-7634-4667-b0c7-b557973cefcd",
"metadata": {},
"source": [
"Now run this command after power cycling it once"
]
},
{
"cell_type": "code",
"execution_count": 1,
"id": "9b1b30cf-998c-49a5-8b7d-95c5388f288f",
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Marking last booted image as bootable\n"
]
}
],
"source": [
"%%bash\n",
"\n",
"sudo xmutil bootfw_update -v "
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "91c3e675-988a-4d6a-8e14-e1724a148759",
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.6"
}
},
"nbformat": 4,
"nbformat_minor": 5
}
6 changes: 3 additions & 3 deletions get_latest_training_materal.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "python3"
},
Expand All @@ -39,9 +39,9 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.5"
"version": "3.10.6"
}
},
"nbformat": 4,
"nbformat_minor": 2
"nbformat_minor": 4
}

0 comments on commit 5bea6c6

Please sign in to comment.