Part Number: TMDSICE3359
Tool/software: TI-RTOS
Hello,
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.
Part Number: TMDSICE3359
Tool/software: TI-RTOS
Hello,
Hi Florian, PDK patches are under
<PRU-ICSS-HSR-PRP-DAN_xx.xx.xx.xx_Path>\protocols\pdk_patches\04.03.00
TI-RTOS PSDK 4.03.00.05 installs pdk_am335x_1_0_10. Please apply patches in PDK and rebuild PDK. Then rebuild PRU-ICSS HSR-PRP project.
thank you,
Paula
Hi Paula,
I don't know if I correctly install the PDK patches and I think no. Here are the files I have under PRU-ICSS-HSR-PRP-DAN_xx.xx.xx.xx_Path>\protocols\pdk_patches\04.03.00 :
Fichier dispo sous pdk_patches.pdf
Can you please explain me exactly what I've to do with that ? What is the procedure to apply the PDK patches ? The datasheet that I find on your website is not clear..
Thanks.
Best regards,
Florian
Hi Florian, from my C:\TI\PRU-ICSS-HSR-PRP-DAN_01.00.04.02\protocols\pdk_patches\04.03.00 I see there are two zip files (icss_emac and nimu_icss) also if you open PRSDK-3086-HSRPRP_2_interrupts_PDK.patch you can see only two files are actually patched
--- icss_emacDrv.h
+++ icss_emacDrv.h
...
--- src/icss_emacDrv.c
+++ src/icss_emacDrv.c
So I don't think you need to patch anything in "nimu_icss"...
Some options:
1) apply the patch inside. For patch.exe you need to input in command line the full path of the patch file, and the source dir (in this case something like: C:\TI\pdk_am335x_1_0_10\packages\ti\drv\icss_emac). After that, you need to rebuild PDK ICSS_EMAC driver, and rebuild your application
2) After unzipping <PRU-ICSS-HSR_psth>\protocols\pdk_patches\04.03.00\icss_emac just replace the same folder inside PDK (C:\TI\pdk_am335x_1_0_10\packages\ti\drv\icss_emac). Again rebuild PDK, and app
3) or just replace the two modified from <PRU-ICSS-HSR_psth>\protocols\pdk_patches\04.03.00\icss_ema inside PDK emac =). Rebuild PDK and app
How to rebuild PDK:
- In a command line window. cd to C:\TI\pdk_am335x_1_0_10\packages
- Run pdksetupenv.bat
- then make: gmake clean, follow by gmake all... this takes for ever
- to reduce time you can use instead gmake icss-emac_clean, and then gmake icss-emac
More details here: http://processors.wiki.ti.com/index.php/Rebuilding_The_PDK
Hope this helps,
Paula
Hello Paula,
thanks for your help.
Now that I have applied the patches, I find this error yet : " CortxA8: Unhandled ADP_Stopped exception 0x20023" ...
What can I do to resolve this ?
Thanks.
Best regards,
Florian
Florian, sorry I somehow I missed your post.. are you still facing Unhandled ADP_Stopped exception? .. If so, my wild guess is that something is not completely right with how patches were applied.
I will loop in this thread a colleague with more experience with HSR-PRP as well.
thank you,
Paula
Florian,
After you apply the icss_emac patch, did you rebuild icss_emac as well as nimu_icss library? Though there is no patch to nimu_icss, the library is dependent on icss_emac so has to be re-built. You may simply replace the icss_emac and nimu_icss with the ones from the .zip files in the pdk_patches\04.03.00 folder.
Regards,
Garrett
Hello,
Thank you very much for your help !
After searching for the source of the error without success, I've juste uninstall and reinstall the CCS, the Processor SDK and the PRU ICSS SW for HSR/PRP.
Now it works. I have the HSR application on my board.
I don't understand where the problem was, but I think that the PDK patch was not installed properly.
Thanks again.
Best regards,
Florian
Thanks Florian for letting us know. When you have a chance, please help us to close the thread
Paula