avrdude-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avrdude-dev] [RFC] XMEGA PDI programming with a AM335x processor


From: Enric Balletbo i Serra
Subject: [avrdude-dev] [RFC] XMEGA PDI programming with a AM335x processor
Date: Sun, 29 Jan 2017 12:53:22 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0

Dear all,

This is a request for comments.

I've been working on add XMEGA PDI programming support using the Programmable 
Realtime Unit (PRUSS) available on AM335x based boards like Beaglebone Black. 
With this you can program an XMEGA in-circuit without requiring any external 
hardware. The programmer needs a custom firmware that needs to be loaded to the 
PRU [1], avrdude loads the firmware and communicates with it to be able to 
program the firmware on XMEGA, the code is available here [2] and the specific 
commit that adds support for it is here [3]. It works doing

 avrdude -p atxmega16d4 -c pruss -e -U flash:w:my-firmware.hex

But there is still an issue that I need to solve, though I have a workaround to 
make it work. I'm pretty sure that the problem is in the PRU firmware side so 
not a problem with avrdude. Nevermind if you want to help test, review or give 
me your comments all are welcome. Do not hesitate to contact me if you are 
interested on this, either by email or in the irc (nickname eballetbo). I hope 
have a stable version soon but meanwhile, I repeat, if anyone would like to 
test all feedback is welcome.

Best regards,

 Enric


[1] https://github.com/eballetbo/pdi-pruss
[2] https://github.com/eballetbo/avrdude
[3] 
https://github.com/eballetbo/avrdude/commit/ba3cb893cf3931033faeb4ebe0c296842f168cc7





reply via email to

[Prev in Thread] Current Thread [Next in Thread]