M5Unit_Roller CAN Bricked.
-
Hi all,
after some test, Unit_Roller stops to work. now the motor doesn't move, the display say: E:4 Over Range. I can't make any selection in the config menu (there are missing items in the menu and no way to move the selection from "Quit").any tips to reset and clear the error?
best regards
-
nobody?
-
@cepics said in M5Unit_Roller CAN Bricked.:
Unit_Roller
Greetings,
I have no experience with this device but I did find this link that deals with the Roller Can firmware:
https://github.com/m5stack/M5Unit-RollerCAN-Internal-FW
Do you have other Roller Cans to verify operation?
Other trouble-shooting tips: (please remember, I have ZERO experience with this device but if I did this is what I would do)
- remove all unnecessary devices/connections
- verify that the power supply is still operational (measure voltages with a DVM) when connected
I hope you can get this operational again with a firmware update/reset-Brian
-
Can you still communicate with the Roller? Then you can disable the Motor Over Range Protection.

If this doesn't work and you restart (disconnect the motor and the controller for at least 1 minute) and the motor isn't blocked, you can try manually turning it back. If the motor is blocked, you can try lowering the current or voltage so that the motor loses power while the electronics continue to function.
-
Great! You got it working! Thanks for letting us know how you resolved the problem!
-
tnks for answer.
an I2C scanner doesn't see any address when the unit_roller is connected to the controller running i2c scanner code. so I can't send i2c commands.
the motor moves only by hand.
the display motor say E4 Over Range.
if I go in to the menu (button pressed during power on), I can't navigate in the menu and there are missing items in the menu item list. the only possible selectable item is "quit".I'm looking for the way to flash a new firmware on the unit.......
ideas??
-
I'm trying to upload a new firmware on the unit roller connecting a ST_Link v2 to the SPI connector with STM32CubeProgrammer.
- Roller SPI ---------------- ST_LinkV2
-
V --------------------- 3.3 -
G -------------------- GND -
C ------------------ SWCLOCK -
D ------------------ SWDIO -
O ------------------- NC
when the firmware si uploaded the unit roller works (display right boot image and information, led is on, button and encoder works and menu works too), but if I disconnect the SPI cable and I power the unit from grove or dc in 6/16v, the unit doesn't work(black display, led off, etc).
this is the .hex firmware used.
and this is the cube log:
22:11:59 : MASS ERASE ... 22:11:59 : Mass erase successfully achieved 22:11:59 : UPLOADING ... 22:11:59 : Size : 1024 Bytes 22:11:59 : Address : 0x8000000 22:11:59 : Read progress: 22:11:59 : Data read successfully 22:11:59 : Time elapsed during the read operation is: 00:00:00.019 22:12:36 : Opening and parsing file: ROLLERCAN.hex 22:12:36 : Memory Programming ... 22:12:36 : File : ROLLERCAN.hex 22:12:36 : Size : 94.38 KB 22:12:36 : Address : 0x08002000 22:12:36 : Erasing memory corresponding to segment 0: 22:12:36 : Erasing internal memory sectors [4 51] 22:12:37 : Download in Progress: 22:12:39 : File download complete 22:12:39 : Time elapsed during download operation: 00:00:02.735 22:12:39 : Verifying... 22:12:39 : Read progress: 22:12:39 : Time elapsed during verifying operation: 00:00:00.645 22:12:39 : Download verified successfully 22:12:39 : Memory [0x08000000 : 0x08020000] - Checksum : 0x011ED0C0 22:12:39 : RUNNING Program ... 22:12:39 : Address: : 0x08002000 22:12:39 : Application is running, Please Hold on... 22:12:39 : Start operation achieved successfullythis is the log of OB:
{ "deviceId" : 1128, "bitNameToValue" : { "RDP" : 170, "BOR_LEV" : 0, "nRST_STOP" : 1, "nRST_STDBY" : 1, "nRST_SHDW" : 1, "IWDG_SW" : 1, "IWDG_STOP" : 1, "IWDG_STDBY" : 1, "WWDG_SW" : 1, "nBOOT1" : 1, "SRAM_PE" : 1, "CCMSRAM_RST" : 1, "nSWBOOT0" : 1, "nBOOT0" : 1, "NRST_MODE" : 3, "IRHEN" : 1, "PCROP1_STRT" : 16383, "PCROP1_END" : 0, "PCROP_RDP" : 0, "WRP1A_STRT" : 63, "WRP1A_END" : 0, "WRP1B_STRT" : 63, "WRP1B_END" : 0, "SEC_SIZE1" : 0, "BOOT_LOCK" : 0 } }If I power the unit from grove or DC in, I have 3.3v on SPI (V,G).
I tried to merge and burn a bootloader.hex too but no joy.
after uploading the firmware if I connect the grove cable of an atom lite running a i2c scanner code, I can see 0x64 on serial monitor. I can also disconnect the SPI cable and the roller still works until a power cycle.
ideas??
tnks a lot!!