I think you might be using the ascii mode which assumes signed values (hence max of 2^31)

On 20 Aug 2008, at 16:06, Peter McMahon wrote:

Hi Oren,

I seem to remember having this problem myself a while back. My memory is a bit hazy, but I seem to remember that in one of the ioreg modes I could write values >2^31, and in the other one I couldn't. I just can't remember
which was which.

If I had to guess, I'd say that you should try writing in the binary mode
because the ASCII mode is broken.

Cheers,
Peter

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Oren Milgrome
Sent: 20 August 2008 16:03 PM
To: [email protected]
Subject: [casper] borph register value limit?

Hi, I've noticed a funny limit on the largest value I can write to a
unsigned 32 bit BORPH register. This arrises when I try to set a 10GBE
transmitter to send to IP adddress 226.0.0.1

I've tried decimal and hex representations, but the command seems to fail
for values bigger than 2^31. Any hints would be greatly appreciated.
Thanks, Oren M.
[email protected]





Reply via email to