AVR32 Studio - main register view

Go To Last Post
3 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi All

I am trying to get the main registers to be displayed in hex format (when debugging). At the moment they are defaulting to decimal; eg. -2147450844 is displayed when the program counter is 0x80008004.

I found that I can add the register to a watch expression, where I can then set its format to hexadecimal. However it also tends to change back to decimal again when stepping through code (therefore the format needs to be re-set again to see it again).

Studinging the debugger help documentation there is a suggestion that the format context menu is available in the register window itself, but this doesn't show up anywhere.

Any ideas?

Regards

Mark

PS: AVR32 Studio V2.5.0 (not 2.6.0 - since I couldn't get the GCC plugin to be deinstalled; the new GCC compiler crashes when compiling the present project but it is OK with the older one).

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi All

Am am wondering whether someone may have an idea on this - having to compute hex values of all registers from an integer display with a calculator all the time is rather tedious.

Attached is a screen short (jpg) showing AVR32 Studio V2.6 on the left hand side displaying the register view as integrer values (eg. 0x80000000 is displayed as -2147483648) with the context menu which should allow chaning the format. As seen there is no such menu.
On the right is a screen shot from the evaluation version of ATOLLIC TrueSTUDIO (based on AVR32 Studio V2.6) where the menu is displayed and the format is set correctly.

If ATOLLIC TrueStudio is based on the same version of AVR32 studio why does it do some things better?

Regards

Mark

Attachment(s): 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Workaround is here:
https://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&p=737081&highlight=register#737081

I have no idea why not works on win, under linux it works well.
Oneill