You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: This should not be confused with other existing or outdated EV3 builds in the `bricks` folder such as the `ev3dev` or `ev3rt` builds. They can serve as inspiration, but are completely separate from this build. From a code point of view, this new `bricks/ev3` build will be a lot more like `bricks/primehub`.
57
+
Instead, you can download the [latest nightly build](https://nightly.link/pybricks/pybricks-micropython/workflows/build/master). Install it as follows:
- Connect your serial adapter to sensor port 1 on the EV3 brick.
70
-
- Start a terminal emulator such as `screen` or `picocom`.
71
-
- Insert the microSD card into the EV3 brick.
72
-
- Press the center button to boot.
65
+
Press the center button to turn on the EV3. Press the back button to turn it
66
+
off.
73
67
74
-
You should see something like the following output:
68
+
If the hub freezes, press and hold the back and center buttons for several seconds to
69
+
reboot.
75
70
76
-
```
77
-
EV3 initialization passed!
78
-
Booting EV3 EEprom Boot Loader
79
-
80
-
EEprom Version: 0.60
81
-
EV3 Flashtype: N25Q128A13B
82
-
83
-
EV3 Booting system
84
-
85
-
Jumping to entry point at: 0xC1080000
86
-
87
-
88
-
U-Boot 2009.11 (Oct 26 2012 - 10:30:38)
89
-
90
-
I2C: ready
91
-
DRAM: 64 MB
92
-
MMC: davinci: 0
93
-
In: serial
94
-
Out: serial
95
-
Err: serial
96
-
ARM Clock : 300000000 Hz
97
-
DDR Clock : 132000000 Hz
98
-
Invalid MAC address read.
99
-
Hit 'l' to stop autoboot: 0
100
-
reading boot.scr
101
-
102
-
** Unable to read "boot.scr" from mmc 0:1 **
103
-
reading uImage
104
-
105
-
209016 bytes read
106
-
## Booting kernel from Legacy Image at c0007fc0 ...
107
-
Image Name:
108
-
Image Type: ARM Linux Kernel Image (uncompressed)
109
-
Data Size: 208952 Bytes = 204.1 kB
110
-
Load Address: c0008000
111
-
Entry Point: c0008000
112
-
Loading Kernel Image ... OK
113
-
OK
114
-
115
-
Starting kernel ...
116
-
117
-
System init in platform.c called from startup.s
118
-
119
-
Hello, world at time (ms): 0
120
-
Hello, world at time (ms): 0
121
-
Hello, world at time (ms): 0
122
-
Hello, world at time (ms): 0
123
-
Hello, world at time (ms): 0
124
-
Hello, world at time (ms): 0
125
-
Hello, world at time (ms): 0
126
-
Hello, world at time (ms): 0
127
-
Hello, world at time (ms): 0
128
-
Hello, world at time (ms): 0
129
-
Traceback (most recent call last):
130
-
131
-
File "%q", line %dhello.py", line %d9���D�, in %q
132
-
<module>
133
-
KeyboardInterrupt:
134
-
Pybricks MicroPython v1.20.0-23-g6c633a8dd on 2024-06-08; MINDSTORMS EV3 Brick with TI Sitara AM1808
135
-
Type "help()" for more information.
136
-
>>>
137
-
```
71
+
## Interfacing with the EV3
138
72
139
-
You can remove the microSD card after booting. After updating the uImage, you
140
-
can try out your new build by rebooting: Press and hold the center and back
141
-
buttons for 4 seconds.
73
+
The data wires on sensor port 1 are set up as a UART for debugging. This
74
+
provides the MicroPython REPL. All other ports can be used normally.
142
75
143
-
For now, there is just the REPL and several builtin MicroPython modules.
144
-
Sensors and motors are not yet enabled.
76
+
A REPL is also available as a USB serial device
77
+
after you reboot the brick at least once. This feature may go away when we enable a proper USB driver for downloading and running programs.
145
78
146
79
## Development status
147
80
148
-
This is a highly experimental development. Pretty much nothing is enabled yet.
149
-
The intention is to prepare a minimal build where we can add drivers one by
150
-
one, with help from experts in the community.
81
+
This is a highly experimental development. Sensors, motors, and some EV3 peripherals [are working](https://www.youtube.com/watch?v=9Iu6YpFLwKo). Please refer to our discussion forums for a status or to help with ongoing developments.
151
82
152
83
Inspiration for future hardware implementation:
153
84
-[ev3dev](https://www.ev3dev.org/docs/kernel-hackers-notebook/ev3dev-linux-kernel/): Well documented resources for EV3 on debian Linux.
0 commit comments