Part Number: AM2432
Hi,
I am using AM2432 with the Industrial SDK 11.00.00.08.
Our project involves using ENET with CPSW in Switch Mode, so I would expect to have one internal host port and the two external ports. Only core R5FSS0-0 will use it.
I want to implement a custom way to assign MAC addresses to the device, so I made sure to:
- skip reading MAC addresses from the EFUSEs, by adding a new flag SkipEFUSESMacAddr in enet_cpsw_am64x_am243x.syscfg.js and modifying enet_soc_cfg.c.xdt.
- skip reading from the EEPROM, that is not used our board, by modifying ethphy_cpsw_board_cfg.c.xdt. Instead, read the MAC addresses from a buffer declared as extern
- Now I declare a buffer as uint8_t macAddrBuf[3 * ENET_MAC_ADDR_LEN] = {0xAC, 0xD3, 0x64, 0x00, 0x00, 0x00, 0xAC, 0xD3, 0x64, 0x00, 0x00, 0x01, 0xAC, 0xD3, 0x64, 0x00, 0x00, 0x02};
Everything is working correctly, and I can see the MAC addresses I declared being added to the queue.
Since I have two physical ports plus the switch port (as in AM243x Launchpad and not as in AM243x EVM), I’ve only entered three MAC addresses, but when I run, I get this message:
EnetAppUtils_reduceCoreMacAllocation: Reduced Mac Address Allocation for CoreId:1 From 4 To 3
Why does this happen? How many MAC addresses does a custom board with ENET with CPSW in Switch mode actually need?
And, since we'll be using ENET with CPSW with Dual MAC mode on other projects, how many MAC addresses would I need in that other case?
Thank you,
Best Regards,
Andrea