|
From: Joerg W. <j...@ur...> - 2018-09-20 12:08:39
|
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. ;-)
|