Here is the backtrace bt #0 isr_hard_fault () at RIOT/cpu/samd21/startup.c:104 #1 <signal handler called> #2 0x000006ec in clist_advance (list=0x20001c30 <sched_runqueues>) at RIOT/core/include/clist.h:80 #3 0x000008d4 in thread_yield () at RIOT/core/thread.c:99 #4 0x000167fe in isr_eic () at RIOT/cpu/samd21/periph/gpio.c:1027 #5 <signal handler called> #6 0x0000147a in ?? ()
2015-02-06 15:05 GMT+01:00 Baptiste Clenet <[email protected]>: > After pluging a second sender, I got the problem: > if ((socket > MAX_SOCKETS) || (socket_base_sockets[socket - > 1].socket_id == 0)) { > return false; > } > socket = 11534388 > socket_base_sockets[socket - 1].socket_id = 64 > > And then the program goes to isr_hard_fault > > 2015-02-06 14:19 GMT+01:00 Baptiste Clenet <[email protected]>: > >> I have let my program running with two boards: one sender and one >> receiver. It seems to work for the moment (longer than with three sender >> boards) >> >> 2015-02-06 10:53 GMT+01:00 Baptiste Clenet <[email protected]>: >> >>> Hi Oleg, >>> >>> I tried on native by simulating the value from sensor and it works after >>> one hour of running. >>> So it seems to be a platform specific problem. >>> >>> Any clues? Which test shoud I do then? and where the variable socket is >>> incremented? >>> >>> Cheers, >>> >>> 2015-02-06 8:18 GMT+01:00 Oleg Hahm <[email protected]>: >>> >>>> Hi Maxence! >>>> >>>> > You mean than I should slow down the number of transmission? I send a >>>> > packet every second on three boards which means that the other board >>>> > receives three packets a second. >>>> > How may I check apart from slowing down the rate of the transmission? >>>> >>>> Three packets every second shouldn't be a problem. Have you checked if >>>> same >>>> (or similar code) works on native. That would be always the first >>>> indicator if >>>> it's a general problem in - let's say the network stack - or if it's >>>> something >>>> particular to this hardware. >>>> >>>> Cheers, >>>> Oleg >>>> -- >>>> panic ("Splunge!"); >>>> linux-2.2.16/drivers/scsi/psi240i.c >>>> >>>> _______________________________________________ >>>> devel mailing list >>>> [email protected] >>>> http://lists.riot-os.org/mailman/listinfo/devel >>>> >>>> >>> >>> >>> -- >>> >>> *Clenet BaptisteFR: +33 6 29 73 05 39 <%2B33%206%2029%2073%2005%2039>* >>> *Élève-Ingénieur ESEO Angers, dernière année, spécialisation: Architecte >>> système temps réél embarqué* >>> >>> >>> *Bidiplôme Master Robotics à l'Université de Plymouth en 2013-2014* >>> >> >> >> >> -- >> >> *Clenet BaptisteFR: +33 6 29 73 05 39 <%2B33%206%2029%2073%2005%2039>* >> *Élève-Ingénieur ESEO Angers, dernière année, spécialisation: Architecte >> système temps réél embarqué* >> >> >> *Bidiplôme Master Robotics à l'Université de Plymouth en 2013-2014* >> > > > > -- > > *Clenet BaptisteFR: +33 6 29 73 05 39 <%2B33%206%2029%2073%2005%2039>* > *Élève-Ingénieur ESEO Angers, dernière année, spécialisation: Architecte > système temps réél embarqué* > > > *Bidiplôme Master Robotics à l'Université de Plymouth en 2013-2014* > -- *Clenet BaptisteFR: +33 6 29 73 05 39* *Élève-Ingénieur ESEO Angers, dernière année, spécialisation: Architecte système temps réél embarqué* *Bidiplôme Master Robotics à l'Université de Plymouth en 2013-2014*
_______________________________________________ devel mailing list [email protected] http://lists.riot-os.org/mailman/listinfo/devel
