-
Notifications
You must be signed in to change notification settings - Fork 1.3k
7.0.0-Alpha.4 (2021-07-15) can't boot on Feather STM32F405 Express. #5004
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Try the 'absolute newest' build from "S3" https://circuitpython.org/board/feather_stm32f405_express/ |
7.0.0-Alpha.4 (2021-07-15 github custom build) on 'STM32F411CE Black Pill' works fine. |
Ah - I found that 7.0.0 Alpha.4 does actually boot and mount but it took quite a long time -- maybe 20 - 30 seconds after pressing the RESET button
the DMESG log here shows it taking 15 seconds from USB disconnect (Pressed RESET) to the /dev/ttyACM0 serial port being available
also same with newest. build
|
I see the same, with #5172 (just in case it was a tinyusb bug that was subsequently fixed):
|
What do y'all have in The code I had was: import struct
import board
import canio
import digitalio
# If the CAN transceiver has a standby pin, bring it out of standby mode
if hasattr(board, 'CAN_STANDBY'):
standby = digitalio.DigitalInOut(board.CAN_STANDBY)
standby.switch_to_output(False)
# If the CAN transceiver is powered by a boost converter, turn on its supply
if hasattr(board, 'BOOST_ENABLE'):
standby = digitalio.DigitalInOut(board.CAN_STANDBY)
standby.switch_to_output(True)
# Use this line if your board has dedicated CAN pins. (Feather M4 CAN and Feather STM32F405)
can = canio.CAN(rx=board.CAN_RX, tx=board.CAN_TX, baudrate=250_000, auto_restart=True)
# On ESP32S2 most pins can be used for CAN. Uncomment the following line to use IO5 and IO6
#can = canio.CAN(rx=board.IO6, tx=board.IO5, baudrate=250_000, auto_restart=True)
listener = can.listen(matches=[canio.Match(0x408)], timeout=.9)
old_bus_state = None
old_count = -1
while True:
bus_state = can.state
if bus_state != old_bus_state:
print(f"Bus state changed to {bus_state}")
old_bus_state = bus_state
message = listener.receive()
if message is None:
print("No messsage received within timeout")
continue
data = message.data
if len(data) != 8:
print(f"Unusual message length {len(data)}")
continue
count, now_ms = struct.unpack("<II", data)
gap = count - old_count
old_count = count
print(f"received message: count={count} now_ms={now_ms}")
if gap != 1:
print(f"gap: {gap}") |
.. and I can go all the way back up to 7.0.0-alpha.6 with no |
CircuitPython version
Code/REPL
None
Behavior
NeoPixel indicator short blinking (green) several times, then off, no REPL, CIRCUITPY drive not appear.
Description
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: