- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please help me
I've declared and defined the global variable...let say vrc and at the begining of main()
I've redefined vrc but when I print out the result, garbage was printed...why?(please refer file isg-no-enc-test-handle3.txt)
Any help is appreciated
Kamari
Solved! Go to Solution.
- Labels:
-
PSoC 5 Device Programming
-
PSoC 5LP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The sprintf() buffer variable "dbg" is defined quite too small. So some parts of your sram gets overwritten.
Is there a reason for the large stack size of 0x1200 bytes?
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you please post your complete project or a shortened version that shows the error so that we all can have a look at all of your settings. To do so, use
Creator->File->Create Workspace Bundle (minimal)
and attach the resulting file.
Which PSoC kit are you using? CY8CKIT-0??
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The sprintf() buffer variable "dbg" is defined quite too small. So some parts of your sram gets overwritten.
Is there a reason for the large stack size of 0x1200 bytes?
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Bob
Everything back to normal now
Thanks again
Kamari