Hello dear e2e community,
I set up a Siemens S7 PLC and Touchpanel, to communicate with a ICEv2 Sitara Board. After some problems at first, it then really worked smoothly, and I could send some bytes between my PLC and the sitara, boot from SD-card etc. Very nice so far...
Then, I tried to add SPI communication to the ICEv2, and also had some success. But somewhere in the procedure, I misplaced my connector and killed the ICEv2-Board and the other processor I was doing SPI with - because directly next to the SPI-Pins on the SPI-expansion connector there is also 24V. The ICEv2-Board just blinked wildly and I pulled the plug. After this, it would not boot again, so first question: Do you have any idea if I could fix this?
But, I had a spare board (also ICEv2, exactly the same as the first one), and I thought I could just put my SD-card into it and it would work again. Sadly, not really. It does boot from the SD-card, and prints my messages on the UART console, and also prints my message on the OLED-Display. But, ProfiNET does not work. My PLC cannot find the ICEv2-Board.
And this is really strange: When connecting components via ProfiNET, every device has two ProfiNET-ports. So, I can connect them like this:
1.: computer -- PLC -- ICEv2 -- Touchpanel
or like this:
2.: computer -- PLC -- Touchpanel -- ICEv2
When using 1., not even the PLC and Touchpanel can communicate - that means, there is absolutely no ProfiNET-Operation going on on the ICEv2, because not even the "routing-through-functionality" works.
So, now here come my questions: How is it possible, that I have one SD-card with a program on it, which worked on the one board, but not on the other one? (all jumpers on the board checked)
Do I perhaps need to copy some binary into the PRU-processors before they work? (But I cant remember that I have done something like this on my first board..)
Or is the most likely possibility that my second board is somehow broken on the ethernet-functionality? But, everything else like normal SYS/BIOS operation, UART-console, bootloader, SPI, ... works fine on it.
I used the most recent SYS/BIOS-Industrial-SDK with CCS 5.5. I used the profinet-slave-example and only changed some little things like UART-Messages. But I really think this can't be the problem because I had the very same configuration on my first board, which worked really good - until I killed it...
Please help me with this! Thank you very much,
Philipp