Jump to content

Recommended Posts

Posted (edited)

Hello,

 

I've got my Helios64 since a few week now and enjoying it a lot. I've installed k3s on it with various applications. The next step is to install home assistant to control my home. Previously, I've already had a setup with a RaspberryPi with a Arduino Mega connected, that is running the rflink firmware. That way I, can control cheap 433Mhz power switches.

 

The problem is, when I connect the Arduino (acting as a serial input device) to my Helios64, the system does not startup anymore. The following error message is printed on the serial console:

 

WARN halted endpoint, queueing URB anyway.
Unexpected XHCI event TRB, skipping... (f5f5deb0 00000000 13000000 04008400)
"Synchronous Abort" handler, esr 0x96000010
elr: 000000000025ee28 lr : 000000000025ee28 (reloc)
elr: 00000000f7f6fe28 lr : 00000000f7f6fe28
x0 : 0000000000000000 x1 : 00000000000003e8
x2 : 0000000000000040 x3 : 000000000000003f
x4 : 00000000f5f5e500 x5 : 0000000000001800
x6 : 0000000000000030 x7 : 000000000000000f
x8 : 00000000f5ef09c8 x9 : 0000000000000008
x10: 00000000ffffffe8 x11: 0000000000000010
x12: 00000000000000fc x13: 0000000000000002
x14: 00000000f5ef11e0 x15: 0000000000000021
x16: 00000000f7f6db08 x17: 0000000000000001
x18: 00000000f5f08dc0 x19: 00000000f5f5b2c0
x20: 00000000f5ef10c0 x21: 0000000000000000
x22: 00000000f5f6a1d0 x23: 00000000000000ff
x24: 0000000080000580 x25: 00000000f5ef0d40
x26: 0000000000000004 x27: 0000000000000001
x28: 00000000f5f6a1d0 x29: 00000000f5ef0a40

Code: 97ffff40 52800401 aa1303e0 97ffffa2 (b9400c00)

 

After this message is printed, the CPU is reset and the system tries to startup again.

Does anyone has an idea, what the problem could be? Does the system try to boot from the serial device?

I recently upgraded to Kernel 5.10.43, which did not solve the problem.


Many thanks for your help in advance :)

Julius

Edited by qualle337
Posted

Yes - looks like you're right! Thanks for pointing me in this direction. I'll update the thread when I found a solution (other than plugging in the Arduino after the boot) in case someone else has similar issues.

Cheers,
Julius

Posted

If you don't mind spending a couple bucks on an Ethernet module, you could also use Open MQTT Gateway which is what I use to control my cheap 433mhz stuff.  It works pretty well.  uC is standalone that way (with separate SBC controller, talking over MQTT / Ethernet).

Posted

This is actually a really good idea - especially as I'm using Kubernetes where you prefer your workloads being able to run independent from the host configuration.

Thanks for the hint :)

Posted

Yes it's a bit of an architectural change.  But one I actually prefer.  In fact, I have MQTT server running on one SBC, controller (OpenHAB in my case) running on another, etc...  But you could just as easily containerize things (and one day I probably will, too).

 

You can also position the gateway in a more ideal location (for the radio).  Mine is centrally located in our home.  I actually bought a PoE switch and run the power and data to it all in one wire.

Posted

Ohh that's cool - I was actually checking about the PoE capabilities of the W5100 Ethernet Shield but I thought it does not support PoE. How did you manage to power your Arduino? Did you use the same shield?

Posted

No PoE at that end, I just bought a cheap splitter off AliExpress for a few bucks to separate the Ethernet from power at that end.

 

Yep, using same W5100 module.  Not even a "shield" I just connected it with dupont wires.  But a shield is probably a more reliable connection, now that I think about it.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines