AVR231 AES bootloader implementation on Atmega2560

Go To Last Post
6 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I need the AES bootloader properly configured for the Atmega2560 (per AVR231, see http://ww1.microchip.com/downloads/en/Appnotes/00002462B.pdf).  I have been messing with it for the last couple of days and I've got it communicating properly, but the flash section always ends up blank (0xFF's) after I send the encrypted flash to the device.  It's probably a configuration issue on my end, and I am also having a linker issue when I try to set the section start for the .text region ("unrecognized command line option '--section-start=.text=0xXXXXX'").

 

Bottom line, I have a production deadline, and am willing to pay someone to get it functioning properly in Atmel Studio 7 for the Atmega2560.  Send me your price. I can pay via PayPal or merchant of your choosing. Payment sent upon verification of proper functionality.  I would prefer a zipped Atmel Studio 7 project.

 

Thank you!

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

No one?  This a paying gig.  Thanks.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

What price are you willing to pay? Based on the basic information you've provided, this is how I'd breakdown and cost the job:

1. get the project and replicate the customer's setup - 3-4 hours

2. run tests, identify the problem - 2-3 hours

3. resolve problem - 2 hours

4. test -2 hours

5. package the project and deliver to customer -3 hours.

6. further cummunication with the customer - 3 hours.

 

That's about 17 hours or two days work. At a notional $100 usd/hour that's a bill of $1700 usd

 

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I am open to pricing, and that is not out of the ballpark.  Shoot me a private message if interested.  Thanks.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Would also be good to state your location.

Top Tips:

  1. How to properly post source code - see: https://www.avrfreaks.net/comment... - also how to properly include images/pictures
  2. "Garbage" characters on a serial terminal are (almost?) invariably due to wrong baud rate - see: https://learn.sparkfun.com/tutorials/serial-communication
  3. Wrong baud rate is usually due to not running at the speed you thought; check by blinking a LED to see if you get the speed you expected
  4. Difference between a crystal, and a crystal oscillatorhttps://www.avrfreaks.net/comment...
  5. When your question is resolved, mark the solution: https://www.avrfreaks.net/comment...
  6. Beginner's "Getting Started" tips: https://www.avrfreaks.net/comment...
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

atmegatron wrote:
("unrecognized command line option '--section-start=.text=0xXXXXX'").
Then try:

-Wl,--section-start=.text=0xXXXXX

The -Wl on the front says "direct this command line parameter to the linker" (-Wa means "to the assembler" and so on)

 

Also just FYI: people type --section-start=.text=0xXXXXX so often that there's actually a shortened form command for that which is '-Ttext=0xXXXXX' (and similarly if shifting .data there is -TData=0x????')