i made a prototipe, now i want to make mi own circuit board, what should i do?

Hi!
My name is Erick, im from Chile.
i'm new in Arduino, and for my tesis i have to make a prototipe using the Arduino DUE.
let's say i have make what i want, and now i design mi own PCB using the AT91SAM3X8E. my question is
how can i programm the AT91SAM3X8E (if i buy from RS- components o something like that) to make it run?
in pic i can buy a programmer, or even i can build one myself, so in the PCB i place 5 pins and i programm it, is something similar on this?

thanks

PD: english is not my native language, sorry :/.

hola
mi nombre es Erick, soy de Chile.
soy nuevo en arduino, y para mi tesis de grado tengo que hacer un prototipo donde quiero usar el arduino due.
supongamos que ya hice todo lo que necesitaba con el arduino due, ahora debo diseñar mi propia PCB donde quiero colocar el AT91SAM3X8E, obviamente no voy a comprar un arduinno due para destruirlo y sacar el chip por cada PCB que cree, entonces quiero comprar este chip o uno de la misma familia (que le sirva el mismo código, aunque sea de menores prestaciones), soldarlo en la placa que yo diseñe, donde obviamente puedo agregar las conecciones necesarias para conectarle algun programador, y programar el chip.
en PIC he echo eso, con algunos PIC más básicos, se puede hacer algo similar el arduino?

gracias por su ayuda!!

erictronico:
Hi!
My name is Erick, im from Chile.
i'm new in Arduino, and for my tesis i have to make a prototipe using the Arduino DUE.
let's say i have make what i want, and now i design mi own PCB using the AT91SAM3X8E. my question is
how can i programm the AT91SAM3X8E (if i buy from RS- components o something like that) to make it run?
in pic i can buy a programmer, or even i can build one myself, so in the PCB i place 5 pins and i programm it, is something similar on this?

thanks

You're in luck! The SAM3X8E chip has a built-in bootloader that allows you to flash it! There aren't any specific outside parts that you need for this. The Arduino Due has it's schematic posted at their website. Download EagleCAD and take a peek. The most important aspects would probably be the reset and erase buttons and the USB hook up. After that you can connect via USB and use the Arduino IDE to flash. Just pretend your new board is an Arduino Due. I'm involved with a project that has done this very thing. We designed a new board and program it by just telling the IDE that it's still a Due.

To reiterate: The chip has all the programming firmware it needs already on board and all you have to do is be able to connect to it via serial or USB and you can program it.

HI!
thanks for you answer, i'm very happy to hear that. :smiley:
i want to buy this chip, it must be the same that have te DUE, but only 100 pin ( i need just a few of them, and nothing advanced) ATSAM3X8CA-AU Microchip | Microcontrolador ARM Cortex M3 32bit 64 + 32 kB RAM, 16 kB, 2 x 256 kB Flash, ROM, LQFP 100 pines 84MHZ USB USB | 769-2518 | RS Components
this is the only provider that sell to CHILE.

do you think a sketch for DUE must work fine on this chip with only 100 pin?

thanks again, and sorry for the late, and my english jajajaja