Part Number: AM3359
Tool/software: Code Composer Studio
Hi. there
I have an AM3359ICE and J-Link Debugger.
I am working on ehtercat_slave_full_AM335x_arm project.
I have a few questions.
Q1. What version of the SDK is applied to the on-board image (IASDK 1.1.0.5)?
( ex: Processor-SDK-RTOS-AM335x 2.0.2 )
Q2. Is it correct to use version 5.12 of Beckhoff SSC Tool?
Q3. ehtercat_slave_full_AM335x_arm The following tests were performed in debug mode.
If I connect Ethernet to Port 1, the master device will not be able to scan the AM3359ICE2.
However, if I connect Ethernet to Port 0, the AM3359ICE2 scan will be successful on the master device.
What is the difference between Port 0 and Port 1?
Q4. ehtercat_slave_full_AM335x_arm The following tests were performed in debug mode.
If I am using Ethernet Port 1 and attempting a connection from the master device, the red LED will blink on the AM3359ICE2 and the connection will fail.
The below source code is debugging point, please check in your source code.
Ecatslv.c
====================================================================================
UINT8 CheckSmSettings(UINT8 maxChannel)
{
...
pSyncMan = GetSyncMan(MAILBOX_WRITE);
SMLength = pSyncMan->Length; // pSyncMan->Length is 0
SMAddress = pSyncMan->PhysicalStartAddress; // pSyncMan->PhysicalStartAddress is 0
if (!(pSyncMan->Settings[SM_SETTING_ACTIVATE_OFFSET] & SM_SETTING_ENABLE_VALUE))
{
result = ALSTATUSCODE_INVALIDMBXCFGINPREOP;
}
...
}
====================================================================================
I think that Blinking Red LED was AlStatusCode=0x16 that means ALSTATUSCODE_INVALIDMBXCFGINPREOP.
Thank you in advance.