Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

What am I missing here?

Pommie

Well-Known Member
Most Helpful Member
I have a project with a structure containing various 16 bit values.
When I look at the structure I see,
1704921863473.png


Which is exactly what I expect to see. At location 0x60 is a 16 bit value containing 511.

However, when I look at the file register values I see this!!!
1704922002377.png

Which shows the value at 0x60 as 0x01ff. Completely different.
I'm also writing this to EEPROM and the second (file register) values are being written.

Am I misunderstanding this? Or am I missing something else?

Thanks,

Mike.
P.S. I've tried stopping the debugger and reading the memory to no avail.
 

Latest threads

New Articles From Microcontroller Tips

Back
Top