Learn example: Index Array Variables.side - doesn't load
John Kauffman
Posts: 653
I'm using example built in to Learn package: SimpleIDE/Learn/examples/C Intro/Basics/index Array Variables.side
Loaded with F8.
Build succeeds, load fails with message below and highlight on print line.
I tried on two boards w/same results.
Other programs from Learn are running fine
...
Done. Build Succeeded!
propeller-load.exe -Dreset=dtr -I C:/Program Files (x86)/SimpleIDE/bin/../propeller-gcc/propeller-load/ -b PROPBOE cmm/Index Array Variables.elf -r -p COM9
Ignored 251 bytes.
Ignored 251 bytes.
Loaded with F8.
Build succeeds, load fails with message below and highlight on print line.
I tried on two boards w/same results.
Other programs from Learn are running fine
...
Done. Build Succeeded!
propeller-load.exe -Dreset=dtr -I C:/Program Files (x86)/SimpleIDE/bin/../propeller-gcc/propeller-load/ -b PROPBOE cmm/Index Array Variables.elf -r -p COM9
Ignored 251 bytes.
Ignored 251 bytes.
/* Index Array Variables.c Version 0.94 for use with SimpleIDE 9.40 and its Simple Libraries Use a for loop to display all the elements in an array. http://learn.parallax.com/propeller-c-start-simple/index-array-variables */ #include "simpletools.h" // Include simpletools int main() // main function { int p[] = {1, 2, 3, 5, 7, 11}; // Initialize the array for(int i = 0; i < 6; i++) // Count i from 0 to 5 { print("p[%d] = %d\n", i, p[i]); // Display array element & value pause(500); // 1/2 second pause } }
Comments
I built versions of CMM, LMM, XMMC and they ran.
My LMM load output:
This was on an Activity Board. Something about your config, possibly?
dgately