Hi Jeff
Hope all is well good to here from you
Yes saw that I think that’s why someone told Walter there’s no way to get code into PRU with CCS.
It’s obvious that the poster was using CCS fine to debug PRU code it’s only the examples with RPMSg where JTAG is blocked. This to me means the ARM has a Lock on some shared resources. I’ve also seen comments take the Linux SD card out🤔 when using CCS JTAG.
The PRU resources are so limited I’m thinking any PRU application would need to remove RPMSG after the application is working. it’s really a glorified printf debugger .
In the event you see PRU freezes or crashes JTAG is invaluable and you could remove the Rpmsg from the code while debugging.
Back to your DSP comments Jeff.
On OMAP4 the key to debugging the DSP with CCS was a gel file that basically holds ARM off from interfering. If you look at the link I provided and re-read the user provides his gel script in theory if your PRU or DSP code needed no muxing done by the ARM you debug your DSP or PRU code with CCS and JTAG and you dummy up input Data from ARM but you hold the ARM in reset while you debug the PRU or DSP. We did that on a OMAP L 138 the DSP ran the Matlab control theory loop. DSP can access DDR and a big shared SRAM.
Once our ARM DSP IPC all worked you really can’t debug one side it’s like halting a wifi transmission in the middle the communication will fail right.
My point is you hold off the ARM with a gel script hold it in reset then load a gel script that initializes the DDR Ram and loads the code and starts the DSP. The problem these gel files are inhouse TI tribal knowledge or seem to be lost between CCS version.
A good example is the Am335x SDK has those same example you were running on 57x with a PRU CCS JTAG tutorial. I went through that on a Beaglebone white and CCS 6.0 the PRU_CAPE. Gel file was flakey I had no Cape. It was good enough to re learn CCS 6 on am335x on windows 7 but I quickly punted I’m running CCS 10 on windows 10 on the Beaglebone white which has JTAG built in. But get this they abandoned Starter ware they folded it into the SDK Linux PDK the .org page says starterware is supported it’s not. It also says that you can use the Linux SDK on any version of Linux so I think Cheng started installing it on the Beaglebone bone yikes.
This am335x PRU is very limited. We used one PRU for a UART for DSP and the other PRU was an LCD segment controller.
We also a TI 28xx quadrature encoder the DSP read over SPI. The clock on these DSP is way faster than a PRU. The DSP control loop ran ever 100 nS.
This PRU at 200MHZ that’s 50 instructions in assembler it couldn’t work as hard as a DSP.
Walter has a fairly simple loop he had working on ARM side reading ADC but he was getting unacceptable delay so he’s learning PRU.
I don’t know my Beaglebone white really isn’t supported anymore I’ve got a barebones ARM ADC running on it I’m unwilling to give up JTAG and CCS I do have several black’s and the JTAG sockets but don’t feel soldering ambitious.
my Am335x SK EVM already runs SDK Linux has JTAG onboard and has more memory like the black. Looks like I was building uboot on a Linux Ubuntu laptop I definitely remember building SDK Linux kernel and running defconfig and finally learned how to add remove module’s and features from the kernel that was in 2015.
I guess it’s better late than never my only concern is that pin muxing of that SDK kernel has to be outdated but I’ll take the risk if I can build my Kernel’s source’s. You can’t deliver a product if you can’t rebuild source code right Jeff??? Still there.
On barebones ARM pinmuxin depending on what peripherals you need on your project that’s why starterware is no longer supported it becomes ifdef nightmare but the c code is obvious.
it’s the cache, MMU code that’s complex then fold in open source TCP/IP wow no way you going to get a barebones ARM project going in less a year’s using console uart printfs.
That FTDI UART/ JTAG onboard the devboard the hardware guys were old school they definitely knew what someone doing low level development needed. That was the Beaglebone white and the $200 am335x SK
The black ditched the JTAG onboard and doubled the RAM.
Unfortunately everyone using anything after the bone black hasn’t hair Left
because they spend their Life waiting on printf from DSP on x15 and PRU.
Win 10 CCS10 Black hawk x15 your blazing Jeff unfortunately I don’t see anybody beyond you in this group seeing the value of CCS.
Most of these guys on this group are ARM Linux application guys they don’t need CCS for that. And anybody else using the X15 DSP will probably use RPMSg.
I want to stay positive but I can’t make a $$$ investment in any .org board again that doesn’t have a working JTAG connector on it so if I want to do DSP I gotta go backwards to my OMAP L138 board.
For you I can check out all the .gel that came with CSS 10 as well as what gels come in the 57x SDK you should not have any problem loading up DSP CCS code. Pull the Linux SD card out on x15 I mean you’re learning signal processing on 67x right. CCS and JTAG are the default TI DSP tools for at least 10 years
Mark