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.

Concerto IPC data transfer missing first chars

Other Parts Discussed in Thread: CONTROLSUITE

First of all, is there a simple way to capture the IPC output on the C28 sside of the Concerto so it can be monitored?

When I send data to the IPC ram, it is correct, but when I look at the data recovered from a second Concerto unit ( PLC Development kit), the first two bytes of the message are missing. I have other strange things happening also, such as increasing the message size by one byte, causes a 32 byte increase in the received data. I have struggled with this for a long time and would like someone to take a look at what I am doing here. I have attached a zip of the severly modified example code to hopefully show where I am at.

3021.plc_exam_1.zip

Thanks,

Pat 

  • Hi Pat,

    Did the original code come from the PLC dev kit?  If so it may be best to send the question to the PLC support email list (PLC_support@list.ti.com).  I've also notified them of this thread, but sending your question to the list may get a faster response.

    Pat Harris said:
    is there a simple way to capture the IPC output on the C28 sside of the Concerto so it can be monitored

    In Hardware no, there would need to be some sort of code that grabbs the data - but it seems that unfortunately this is what you are having difficulty with itself. 

    In controlSUITE there are some simple IPC examples - this uses a library that we put into controlSUITE and depending on where your codebase is from, may be slightly different than the IPC library you are using (example the BIOS IPC layer).   The first thing is for us to understand where the codebase came from, which IPC features are being used,  and then work the question from there.

    -Lori

  • Lori,

    I have noted that others are having problems with PLC and the kit / example software. In each case, they were referred to a more private email site. I have done this, but it appears that response is very slow plus all other community members that are also struggling with this app. are eliminated from view of the e2e community. I appreciate your passing on the concerns that we PLC users have. I think it would be best if you and your fellow team members continued to do so such that any solutions would be made visible to all.

    My latest struggle is with the FreeRTOS queues that were implemented in the example code. Whereas the queue seems to work with the IPC task, I cannot get it to work with my own tasks, following the same method that was used for the IPC task. I have sent some example code to the email site and have attached it here. Is there any additional initialization that needs to be done to get a queue to work properly?

    1016.queueprob.doc

    Thanks,

    Pat

     

  • Pat,

    Based on the host message spec, the first two-byte is a part of host message so that RX side will remove the 2-byte before delivering it to CM3.

    Regards,

    Wonsoo