Menu

#10 With cc2538 cpu, random number initialization creashes the mote

1.0
closed
2015-02-27
2015-02-25
No

In CC2538 platform the random number initialization should not be started after the radio. Then the mote reboots.

please check the warnings under cpu/cc2538/dev/random.c->random_init().

Random number initialization is called in dtls_new_context function with dtls_prng_init(now) call.

My current suggestion is omitting the random number initialization for cc2538 platforms.

Discussion

  • Olaf Bergmann

    Olaf Bergmann - 2015-02-27

    Commit c03856c fixes this as suggested. Thanks for bringing this up.

     
  • Olaf Bergmann

    Olaf Bergmann - 2015-02-27
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,4 +1,3 @@
    -
     In CC2538 platform the random number initialization should not be started after the radio. Then the mote reboots.
    
     please check the warnings under cpu/cc2538/dev/random.c->random_init().
    
    • status: open --> closed
    • assigned_to: Olaf Bergmann