Re: [coldfire-gnu-discuss] Writing to integrated peripheral registers?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [coldfire-gnu-discuss] Writing to integrated peripheral registers?



TDannemiller@xxxxxxxxx wrote:

Hi,

I attempted to access the integrated peripheral registers, but get a
"Cannot access memory" error. So I modified my board file to define
the integrated peripheral register area as memory. I can now read the
registers, but because these registers are peripheral registers
that may not read back the same value as written, I sometimes get the
following error when trying to write to a register:

m68k-elf-sprite: Memory write verification failed; config file error?
Cannot access memory at address xxxxxxx

Is there an attribute I can assign in the board file to this area (or
another way) that would prevent it from trying to verify after a write?

The debug sprite verifies the first memory write after connection. So you can work around this by writing to RAM first.

nathan
--
Nathan Sidwell    ::   http://www.codesourcery.com   ::         CodeSourcery