Samraksh / eMote

eMote OS -- Multiple Ports (using .NET MF v4.3)
0 stars 0 forks source link

System exception initializing MACBase #436

Closed WilliamAtSamraksh closed 7 years ago

WilliamAtSamraksh commented 7 years ago

eMote 21 (Software ID: 2a74724baab61651fecd98c00d176654cf49052c-clean by: Chris), OMAC, RF231.

When starting, throws a system exception:

=================================
Virtual Fence with Health Manager: Base Node. Version 1.7, build 07/25/2016 15:25:24
SetAppHandlers 3
    #### Exception System.Exception - 0xffffffff (1) ####
    #### Message: 
    #### Samraksh.eMote.Net.MACBase::InternalInitialize [IP: 0000] ####
    #### Samraksh.eMote.Net.MACBase::Initialize [IP: 0081] ####
    #### Samraksh.eMote.Net.MACBase::.ctor [IP: 0124] ####
    #### Samraksh.eMote.Net.MAC.OMAC::.ctor [IP: 000e] ####
    #### Samraksh.VirtualFence.SystemGlobal::GetMAC [IP: 0016] ####
    #### Samraksh.VirtualFence.Base::Main [IP: 0034] ####
AnanthAtSamraksh commented 7 years ago

Bill, please check the #defines in the MVF app. They might be using SI4468 while you have a board that has RF231.

WilliamAtSamraksh commented 7 years ago

I did.

#define RF231
//#define SI4468
WilliamAtSamraksh commented 7 years ago

I can switch back to a working version but am puzzled at this, and would like to test the latest version.

WilliamAtSamraksh commented 7 years ago

The radio define was RF231 but the radio config was for RF231LR. I'll add a symbol for that. It would be nice for the exception to be informative.