Wiki » History » Version 15
Frédéric Blanc, 2023-12-01 16:03
1 | 9 | Frédéric Blanc | h1. RedPitaya |
---|---|---|---|
2 | 1 | Frédéric Blanc | |
3 | 13 | Frédéric Blanc | !clipboard-202312011541-sbukm.png! |
4 | 8 | Frédéric Blanc | *Attention il existe plusieurs version de redpitaya* |
5 | |||
6 | STEMlab 125-14 *external clock* (The OS will *not boot* without providing an external clock.) |
||
7 | https://redpitaya.readthedocs.io/en/latest/developerGuide/hardware/125-14_EXT/top.html |
||
8 | 1 | Frédéric Blanc | |
9 | 9 | Frédéric Blanc | pour modifier une STEMlab 125-14 *external clock* en STEMlab 125-14 normale il faut souder 2 resistances 0402 de 22R sur R26 et R25 et dessouder R23 et R24 |
10 | 1 | Frédéric Blanc | |
11 | 10 | Frédéric Blanc | !clipboard-202311231551-ugmwn.png! |
12 | 12 | Frédéric Blanc | !clipboard-202311271003-ym5pn.png! |
13 | 9 | Frédéric Blanc | !clipboard-202311231537-zevpq.png! |
14 | 11 | Frédéric Blanc | !clipboard-202311271000-jz8ux.png! |
15 | 8 | Frédéric Blanc | |
16 | 15 | Frédéric Blanc | frequence max 464.037Mhz |
17 | 6 | Frédéric Blanc | |
18 | 14 | Frédéric Blanc | h2. OS |
19 | 1 | Frédéric Blanc | |
20 | 15 | Frédéric Blanc | h3. OS 1.04 |
21 | |||
22 | Please note that you need to change the forward slashes to backward slashes on Windows. |
||
23 | |||
24 | |||
25 | Send the file .bit (red_pitaya_top.bit is the default name) to the Red Pitaya with the scp command. |
||
26 | |||
27 | <pre><code class="shell"> |
||
28 | scp red_pitaya_top.bit root@rp-xxxxxx.local:/root |
||
29 | </code></pre> |
||
30 | |||
31 | |||
32 | Now establish an SSH communication with your Red Pitaya and check if you have the copy red_pitaya_top.bit in the root directory. |
||
33 | |||
34 | <pre><code class="shell"> |
||
35 | redpitaya> ls |
||
36 | </code></pre> |
||
37 | |||
38 | |||
39 | Load the red_pitaya_top.bit to xdevcfg with |
||
40 | |||
41 | <pre><code class="shell"> |
||
42 | redpitaya> cat red_pitaya_top.bit > /dev/xdevcfg |
||
43 | </code></pre> |
||
44 | |||
45 | |||
46 | |||
47 | |||
48 | h3. OS 2.0 |
||
49 | |||
50 | Create .bif file (for example, red_pitaya_top.bif) and use it to generate a binary bitstream file (red_pitaya_top.bit.bin) |
||
51 | |||
52 | <pre><code class="shell"> |
||
53 | echo -n "all:{ red_pitaya_top.bit }" > red_pitaya_top.bif |
||
54 | bootgen -image red_pitaya_top.bif -arch zynq -process_bitstream bin -o red_pitaya_top.bit.bin -w |
||
55 | </code></pre> |
||
56 | |||
57 | |||
58 | Send the file .bit.bin to the Red Pitaya with the scp command. |
||
59 | |||
60 | <pre><code class="shell"> |
||
61 | scp red_pitaya_top.bit.bin root@rp-xxxxxx.local:/root |
||
62 | </code></pre> |
||
63 | |||
64 | |||
65 | Now establish an SSH communication with your Red Pitaya and check if you have the copy red_pitaya_top.bit.bin in the root directory. |
||
66 | <pre><code class="shell"> |
||
67 | |||
68 | redpitaya> ls |
||
69 | </code></pre> |
||
70 | |||
71 | |||
72 | Load the red_pitaya_top.bit.bin image into the FPGA: |
||
73 | |||
74 | <pre><code class="shell"> |
||
75 | redpitaya> /opt/redpitaya/bin/fpgautil -b red_pitaya_top.bit.bin |
||
76 | </code></pre> |
||
77 | |||
78 | |||
79 | |||
80 | |||
81 | 14 | Frédéric Blanc | https://redpitaya.readthedocs.io/en/latest/developerGuide/software/build/fpga/fpga.html#reprogramming-the-fpga-with-a-custom-image |
82 | |||
83 | https://github.com/RedPitaya/ |
||
84 | 3 | Frédéric Blanc | |
85 | h2. pinout |
||
86 | 5 | Frédéric Blanc | |
87 | 3 | Frédéric Blanc | !clipboard-202304261053-qqtl1.png! |
88 | !clipboard-202304251234-p78ss.png! |
||
89 | 1 | Frédéric Blanc | |
90 | 2 | Frédéric Blanc | h2. Matlab Simulink HDL |
91 | |||
92 | h2. Xilinx Vivado |
||
93 | 4 | Frédéric Blanc | |
94 | La carte Red Pitaya a une logique programmable faite par Xilinx et pour l'écrire pour décrire votre système numérique, vous devez utiliser le logiciel Vivado. Vivado sert à écrire votre système numérique avec un HDL et à implémenter votre système dans la logique programmable. Le résultat de la mise en œuvre d'un projet Vivado est un fichier appelé bitstream qui a une extension .bit, qui contient les informations sur les connexions des blocs logiques qui seront utilisés et les connexions entre eux. |
||
95 | |||
96 | 7 | Frédéric Blanc | [[Xilink_Vivado]] |
97 | |||
98 | 1 | Frédéric Blanc | h2. Shared RAM PS (CPU) PL (FPGA) |
99 | 7 | Frédéric Blanc | |
100 | 15 | Frédéric Blanc | [[Shared_RAM_CPU_FPGA]] |