Post Created date
Adding variable causes program to stop working at runtime
I have a follow-up question. (Perhaps this belongs in a new thread, but it is at least semi-related.) When I construct bitmasks in my code for bit shifting operations, are the...
Thursday, 12 March 2015 - 23:10
Adding variable causes program to stop working at runtime
It did not, at least as far as I can tell. At least there is nothing that said "you have exceeded the RAM on your device". I just did a recompile to confirm this and read through...
Tuesday, 10 March 2015 - 22:27
Adding variable causes program to stop working at runtime
Thanks so much all, this fixed my problem. I must have eaten up all the RAM. In addition to the static string constants mistakenly residing in RAM (my menus), my program is...
Tuesday, 10 March 2015 - 21:57
Adding variable causes program to stop working at runtime
This is all great, thanks clawson for the concrete example. I now have a follow-up question. Is there an elegant way to pass the data from a string stored in program space to a...
Tuesday, 10 March 2015 - 17:55
Adding variable causes program to stop working at runtime
This is a great info, thanks for the responses. This begs the question: how do i decide whether to allow such static strings to be resident in memory? In other words what is the...
Tuesday, 10 March 2015 - 14:21
Adding variable causes program to stop working at runtime
Torby wrote: Well, you've checked for everything I can think of...   You're storing any static strings in __flash so they're not eating up ram?   Hmm this could be part...
Tuesday, 10 March 2015 - 00:19
Adding variable causes program to stop working at runtime
Kartman wrote: Task stack size? you might be over running arrays Try and narrow down what task and look at the map file to see how things move around when you add/subtract...
Monday, 9 March 2015 - 23:59
Bit shifting trouble
Thanks, this fixed it! I initially suspected this was a data typing issue and one of the things I had tried was forcing right-hand input the bit shift argument to be 32-bits (...
Wednesday, 4 March 2015 - 16:54