No brackets around the #if condition check.
#if (FNET_CFG_CPU_TIMER_NUMBER < 3)
If the Timer used was not defined in user code then the Max numbers of timers value is selected which in this case was 7 which was setting the ISR Vector number incorrectly.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I've been testing out this s/w on the MPC5646C and have found the following bug.
File "fnet_mpc_config.h" line 85
No brackets around the #if condition check.
#if (FNET_CFG_CPU_TIMER_NUMBER < 3)
If the Timer used was not defined in user code then the Max numbers of timers value is selected which in this case was 7 which was setting the ISR Vector number incorrectly.
This issue was solved in the following thread: https://sourceforge.net/p/fnet/discussion/920346/thread/4b891957/
Also the brackets will be added.Thanks.
BTW:
I just curious, for what automative project you are going to use the MPC port of FNET.
Last edit: Andrej Butok 2014-07-17