This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

RTOS/AM3356: Some problems in developing PROFINET by AM335x ICE and SYSBIOSSDK-IND-SITARA

Part Number: AM3356

Tool/software: TI-RTOS

1、Where is the limitation of the PROFINET protocol stack part of the AM335x PROFINET? The whole system has been running for 3 days without stopping.What we're finding now is that there are only restrictions on the PROFINET communication input and output bytes, are there any other restrictions?

2、Setting Jumper on Digital Input pin generates an Alarm. This is an external way to manually generate the alarms from the I/O device.But I can't see any Alarm on the PLC .

When the program is debugged,J9 &0x1 is TRUE.


// special ALARM generation for PN tester
  if(inJ9 & 0x1)     // check on first jumper
  {
   if(appAlarmActive == 0)
   {
    appAlarmActive = 1;
    alarmCounter++;
   }
  } else
  {
   if(appAlarmActive == 2)  // reset the ALARM flag if ack by stack
   {
    Task_sleep(500);  // Make sure we create single alarms...
    appAlarmActive = 0;
   }
  }

3、Where to set the MAC address in the program?

  • 4、Here are three questions about the MAC address, and I look forward to your responses along with the above questions.
    <1>Is the AM335x already assigned a MAC address at the time of delivery?
    <2>Is it the only one in the world?
    <3>is it stored in " mac_id1_lo Register (offset = 638h)" and " mac_id1_hi Register (offset = 63Ch) "?
  • Hi Andy,

    1) Please refer to the thread - e2e.ti.com/.../524152

    2) In order to see the alarm frames from DUT, need run the alarm related test cases in PNIO tester and when the tester pops up to generate alarms, short the jumpers (and remove). Confirm with wireshark if there is 'Alarm Notification Low' frames and the test case should PASS (or Inconclusive).

    3) Refer to PN_socgetMACAddress() (main.c) ->SOCCtrlGetPortMacAddr() (pdk starterware\soc\am335x\am335x_control.c)

    4) please refer to e2e.ti.com/.../291721

    Regards,
    Garrett