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

Nathan Sidwell nathan at codesourcery.com
Tue Aug 26 08:29:51 UTC 2008


TDannemiller at peco2.com 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




More information about the coldfire-gnu-discuss mailing list