I tried it briefly yesterday, and by using the latest SVN I was able to do
a debug session on the ATmega2560. I was still not able to start a session
on the 1284P. I will try some more on the different computers I have and
send the logs tonight.
On Wed, Jan 9, 2013 at 8:24 AM, Andreas Løhre <[email protected]> wrote:
>
>
>
> On Tue, Jan 8, 2013 at 9:31 PM, Joerg Wunsch <[email protected]> wrote:
>
>> As Andreas Løhre wrote:
>>
>> > I have attached a couple of the failing runs on my Atmega2560. The
>> device
>> > is running at 8MHz and no clkdiv8.
>>
>> Please try the current SVN again. I've committed a number of small
>> changes. Among them is that the CMD3_START_DEBUG command (which was
>> failing on you) is no longer attempted except for debugWIRE targets.
>> All other targets don't appear to need this command.
>>
>
> I will try again tonight and report how it works.
>
>
>>
>> Also, I implemented something which I've always intended: the GDB
>> "load" command now works again. Prerequisite is you need a
>> sufficiently recent GDB (version 7+), since these versions now can
>> automatically detect whether they operate on flash memory, issue a
>> FlashErase first (alas, I couldn't get page erases to work, so it's
>> still a chip erase for AVRs), then download all the data, and finally
>> emit a FlashEnd command so AVaRICE knows there are no more data to
>> expect, and everything can be committed to flash in terms of page
>> writes.
>>
>
> That is really nice! Looking forward to testing this.
>
>
>>
>> This should be a much more versatile replacement for the deprecated
>> flash download functionality from the commandline. In particular, you
>> can now stay within one GDB (and AVaRICE) session even if you
>> recompiled your target binary: GDB automatically detects if the ELF
>> file has changed, and reloads it, so all you need then is to re-issue
>> another "load" command.
>>
>> I also implemented a "monitor" backend command, but there's not much
>> more in it than "help" and "version" (so, that's "monitor version"
>> from within GDB). AVaRICE specific backend hacks might be added in
>> future, like direct support for ICE commands (in hex form).
>>
>> The only thing which is currently on my wishlist and not yet done is
>> to add Xmega watchpoint support (data breakpoints). megaAVR
>> watchpoints are supposed to work again though (so we are better than
>> Atmel Studio 6, hi :).
>> --
>> cheers, J"org .-.-. --... ...-- -.. . DL8DTL
>>
>> http://www.sax.de/~joerg/ NIC: JW11-RIPE
>> Never trust an operating system you don't have sources for. ;-)
>>
>>
>> ------------------------------------------------------------------------------
>> Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS
>> and more. Get SQL Server skills now (including 2012) with LearnDevNow -
>> 200+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
>> SALE $99.99 this month only - learn more at:
>> http://p.sf.net/sfu/learnmore_122512
>> _______________________________________________
>> avarice-user mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/avarice-user
>>
>
>
>
> --
> Mvh. Andreas Løhre
>
>
--
Mvh. Andreas Løhre
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712
_______________________________________________
avarice-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/avarice-user