Other Parts Discussed in Thread: MMWAVEICBOOST, AWR6843AOPEVM
Hello,
I am right now using the Overhead 3D People counting Lab from the Industrial toolbox. And for testing purposes, I wanted to cluster the Point cloud data, generated on the DSP before passing the point cloud via the L3 shared Memory to the R4F.
Now, I implemented the DBSCAN library, that can be found in the mmWave SDK into the main_dss, adapted the structure that is then passed to the L3. So far so good, everything is clear up until now.
When compiling, I receive the error from the compiler that the program won't fit into the memory. When using the "memory allocation" view in CCS, I can see that all the available memories are already filled, only the L3 has some space left, whereas I am not sure to what extent I can/should use that to store program code.
I edited the linker file, so that the ".text" partition overflows into the L3, to test that, but when I build the project, which now compiles successfully, and flash it to the Board, the IWR just refuses to run properly. I tried debugging it, but I get some unexpected behavior, where the IWR just refuses to continue the execution without any debug messages or something else. As if it runs into unrelated memory regions or something else.
I also reduced the .dpc_l2Heap from the stock 131kB to 126kB instead of overflowing the .text region into L3, which also resulted in a successful compilation but no working outcome either.
Long story short, I have no clue how I can fit the DBSCAN into the DSP, but I just refuse to believe, that the whole memory is almost 100% loaded.
Please give me a hint into which direction I have to look, I already looked into all the reference manuals I could find like the C674x Megamodule Reference Guide, C6000 Programmers Guide and so on.
PS: I am on purpose trying to get DBSCAN running, instead of using the gTrack Library.
PPS: If there was a implementation of DBSCAN for the R4F instead of the DSP, I would also use that...since the R4F certainly has some memory left to code on.
Thanks in advance,
best regards,
Sebastian