Control Cog muticore and add ram
mklrobo
Posts: 420
Hello!
I would like to know if anyone has code to control which cog is called, and the ability to shut down individual cogs.
The manual indicated that this is done with IDs. Also, With the Board of Education, will I be able to use a SD card to
function with the Ram, or is it to store programs? The extra memory for the propeller would be a relief.
Thanks for your help..:nerd:
I would like to know if anyone has code to control which cog is called, and the ability to shut down individual cogs.
The manual indicated that this is done with IDs. Also, With the Board of Education, will I be able to use a SD card to
function with the Ram, or is it to store programs? The extra memory for the propeller would be a relief.
Thanks for your help..:nerd:
Comments
Any Propeller board with an SD card attached to it (via 4 I/O pins) can store programs on it. Data can also be stored on the card, but neither is automatic. You have to have some kind of program in the attached EEPROM that handles the SD card. C programs can be compiled in XMMC mode where code is "paged" in from the SD card on demand and the C library handles this. This slows down execution (significantly), but allows very large programs to be run. Data (variables) have to be stored in RAM. There's no way to automatically put variables on an SD card. That would slow down execution too much. There are some other boards (like the C3) that have external RAM that can be used for data (variable) storage using special XMM modes. This still slows down execution markedly, but is practical for some applications.