Other Parts Discussed in Thread: SYSBIOS
Equipment:Board: ICE v2, CCSv6 vs. 6.0.1.00040,
TI XDS100v2 USB Emulator,
Windows7,
am335x_sysbios_ind_sdk_1.1.0.5
NDK 2.24.1.18
NDK's NSP 1.10.2.09
SYSBIOS 6.40.3.39
Compiler TI v5.1.9
Hello everyone,
for quite a while I am struggling for a solution to send and receive TCP/IP data via ICSS while everything else shall be done by the Cortex A8 core.
So far with little success.
My hope is to get some pointers from this forum as I assume that others may have the same problem.
Here are some questions:
1. EthernetIp_adapter example for ICEv2 board
This example is said to use 'normal' TCP/IP. But somehow I could not find code that does the data transfer.
I have removed all the ethernetip dependent code to obtain a 'standalone switch'. (There is a description what to remove.)
1.1 Firmware
TaskPruss() loads PRU0_FIRMWARE and PRU1_FIRMWARE to PRU0 and PRU1. Ok so far.
But this code consists of 2 arrays containing binary data.
What is that firmware responsible for and how to use it?
Is there a document that explains what it does?
1.2 APIs
Obviously I can apply the APIs from the AM335x_ICSS_Switch_Driver_API_Guide to this firmware.
(http://processors.wiki.ti.com/index.php/AM335x_ICSS_Switch_Driver_API_Guide#Introduction)
Some of the functions are used in the example ethernetip_adapter.
Is my understanding correct that the firmware sends and receives data continuously and one can send data by using TxPacket()?
Where would I specify the destination IP address?
What is the maximum for lengthOfPacket?
How many packets can I send to one queue?
How many queues are there?
Can I send blocks of data that belong to one big buffer to different queues?
How would I send a broadcast message?
These are just some questions.
What would be helpful is either a document that explains the usage or/and a well documented example that demonstrates data transfer.
(NDK does not support SITARA yet.)
The example does not necessarily need to be with TI-RTOS, but definitely without Linux!
Can anybody provide some pointers.
Any comment is very much appreciated!
Thank you!
Regards,
Martin H.
