This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Since last Thursday I can't post new questions in the E2E mmWave Sensors forum.
After pressing the post button nothing happens. I also don't get the
usual notification email regarding the confirmation of my post.
In reply to William Traynor:
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
In reply to Norman Wong:
Bill Traynor E2E SysAdmin/DevOps
Okay. Look like this forum is not different. I cannot post my problem reply. The reply consists of text and code. Here's the text.
You have allocated 0x800 or 2kB bytes for stack but the image_array of 256kB is declared on the stack. Also, SHRAM is only 128kB in size. The compiler cannot detect stack overrun due to large local variables.You should move image_array off the stack. Make it a global rather than local variable. The compiler can check global memory usage.To reduce memory usage, you can reduce image_array to an array of bytes instead of 4-byte "int". First read it in as a 4-byte int, then convert it to a byte.You should check to see if the file opened successfully. You may be using fscanf with a null FILE handle.
Try attaching the code as a text file.
unsigned char image_array[256*256]; // 256*256 = 64kB
image = fopen("image_cameraman_tiff.txt","r");
if(image == NULL)
fscanf(image, "%d", &a);
image_array[i] = (unsigned char)a;
Test using rich text editor.
In the quick reply window, I just pasted both text and response into the window. I pre-typed my reply in Windows notepad. Pressed "Reply"
In the rich text window, I pasted in my text first. Then clicked on the Syntaxhighlighter "</" and pasted my code in the code window. Closed code window. Everything looks okay in the rich text window. Press "Post".
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.