XMMC project & provided libraries
afarrens
Posts: 1
I have a project that involves making the activity bot drive, use two additional servos to control movement of the PING sensor and a screw jack, record data from the PING sensor and a voltage output from a circuit.
Because of the libraries required to perform all these functions, my code will not fit in the HUB memory, even compiled in CMM mode.
I converted my code to run in XMMC mode, by selecting the "XMMC External Flash Code Main RAM Data" Memory Model. When I run the program, it's prints to the terminal screen fine, but the robot does not move. I found a thread that says XMMC doesn't work with certain libraries, like abdrive, but it didn't really say what I could do about it. I am wondered what I can do next-- how do make the robot actually execute the commands in my code? Or to put it another way, how do I make a program running in XMCC mode make the robot move?
Because of the libraries required to perform all these functions, my code will not fit in the HUB memory, even compiled in CMM mode.
I converted my code to run in XMMC mode, by selecting the "XMMC External Flash Code Main RAM Data" Memory Model. When I run the program, it's prints to the terminal screen fine, but the robot does not move. I found a thread that says XMMC doesn't work with certain libraries, like abdrive, but it didn't really say what I could do about it. I am wondered what I can do next-- how do make the robot actually execute the commands in my code? Or to put it another way, how do I make a program running in XMCC mode make the robot move?
Comments
Some packages need to run C functions in multiple COGs. XMMC in the release package will not support this. We have another propeller gcc package that will support running C functions in multiple cogs in XMMC, but some library changes will be required for that. We will be qualifying the new propeller gcc package with libraries and simple ide over the summer.