Closed ServerDummy closed 1 year ago
Same issue, different error though - white panda
greg@grexps:~/panda/board$ ./flash.py
scons: Entering directory `/home/greg/panda'
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
scons: `board' is up to date.
scons: done building targets.
found 1 panda(s) - ['590034000f51373038323837']
flashing 590034000f51373038323837
Traceback (most recent call last):
File "/home/greg/panda/board/./flash.py", line 16, in <module>
with Panda(serial=s) as p:
File "/usr/local/lib/python3.10/dist-packages/pandacan-0.0.10-py3.10.egg/panda/__init__.py", line 257, in __init__
self.connect(claim)
File "/usr/local/lib/python3.10/dist-packages/pandacan-0.0.10-py3.10.egg/panda/__init__.py", line 310, in connect
self._mcu_type = self.get_mcu_type()
File "/usr/local/lib/python3.10/dist-packages/pandacan-0.0.10-py3.10.egg/panda/__init__.py", line 712, in get_mcu_type
raise ValueError(f"unknown HW type: {hw_type}")
ValueError: unknown HW type: bytearray(b'\x00')
@gcormier you need to flash with DFU, seems that your FW is pretty old and doesn't report HW_TYPE @ServerDummy are there files in board/obj/ directory? namely panda.bin.signed ?
@briskspirit How do I get in DFU mode? Do I pull the shield high to VBUS?
Paw schematic is in commaai/neo. Check out the community Discord if you need further help.
Newer python based panda flashing has a issue with the white/grey panda and will not flash