Tool/software: Linux
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.
Tool/software: Linux
ello Jacek,
This PRU issue might be something we can help with - just keep in mind that I won't try to replicate any of your results on my side since you're using a non-TI operating system, and we may get to a point where it looks like a Debian vs SDK issue and you'll need to go somewhere else for more debug assistance.
1) Have you checked that the unmodified examples PRU_RPMsg_Echo_Interrupt0 and PRU_RPMsg_Echo_Interrupt1 work as expected? Based on your version of Linux I'd use the most up-to-date version of the PRU Software Support Package (found at the git repo or under example-applications in Processor Linux SDK). Reference for getting those running is the RPMsg Quick Start Guide.
2) FYI another way to debug in Linux without depending on hardware external to the processor is writing values to a known portion of the PRU's DRAM, for example:
1
2
3
4
5
|
#define TESTA (*((volatile unsigned int *)0x100)) main( void ){ TESTA = 0xDEADBEEF; } |
Note that the absolute memory address is different than the memory address from the PRU’s perspective, e.g. TESTA is at 0x4a300100 when you are trying to look at it from the Linux command line on an AM335x. So you would probe the memory location using devmem2 0x4a30100