I recently bought This MCU and in another question asked how I could flash it. The response was to use a USB to serial Connector (which I wanted to find on newark.com but could not). I wanted to know if I could solder This microUSB female connector to the io pins of my MCU and be able to flash the MCU to over microUSB from my raspberry pi. Can I?
-
2\$\begingroup\$ Please explain - is it just that microcontroller IC you have, or is there a development board as well? If it is just the IC, you will need some form of programmer, either one with a ZIF socket to insert the IC into, or something you just solder the IC onto. \$\endgroup\$– Anindo GhoshCommented Apr 13, 2013 at 17:33
-
\$\begingroup\$ @AnindoGhosh Its just the MCU. \$\endgroup\$– Coder404Commented Apr 14, 2013 at 0:06
-
\$\begingroup\$ +1, full marks for adventurousness! I'm actually intrigued by this exercise, please do let us know how it turns out. \$\endgroup\$– Anindo GhoshCommented Apr 14, 2013 at 5:41
-
\$\begingroup\$ Your first link seems to be broken (the page says "0 product results"). \$\endgroup\$– Dmitry GrigoryevCommented Sep 25, 2015 at 6:29
2 Answers
You can't use a USB connector to download code to one of those ARM chips, the flash bootloader uses the UART.
I've used one of these USB to serial adapters:
http://www.ebay.co.uk/itm/180836792643?ssPageName=STRK:MEWNX:IT&_trksid=p3984.m1439.l2649
with Flash Magic to download code to an LPC810 chip via the UART connections. You have to connect a pin to ground when applying power to enable flash downloading, details will be in the data sheet.
-
\$\begingroup\$ Ok. So is there a tutorial online that I can follow or a document that I can read? And also What do you mean by UART? \$\endgroup\$– Coder404Commented Apr 18, 2013 at 21:13
This is possible to flash microcontroller using USB to Serial Converter using FLASH MAGIC tool. Here is article this might help you: Flashing MCU over Serial Cable
Or
You can use secondary boot loader to flash MCU using Rashpberry Pi over microUSB Secondary bootloader video to flash MCU over USB