Debugger is showing signed value for unsigned char
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-09-18 8:05 AM - last edited on ‎2024-09-19 12:03 AM by mƎALLEm
Hello guys,
I have a problem like this. How can I fix this problem
- Labels:
-
STM32Cube MCU Packages
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-09-19 12:44 AM
I tried what you said but the problem is not solved. Works properly in Keil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-09-19 12:46 AM
I I use version 13.0.2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-09-19 12:48 AM
I tried what you said but it didn't solve the problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-09-19 12:53 AM
@Guven47 wrote:
I tried what you said but it didn't solve the problem.
Tried what?
I asked you to attach a minimal project that reproduces the behavior in order to replicate the same behavior from our side.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-09-19 1:33 AM
@Guven47 wrote:
I I use version 13.0.2
Of STM32CubeIDE?
Try the latest version 1.16.1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-09-19 2:02 AM
@Guven47 wrote:I I use version 13.0.2
What year was that version released? 2075?
What tools are you using?
TimerCallback tutorial! | UART and DMA Idle tutorial!
If you find my solution useful, please click the Accept as Solution so others see the solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-09-19 2:03 AM
You can right on the value field and pick "Cast to Type" and then type e.g. uint32_t or whatever you want.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-09-19 2:19 AM
@DaveJ wrote:You can right on the value field and pick "Cast to Type" and then type e.g. uint32_t or whatever you want.
You're not getting the point. The OP is already showing the variable as uint8_t but the value is showing as negative (-128)
Plus the OP is in Live Expressions and unless you know of a trick, you can't change the type
TimerCallback tutorial! | UART and DMA Idle tutorial!
If you find my solution useful, please click the Accept as Solution so others see the solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-09-19 2:31 AM
Does this also happen in the 'Variables' view?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-09-19 10:19 PM
Yes,it's happening.
