{"id":112603,"date":"2020-09-06T10:25:49","date_gmt":"2020-09-06T17:25:49","guid":{"rendered":"https:\/\/lifeboat.com\/blog\/2020\/09\/turning-the-raspberry-pi-into-a-mcu-programmer"},"modified":"2020-09-06T10:25:49","modified_gmt":"2020-09-06T17:25:49","slug":"turning-the-raspberry-pi-into-a-mcu-programmer","status":"publish","type":"post","link":"https:\/\/lifeboat.com\/blog\/2020\/09\/turning-the-raspberry-pi-into-a-mcu-programmer","title":{"rendered":"Turning The Raspberry Pi Into A MCU Programmer"},"content":{"rendered":"<p><a class=\"aligncenter blog-photo\" href=\"https:\/\/lifeboat.com\/blog.images\/turning-the-raspberry-pi-into-a-mcu-programmer.jpg\"><\/a><\/p>\n<p>Once you graduate beyond development boards like the Arduino or Wemos D1, you\u2019ll find yourself in the market for a dedicated programmer. In most cases, your needs can be met with a cheap USB to serial adapter that\u2019s not much bigger than a flash drive. The only downside is that you\u2019ve got to manually wire it up to your microcontroller of choice.<\/p>\n<p style=\"padding-right: 20px\"><a class=\\'blog-photo\\' href=\"https:\/\/hackaday.com\/wp-content\/uploads\/2020\/09\/piprog_detail.png\" target=\"_blank\"><img decoding=\"async\" class=\"aligncenter\" data-attachment-id=\"430519\" data-permalink=\"https:\/\/hackaday.com\/2020\/09\/05\/turning-the-raspberry-pi-into-a-mcu-programmer\/piprog_detail\/\" data-orig-file=\"https:\/\/hackaday.com\/wp-content\/uploads\/2020\/09\/piprog_detail.png\" data-orig-size=\"807,691\" data-comments-opened=\"1\" data-image-meta=\"{\u201caperture\u201d:\u201d0\u201d,\u201d credit\u201d:\u201d\u201c,\u201d camera\u201d:\u201d\u201c,\u201d caption\u201d:\u201d\u201c,\u201d created_timestamp\u201d:\u201d0\u201d,\u201d copyright\u201d:\u201d\u201c,\u201d focal_length\u201d:\u201d0\u201d,\u201d iso\u201d:\u201d0\u201d,\u201d shutter_speed\u201d:\u201d0\u201d,\u201d title\u201d:\u201d\u201c,\u201d orientation\u201d:\u201d0\u201d}\" data-image-title=\"piprog_detail\" data-image-description=\"\" data-medium-file=\"https:\/\/lifeboat.com\/blog.images\/turning-the-raspberry-pi-into-a-mcu-programmer2.jpg\" data-large-file=\"https:\/\/hackaday.com\/wp-content\/uploads\/2020\/09\/piprog_detail.png?w=730\" loading=\"lazy\" class=\"alignright\" src=\"https:\/\/lifeboat.com\/blog.images\/turning-the-raspberry-pi-into-a-mcu-programmer2.jpg\" alt=\"\" width=\"400\" height=\"343\" \/><\/a>\n<\/p>\n<p>Unless you\u2019re [Roey Benamotz], that is. <a href=\"https:\/\/github.com\/rbenamotz\/LEMPA\" target=\"_blank\">He\u2019s recently created the LEan Mean Programming mAchine (LEMPA),<\/a> an add-on board for the Raspberry Pi that includes all the sockets, jumpers, and indicator LEDs you need to successfully flash a whole suite of popular MCUs. What\u2019s more, he\u2019s written a Python tool that handles all the nuances of getting the firmware written out.<\/p>\n<p>After you\u2019ve configured the JSON file with the information about your hardware targets and firmware files, they can easily be called up again by providing a user-defined ID name. This might seem overkill if you\u2019re just burning the occasional hex, but if you\u2019re doing small scale production and need to flash dozens of chips, you\u2019ll quickly appreciate a little automation in your process.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Once you graduate beyond development boards like the Arduino or Wemos D1, you\u2019ll find yourself in the market for a dedicated programmer. In most cases, your needs can be met with a cheap USB to serial adapter that\u2019s not much bigger than a flash drive. The only downside is that you\u2019ve got to manually wire [\u2026]<\/p>\n","protected":false},"author":513,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-112603","post","type-post","status-publish","format-standard","hentry","category-robotics-ai"],"_links":{"self":[{"href":"https:\/\/lifeboat.com\/blog\/wp-json\/wp\/v2\/posts\/112603","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lifeboat.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lifeboat.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lifeboat.com\/blog\/wp-json\/wp\/v2\/users\/513"}],"replies":[{"embeddable":true,"href":"https:\/\/lifeboat.com\/blog\/wp-json\/wp\/v2\/comments?post=112603"}],"version-history":[{"count":0,"href":"https:\/\/lifeboat.com\/blog\/wp-json\/wp\/v2\/posts\/112603\/revisions"}],"wp:attachment":[{"href":"https:\/\/lifeboat.com\/blog\/wp-json\/wp\/v2\/media?parent=112603"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lifeboat.com\/blog\/wp-json\/wp\/v2\/categories?post=112603"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lifeboat.com\/blog\/wp-json\/wp\/v2\/tags?post=112603"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}