Loading Lookup Tables from Spin DAT to PASM COG RAM?
Drone
Posts: 433
I have a PASM object running in a single cog called by SPIN that needs multiple (one instance but different each time) a DAT lookup table used in the PASM object. Given the limited amount of cog RAM, I want the calling SPIN to stop the PASM cog then restart it loading a different DAT lookup table from hub RAM into the called PASM object cog RAM depending on user input in the calling SPIN object. So the calling SPIN code would have multiple DAT tables that the user can specify to be loaded into the PASM object. Before reinventing the wheel, are there any examples of this? I'm new to PASM but making steady progress.
I don't have example code to debug using this approach yet. I do have PASM stand-alone DAT table lookup working thanks to some examples from Mike Green, thanks Mike
Thanks for any feedback, David
I don't have example code to debug using this approach yet. I do have PASM stand-alone DAT table lookup working thanks to some examples from Mike Green, thanks Mike
Thanks for any feedback, David
Comments