[mc1322x] Fragmented packets: could not allocate a queuebuf

Mariano Alvira mar at devl.org
Wed Jul 21 08:00:57 EDT 2010


On Wed, Jul 21, 2010 at 12:08:24AM +0200, Daniel Berenguer wrote:
> Following my tests about sending fragmented UDP packets...
> 
> Receiving multiple data packets of 512 bytes seems to cause the
> following Contiki run-time error:
> queuebuf_new_from_packetbuf: could not allocate a queuebuf
> 
> The first receptions work just fine - hence my initial happiness :-) -
> but later transmissions end by encountering the above error. I've
> tested with smaller packets and I'm not able to reproduce the problem.
> Maybe 1300 bytes is too much for a single packet ??
> 
> I'm now trying to know whether this problem could be due to some kind
> of "time" overlap between incoming packets...

Could you try increasing the number of QUEUEBUFs? In platform/redbee-econotag/contiki-conf.h:

#define QUEUEBUF_CONF_NUM          16

Maybe increase this to 32?

-Mar.



More information about the mc1322x mailing list