Skip to content

[at86rf2xx] failed assertion in _isr #5678

@jia200x

Description

@jia200x

Hi.

Sometimes I get this failed assertion in the at86rf2xx when I'm working with more than 20 nodes.

I added an option for enabling/disabling the receiver of at86rf2xx (required for the OpenThread port, sorry for the indentation (: ). This option is working, but once in a very while I get the assert.

The pending_tx variable is modified here. When there's a TRX_END IRQ, the _isr function checks the state of the driver to see if it's the end of a reception or transmission. But for some reason I get an IRQ when there's no pending transmission. I got the same problem once before adding the RX_LISTENING option, so I'm not sure if it's related to that.

Also, I sometimes get a recv len of more than UINT16_MAX (very unusual though).

Anyone have had any of these problems before?

Metadata

Metadata

Labels

Area: driversArea: Device driversArea: networkArea: NetworkingType: bugThe issue reports a bug / The PR fixes a bug (including spelling errors)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions