Is it possible to program a new ATSAMA5D2x MPU over USB?

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

I am planning to use ATSAMA5D26 in one of my projects (I will be having a NAND flash also on the board). I don't have the luxury of any free SDIO/SD interface to boot the device from an SD card or eMMC. One option is to load the boot loader (uBoot ) over JTAG and use the TFTP to load the operating system, which in this case is a stripped down version of Linux. But it would be better if I can have everything done in single step, like over USB (I think JTAG is low to use for large files). Does ATSAMA5D2x MPUs support DFU? Is it possible to flash (I mean the boot loader as well as the OS) the ATSAMA5D2x in the factory over USB and a PC running SAM-BA software?

Thanks

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

The samba doc says it supports the sama5 series. I don't think the a5 does dfu in samba mode. Note that you will need to customise the samba code in order to program your flash chip as they are not all the same.
I'd suggest having a good read of the relevant documentation just to be sure.
As well, it is not unreasonable to load megabytes of data via jtag.

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

Thank you Kartman. It was helpful.

It looks like there is no need to customize the SAM-BA code for SAMA5D2x.

https://www.at91.com/linux4sam/b...

Please correct me if I am wrong.

 

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

If you've used the same nand flash as the EK board, then you're ok. If you've used a different one you may need to make changes.