As Fabian Bläse via avarice-user wrote:

> Because of wrong values for SPMCR and IDR adresses,
> the debugger is unable to write software breakpoints into flash.

Basically OK, but:

> @@ -4132,7 +4132,7 @@ jtag_device_def_type deviceDefinitions[] = {
>           fill_b2(32768 / 128),       // uiFlashpages
>           0x31,       // ucDWDRAddress
>           0x00,       // ucDWBasePC
> -         0x00,       // ucAllowFullPageBitstream
> +         0x01,       // ucAllowFullPageBitstream
>           fill_b2(0x3F00),    // uiStartSmallestBootLoaderSection
>           1,  // EnablePageProgramming
>           0,  // ucCacheType

Are you totally sure about this one?

As far as I can tell, ucAllowFullPageBitstream is a bit that must only
be set for JTAG debugging on very old devices (ATmega16, ATmega128
etc.).

-- 
cheers, Joerg               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/
Never trust an operating system you don't have sources for. ;-)


_______________________________________________
avarice-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/avarice-user

Reply via email to