{"id":4835,"date":"2018-07-01T02:17:53","date_gmt":"2018-06-30T17:17:53","guid":{"rendered":"http:\/\/happytech.jp\/wordpress\/?p=4835"},"modified":"2018-07-01T02:17:53","modified_gmt":"2018-06-30T17:17:53","slug":"prototyping-example-with-mcu-template-4","status":"publish","type":"post","link":"https:\/\/happytech.jp\/wordpress\/2018\/07\/01\/prototyping-example-with-mcu-template-4\/","title":{"rendered":"\u30de\u30a4\u30b3\u30f3\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u6d3b\u7528\u30d7\u30ed\u30c8\u30bf\u30a4\u30d4\u30f3\u30b0\u958b\u767a(4)"},"content":{"rendered":"<p>\u30de\u30a4\u30b3\u30f3\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3078\u6a5f\u80fd\u3092\u8ffd\u52a0\u3059\u308b\u306b\u306f\u3001\u65e2\u306b\u67a0\u7d44\u307f\u304c\u51fa\u6765\u4e0a\u304c\u3063\u3066\u3044\u308b\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3078\u3001\u8ffd\u52a0\u6a5f\u80fd\u540d\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u65b0\u898f\u4f5c\u6210\u3057\u3001\u8ffd\u52a0\u6a5f\u80fd\u3092\u3053\u306e\u30d5\u30a1\u30a4\u30eb\u5185\u3067\u8a18\u8ff0\u3001\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306eLauncher()\u3067\u8d77\u52d5\u3059\u308c\u3070\u5b8c\u6210\u3067\u3059\u3002\u9577\u6587\u3067\u3042\u3063\u305f<a href=\"http:\/\/happytech.jp\/wordpress\/2018\/06\/18\/prototyping-example-with-mcu-template-3\/\" target=\"_blank\" rel=\"noopener\">\u7b2c3\u56de<\/a>\u3092\u3001\u4e00\u53e3\u3067\u8a00\u3048\u3070\u3053\u3046\u306a\u308a\u307e\u3059\uff08\u30c8\u30db\u30db\u2026 Orz\uff09\u3002<\/p>\n<figure id=\"attachment_4838\" aria-describedby=\"caption-attachment-4838\" style=\"width: 400px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-4838 size-full\" src=\"http:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2018\/07\/Basic-Form-of-Embedded-Software-Initial-Setting-and-Repetitive.png\" alt=\"Basic Form of Embedded Software (Initial Setting and Repetitive)\" width=\"400\" height=\"332\" srcset=\"https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2018\/07\/Basic-Form-of-Embedded-Software-Initial-Setting-and-Repetitive.png 400w, https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2018\/07\/Basic-Form-of-Embedded-Software-Initial-Setting-and-Repetitive-300x249.png 300w, https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2018\/07\/Basic-Form-of-Embedded-Software-Initial-Setting-and-Repetitive-325x270.png 325w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><figcaption id=\"caption-attachment-4838\" class=\"wp-caption-text\">\u7121\u9650\u30eb\u30fc\u30d7\u524d\u306b1\u56de\u5b9f\u884c\u3059\u308b\u521d\u671f\u8a2d\u5b9a\u51e6\u7406\u3068\u3001\u7121\u9650\u30eb\u30fc\u30d7\u5185\u306e\u7e70\u8fd4\u3057\u51e6\u7406\u306e2\u3064\u304b\u3089\u69cb\u6210\u3055\u308c\u308b\u300c\u7d44\u8fbc\u307f\u30bd\u30d5\u30c8\u306e\u57fa\u672c\u5f62\u300d<\/figcaption><\/figure>\n<p>\u3053\u308c\u306f\u3001Arduino IDE\u306e\u65b0\u898f\u4f5c\u6210\u30d5\u30a1\u30a4\u30eb\u753b\u9762\u3067\u3059\u3002\u3053\u306esetup()\u3068loop()\u306e\u69cb\u9020\u306f\u3001Arduino\u306b\u9650\u3089\u305a\u5168\u3066\u306e\u300c\u7d44\u8fbc\u307f\u30bd\u30d5\u30c8\u306e\u57fa\u672c\u5f62\u300d\u3067\u3059\u3002\u3064\u307e\u308a\u3001\u7121\u9650\u30eb\u30fc\u30d7\u524d\u306b1\u56de\u5b9f\u884c\u3059\u308b\u300c\u521d\u671f\u8a2d\u5b9a\u51e6\u7406\u300d\u3068\u3001\u7121\u9650\u30eb\u30fc\u30d7\u5185\u306e\u300c\u7e70\u8fd4\u3057\u51e6\u7406\u300d\u306e2\u3064\u304b\u3089\u69cb\u6210\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u5f0a\u793e\u30de\u30a4\u30b3\u30f3\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3082\u3053\u306e\u57fa\u672c\u5f62\u306b\u5247\u3063\u3066\u3044\u307e\u3059\u3002\u4f46\u3057\u3001\u6a5f\u80fd\u8ffd\u52a0\u304c\u3057\u6613\u3044\u3088\u3046\u306b\u3001\u7121\u9650\u30eb\u30fc\u30d7\u304cLauncher()\u306b\u5909\u5f62\u3057\u3001\u8907\u6570\u306e\u30e6\u30fc\u30b6\u95a2\u6570\u3092\u8d77\u52d5\u3067\u304d\u308b\u3088\u3046\u306b\u5de5\u592b\u3057\u3066\u3044\u308b\u3060\u3051\u3067\u3059\u3002<\/p>\n<p>\u5f93\u3063\u3066\u3001\u6700\u3082\u5b89\u76f4\uff08\uff01\uff1f\uff09\u306a\u6a5f\u80fd\u8ffd\u52a0\u306e\u65b9\u6cd5\u306f\u3001\u8ffd\u52a0\u6a5f\u80fd\u306e\u30b5\u30f3\u30d7\u30eb\u30bd\u30d5\u30c8\u3092\u898b\u3064\u3051\u308b\u3053\u3068\u3067\u3059\u3002\u3042\u3068\u306f\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306eLauncher()\u3067\u3053\u306e\u30b5\u30f3\u30d7\u30eb\u30bd\u30d5\u30c8\u3092\u8d77\u52d5\u3059\u308c\u3070\u3001\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3078\u6a5f\u80fd\u8ffd\u52a0\u304c\u3067\u304d\u308b\u306e\u3067\u3059\u3002<\/p>\n<p>\u4eca\u56de\u306e\u76ee\u6a19\u306f\u3001\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3078\u306eSD\u30ab\u30fc\u30c9\u6a5f\u80fd\u306e\u8ffd\u52a0\u3067\u3059\u3002\u305d\u3053\u3067\u3001\u3053\u306eSD\u30ab\u30fc\u30c9\u6a5f\u80fd\u8ffd\u52a0\u306b\u6700\u9069\u3068\u601d\u3046\u30b5\u30f3\u30d7\u30eb\u30bd\u30d5\u30c8\uff1a<a href=\"http:\/\/www.st.com\/st-web-ui\/static\/active\/en\/resource\/technical\/document\/user_manual\/DM00105259.pdf\" target=\"_blank\" rel=\"noopener\">Developing Applications on STM32Cube with FatFs\uff1aUM1721<\/a>\u3092\u89e3\u8aac\u3057\u307e\u3059\u3002<\/p>\n<h2><span style=\"color: #008000;\">UM1721: Developing Applications on STM32Cube with FatFs<\/span><\/h2>\n<p>2014\u5e746\u6708\u7248 UM1721\u3067\u306f\u3001STM32Cube\u3068\u8a18\u8ff0\u3055\u308c\u3066\u3044\u307e\u3059\u304c\u3001\u3053\u308c\u306fSTM32CubeMX\uff08\u4ee5\u4e0bCubeMX\uff09\u306e\u3053\u3068\u3067\u3059\u3002\u307e\u305f\u3001STM32F4xx\u3068STM32CubeF4\u3067\u8a18\u8ff0\u3055\u308c\u3066\u3044\u307e\u3059\u304c\u3001\u5168\u3066\u306eSTM32\u30c7\u30d0\u30a4\u30b9\u3068CubeMX\u306b\u7f6e\u63db\u3048\u3066\u8aad\u3081\u3070\u4f7f\u3048\u307e\u3059\u3002<\/p>\n<p><a href=\"http:\/\/elm-chan.org\/fsw\/ff\/00index_e.html\" target=\"_blank\" rel=\"noopener\">FatFs<\/a>\u306f\u3001\u30e6\u30fc\u30b6\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3068\u4e0b\u5c64HAL\uff08Hardware Abstraction Layer\uff09\u306e\u9593\u3067\u6a5f\u80fd\u3059\u308b\u30df\u30c9\u30eb\u30a6\u30a7\u30a2\u3067\u3001\u4e3b\u76ee\u7684\u306f\u3001\u958b\u767a\u3059\u308b\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u304c\u8aad\u66f8\u304d\u3059\u308b\u30c7\u30fc\u30bf\u3068\u3001\u7269\u7406\u30b9\u30c8\u30ec\u30fc\u30b8\u30d5\u30a1\u30a4\u30eb\u306e\u5272\u4ed8\uff08\u9818\u57df\u7ba1\u7406\uff09\u3067\u3059\u3002\u30d1\u30bd\u30b3\u30f3\u306a\u3069\u3067\u306f\u3001\u672c\u6765Windows\u306a\u3069\u306eOS\u304c\u884c\u3046\u6a5f\u80fd\u3092\u4ee3\u884c\u3059\u308b\u306e\u304cFatFs\u3068\u8003\u3048\u308c\u3070\u826f\u3044\u3067\u3057\u3087\u3046\u3002\u307e\u305f\u3001FatFs\u81ea\u4f53\u306fMCU\u30cf\u30fc\u30c9\u30a6\u30a7\u30a2\u306b\u306f\u4f9d\u5b58\u3057\u306a\u3044\u306e\u3067\u3001\u672c\u7a3fST\u30de\u30a4\u30af\u30ed\u30a8\u30ec\u30af\u30c8\u30ed\u30cb\u30af\u30b9\u4ee5\u5916\u306e\u30de\u30a4\u30b3\u30f3\u3067\u3082\u4f7f\u3048\u307e\u3059\u3002<\/p>\n<figure id=\"attachment_4839\" aria-describedby=\"caption-attachment-4839\" style=\"width: 545px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-4839\" src=\"http:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2018\/07\/a50261590de753ffb1da2bae65ac7ce5.png\" alt=\"FatFs Middleware module architecture (Source\uff1aUM1721)\" width=\"545\" height=\"362\" srcset=\"https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2018\/07\/a50261590de753ffb1da2bae65ac7ce5.png 545w, https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2018\/07\/a50261590de753ffb1da2bae65ac7ce5-300x199.png 300w, https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2018\/07\/a50261590de753ffb1da2bae65ac7ce5-360x239.png 360w\" sizes=\"auto, (max-width: 545px) 100vw, 545px\" \/><figcaption id=\"caption-attachment-4839\" class=\"wp-caption-text\">FatFs Middleware module architecture (Source\uff1aUM1721)<\/figcaption><\/figure>\n<p>\u3082\u3063\u3068\u77e5\u308a\u305f\u3044\u65b9\u306f\u3001UM1721\u306e2\u7ae0\u307e\u3067\u306b\u8a73\u3057\u304f\u8a18\u8ff0\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u672c\u6295\u7a3f\u306f\u3001FatFs\u3092\u4f7f\u3046\u30b5\u30f3\u30d7\u30eb\u30bd\u30d5\u30c8\u304c\u76ee\u7684\u3067\u3059\u306e\u3067\u8aad\u307f\u9032\u3081\u308b\u3068\u30013.3\u306e\u30b5\u30f3\u30d7\u30eb\u30bd\u30fc\u30b9\u304c\u898b\u3064\u304b\u308a\u307e\u3059\u3002<\/p>\n<h2><span style=\"color: #008000;\">FatFs\u30b5\u30f3\u30d7\u30eb\u30bd\u30d5\u30c8<\/span><\/h2>\n<figure id=\"attachment_4840\" aria-describedby=\"caption-attachment-4840\" style=\"width: 582px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-4840\" src=\"http:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2018\/07\/4a2559263d1a6a4546a6df1eee447c69.png\" alt=\"FatFs Sample Software (Source\uff1aUM1721)\" width=\"582\" height=\"547\" srcset=\"https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2018\/07\/4a2559263d1a6a4546a6df1eee447c69.png 582w, https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2018\/07\/4a2559263d1a6a4546a6df1eee447c69-300x282.png 300w, https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2018\/07\/4a2559263d1a6a4546a6df1eee447c69-287x270.png 287w\" sizes=\"auto, (max-width: 582px) 100vw, 582px\" \/><figcaption id=\"caption-attachment-4840\" class=\"wp-caption-text\">FatFs Sample Software (Source\uff1aUM1721)<\/figcaption><\/figure>\n<p>\u61c7\u5207\u4e01\u5be7\u306a\u30b5\u30f3\u30d7\u30eb\u30bd\u30d5\u30c8\u3068\u306f\u8a00\u3048\u307e\u305b\u3093\u304c\u3001\u5fc5\u8981\u6700\u4f4e\u9650\u3067\u8a18\u8ff0\u3057\u3066\u3044\u308b\u306e\u3067\u3057\u3087\u3046\u3002\u4e00\u898b\u3001\u7d44\u8fbc\u307f\u30bd\u30d5\u30c8\u306e\u57fa\u672c\u5f62\u3068\u9055\u3046\u3068\u601d\u308f\u308c\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u304c\u3001\u521d\u671f\u8a2d\u5b9a\u51e6\u7406\u306fCubeMX\u304c\u81ea\u52d5\u751f\u6210\u3057\u3001\u5225\u306e\u5834\u6240\u306b\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3092\u51fa\u529b\u3059\u308b\u305f\u3081\uff08\u304a\u305d\u3089\u304f\uff09\u7701\u7565\u3057\u3066\u3044\u307e\u3059\u3002\u307e\u305f\u3001\u30d5\u30a1\u30a4\u30eb\u30a2\u30af\u30bb\u30b9\u306f\u4f4e\u901f\u306a\u306e\u3067\u3001\u7e70\u8fd4\u3057\u56de\u6570\u30921\u3067\u51e6\u7406\u3059\u308b\u3068\u8003\u3048\u308c\u3070\u3001\u3053\u306e\u30b5\u30f3\u30d7\u30eb\u30bd\u30d5\u30c8\u3082\u57fa\u672c\u5f62\u306b\u5247\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u30b5\u30f3\u30d7\u30eb\u30bd\u30d5\u30c8\u304b\u3089\u3001FatFs\u3092\u4f7f\u3046API\uff08Application Programming Interface\uff09\u304c5\u7a2e\u3001FatFs\u3068Low Level Disk I\/O Drivers\u3092\u30ea\u30f3\u30af\u3059\u308b2\u7a2e\u306eAPI\u3092\u4f7f\u3048\u3070\u3001SD\u30ab\u30fc\u30c9\u3078\u306e\u8aad\u66f8\u304d\u304c\u3067\u304d\u308b\u3053\u3068\u304c\u89e3\u308a\u307e\u3059\u3002<br \/>\n\u203b\u66f8\u8fbc\u307f\uff1af_write()\u3092\u3001f_read()\u306b\u7f6e\u63db\u3048\u308c\u3070\u8aad\u8fbc\u307f\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<table>\n<caption>FatFs\u30b5\u30f3\u30d7\u30eb\u30bd\u30d5\u30c8\u3067\u4f7f\u7528\u3059\u308bAPI<\/caption>\n<tbody>\n<tr>\n<td width=\"323\"><strong>\u7528\u9014<\/strong><\/td>\n<td width=\"388\"><strong>API<\/strong><\/td>\n<\/tr>\n<tr>\n<td rowspan=\"5\" width=\"323\"><strong>FatFs<\/strong><strong>\u3068\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u9593<\/strong><\/td>\n<td width=\"388\">\n<p style=\"text-align: left;\">f_mount()<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td width=\"388\">\n<p style=\"text-align: left;\">f_open()<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td width=\"388\">\n<p style=\"text-align: left;\">f_close()<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td width=\"388\">\n<p style=\"text-align: left;\">f_read()<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td width=\"388\">\n<p style=\"text-align: left;\">f_write()<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"2\" width=\"323\"><strong>FatFs<\/strong><strong>\u3068Low Level Disk I\/O Drivers<\/strong><strong>\u30ea\u30f3\u30af\u9593<\/strong><\/td>\n<td width=\"388\">\n<p style=\"text-align: left;\">FATFS_LinkDriver()<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td width=\"388\">\n<p style=\"text-align: left;\">FATFS_UnLinkDriver()<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2><span style=\"color: #008000;\">FatFs\u30b5\u30f3\u30d7\u30eb\u30bd\u30d5\u30c8API\u52d5\u4f5c\u30c6\u30b9\u30c8<\/span><\/h2>\n<p>\u3053\u306e\u30b5\u30f3\u30d7\u30eb\u30bd\u30d5\u30c8\u3092\u3001\u7b2c3\u56de\u3067\u4f7f\u7528\u3057\u305f\u30ec\u30d5\u30a1\u30ec\u30f3\u30b9\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3078\u633f\u5165\u3057\u3001\u5404API\u306e\u52d5\u4f5c\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n<figure id=\"attachment_4841\" aria-describedby=\"caption-attachment-4841\" style=\"width: 843px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-4841 size-full\" src=\"http:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2018\/07\/FatFs-Sample-API-Test-Source.png\" alt=\"FatFs Sample API Test Source\" width=\"843\" height=\"624\" srcset=\"https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2018\/07\/FatFs-Sample-API-Test-Source.png 843w, https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2018\/07\/FatFs-Sample-API-Test-Source-300x222.png 300w, https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2018\/07\/FatFs-Sample-API-Test-Source-768x568.png 768w, https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2018\/07\/FatFs-Sample-API-Test-Source-360x266.png 360w\" sizes=\"auto, (max-width: 843px) 100vw, 843px\" \/><figcaption id=\"caption-attachment-4841\" class=\"wp-caption-text\">\u30ec\u30d5\u30a1\u30ec\u30f3\u30b9\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3078\u633f\u5165\u3057\u305fFatFs\u30b5\u30f3\u30d7\u30eb\u30bd\u30d5\u30c8\u3002<\/figcaption><\/figure>\n<p>\u7d50\u679c\u306f\u3001FatFs\u3068\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u95935\u7a2e\u5168\u3066\u306eAPI\u3067\u6b63\u5e38\u52d5\u4f5c\u304c\u78ba\u8a8d\u3067\u304d\u307e\u3057\u305f\u3002\u3064\u307e\u308a\u3001\u30ec\u30d5\u30a1\u30ec\u30f3\u30b9\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u306f\u3001\u3053\u306e\u30b5\u30f3\u30d7\u30eb\u30bd\u30d5\u30c8\u3092\u4f7f\u3044SD\u30ab\u30fc\u30c9\u3078\u306e\u8aad\u66f8\u304d\u304c\u3067\u304d\u307e\u3059\u3002\u305d\u306e\u7d50\u679c\u3001SD\u30ab\u30fc\u30c9\u3078wtext[] = &#8220;text to write logical disk&#8221;\u306e\u30c7\u30fc\u30bf\u3092\u3001\u30d5\u30a1\u30a4\u30eb\u540dSTM32.txt\u3068\u3057\u3066\u4fdd\u5b58\u3067\u304d\u307e\u3057\u305f\u3002<\/p>\n<figure id=\"attachment_4842\" aria-describedby=\"caption-attachment-4842\" style=\"width: 624px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-4842\" src=\"http:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2018\/07\/FatFs-Write-Test-to-SD-Card.png\" alt=\"FatFs Write Test to SD Card\" width=\"624\" height=\"232\" srcset=\"https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2018\/07\/FatFs-Write-Test-to-SD-Card.png 624w, https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2018\/07\/FatFs-Write-Test-to-SD-Card-300x112.png 300w, https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2018\/07\/FatFs-Write-Test-to-SD-Card-360x134.png 360w\" sizes=\"auto, (max-width: 624px) 100vw, 624px\" \/><figcaption id=\"caption-attachment-4842\" class=\"wp-caption-text\">FatFs\u30b5\u30f3\u30d7\u30eb\u30bd\u30d5\u30c8\u3092\u4f7f\u3044\u3001SD\u30ab\u30fc\u30c9\u3078\u66f8\u8fbc\u3093\u3060\u30d5\u30a1\u30a4\u30ebSTM32.txt\u3068\u66f8\u8fbc\u307f\u30c7\u30fc\u30bf\u3002<\/figcaption><\/figure>\n<p>\u30ec\u30d5\u30a1\u30ec\u30f3\u30b9\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306f\u3001Low Level Disk I\/O Drivers\u30ea\u30f3\u30af\u5074\u306eAPI\u76f8\u5f53\u3092\u3001\u30a8\u30ad\u30b9\u30d1\u30fc\u30c8\u304c\u81ea\u4f5c\u3057\u3066\u3044\u308b\u306e\u3067\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<h1><span style=\"color: #008000;\">STM32CubeMX\u3067FatFs\u6a5f\u80fd\u8ffd\u52a0<\/span><\/h1>\n<p>\u7b2c3\u56de\u3068\u540c\u69d8\u3001\u30b7\u30f3\u30d7\u30eb\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092Rename\u3057\u3001\u6a5f\u80fd\u8ffd\u52a0\u7528\u306eSPI1FatFs_Sd\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u6210\u3057\u3001CubeMX\u3067SPI1\u3068FatFs\u6a5f\u80fd\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002\u307e\u305f\u3001SdCard.c\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u3001\u3053\u306e\u4e2d\u306b\u524d\u7ae0\u3067\u52d5\u4f5c\u78ba\u8a8d\u3057\u305f\u30b5\u30f3\u30d7\u30eb\u30bd\u30d5\u30c8\u3092\u633f\u5165\u3057\u307e\u3059\uff08\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3084\u30d5\u30a1\u30a4\u30eb\u4f5c\u6210\u306e\u8a73\u7d30\u306f\u3001\u7b2c3\u56de\u3092\u53c2\u7167\uff09\u3002<\/p>\n<figure id=\"attachment_4844\" aria-describedby=\"caption-attachment-4844\" style=\"width: 914px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-4844 size-full\" src=\"http:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2018\/07\/FFATFS-and-SPI1-Functions-Add-by-STM32CubeMX-.png\" alt=\"FATFS and SPI1 Functions Add by STM32CubeMX\" width=\"914\" height=\"352\" srcset=\"https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2018\/07\/FFATFS-and-SPI1-Functions-Add-by-STM32CubeMX-.png 914w, https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2018\/07\/FFATFS-and-SPI1-Functions-Add-by-STM32CubeMX--300x116.png 300w, https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2018\/07\/FFATFS-and-SPI1-Functions-Add-by-STM32CubeMX--768x296.png 768w, https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2018\/07\/FFATFS-and-SPI1-Functions-Add-by-STM32CubeMX--360x139.png 360w\" sizes=\"auto, (max-width: 914px) 100vw, 914px\" \/><figcaption id=\"caption-attachment-4844\" class=\"wp-caption-text\">STM32CubeMX\u3067FATFS\u3068SPI1\u3092\u8ffd\u52a0\u3002SPI1\u306e\u30d4\u30f3\u5272\u4ed8\u306f\u3001\u5b9f\u88c5\u30b7\u30fc\u30eb\u30c9\u57fa\u677f\u306b\u5408\u308f\u305b\u3066\u3044\u308b\u3002<\/figcaption><\/figure>\n<p>Launcher()\u304b\u3089\u30b5\u30f3\u30d7\u30eb\u30bd\u30d5\u30c8\u3092\u8d77\u52d5\u3057\u30011\u56de\u306e\u307f\u51e6\u7406\u3059\u308b\u3088\u3046\u306b\u5909\u66f4\u3092\u52a0\u3048\u3001\u30ec\u30d5\u30a1\u30ec\u30f3\u30b9\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3068\u540c\u69d8\u5404API\u306e\u30ea\u30bf\u30fc\u30f3\u5024\u3092\u78ba\u8a8d\u3057\u307e\u3057\u305f\u304c\u3001f_open()\u4ee5\u964d\u3067\u6b63\u5e38\u52d5\u4f5c\u3057\u307e\u305b\u3093\u3002<\/p>\n<p>\u521d\u671f\u8a2d\u5b9a\u51e6\u7406\u3092\u81ea\u52d5\u751f\u6210\u3059\u308bCubeMX\u306eFatFs\u8a2d\u5b9a\u306b\u9593\u9055\u3044\u304c\u7121\u3051\u308c\u3070\u3001SPI1FatFs_Sd\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u3082\u30e6\u30fc\u30b6\u30c7\u30fc\u30bf\u3092SD\u30ab\u30fc\u30c9\u3078\u8aad\u66f8\u304d\u3067\u304d\u308b\u30cf\u30ba\u3067\u3059\u3002UM1721\u306b\u306f\u3001FatFs\u306e\u8a2d\u5b9a\u8a18\u8ff0\u304c\u306a\u3044\u306e\u3067\u3001CubeMX\u306eFatFs\u30c7\u30d5\u30a9\u30eb\u30c8\u8a2d\u5b9a\u306b\u3057\u307e\u3057\u305f\u304c\u3001\u304a\u624b\u4e0a\u3052\u3067\u3059\u3002<\/p>\n<p>\u305d\u3053\u3067\u3001STM Community\u3092\u691c\u7d22\u3059\u308b\u3068\u3001\u4f8b\u3048\u3070<a href=\"https:\/\/community.st.com\/thread\/51003-stm32cubemx-v426-sd-card-problem-continues-stm32f4-discovery\" target=\"_blank\" rel=\"noopener\">\u30b3\u30c1\u30e9<\/a>\u306e\u3088\u3046\u306b\u73fe\u5728\u306eCubeMX\u306eFatFs\u306b\u306f\u30d0\u30b0\u304c\u3042\u308b\u3088\u3046\u3067\u3059\u3002\u5bfe\u7b56\u3082Community\u306b\u3042\u308a\u307e\u3059\u304c\u3001STM\u3082\u30d0\u30b0\u72b6\u6cc1\u3092\u628a\u63e1\u3057\u3066\u3044\u307e\u3059\u306e\u3067CubeMX\u306e\u6539\u7248\u3092\u5f85\u3064\u65b9\u304c\u826f\u3055\u305d\u3046\u3067\u3059\u3002<\/p>\n<p style=\"text-align: center;\">\uff0a\u3000\u3000\uff0a\u3000\u3000\uff0a<\/p>\n<p>\u30b5\u30f3\u30d7\u30eb\u30bd\u30d5\u30c8\u81ea\u4f53\u306f\u3001\u30ec\u30d5\u30a1\u30ec\u30f3\u30b9\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u52d5\u4f5c\u78ba\u8a8d\u6e08\u307f\u3067\u3059\u3002CubeMX\u306eFatFs\u521d\u671f\u8a2d\u5b9a\u751f\u6210\u306b\u554f\u984c\u304c\u3042\u308b\u3053\u3068\u306f\u9593\u9055\u3044\u3042\u308a\u307e\u305b\u3093\u3002\u3064\u307e\u308a\u3001\u7d44\u8fbc\u307f\u30bd\u30d5\u30c8\u57fa\u672c\u5f62\u306e\u521d\u671f\u8a2d\u5b9a\u4ee5\u5916\u306e\u534a\u5206\uff0850%\uff09\u306e\u51e6\u7406\u3092UM1721\u304b\u3089\u7372\u5f97\u3067\u304d\u305f\u3068\u8a00\u3048\u307e\u3059\u3002<\/p>\n<p>Tips: \u52d5\u4f5c\u30b5\u30f3\u30d7\u30eb\u30bd\u30d5\u30c8\u306f\u3001FatFs\u304cMCU\u30cf\u30fc\u30c9\u30a6\u30a7\u30a2\u306b\u4f9d\u5b58\u3057\u306a\u3044\u306e\u3067\u3001\u4ed6\u793e\u30de\u30a4\u30b3\u30f3\u3067\u3082\u4f7f\u3048\u307e\u3059\u3002\u7372\u5f97\u3057\u305f50%\u51e6\u7406\u306f\u3001\u9069\u7528\u7bc4\u56f2\u304c\u5e83\u3044\u3082\u306e\u3067\u3059\u3002<\/p>\n<p>\u5bfe\u7b56\u3068\u3057\u3066\u306f\u3001STM\u306b\u3088\u308bCubeMX\u6539\u7248\u3092\u5f85\u3064\u3053\u3068\u3001\u30ec\u30d5\u30a1\u30ec\u30f3\u30b9\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u304b\u3089FatFs\u95a2\u9023\u306e\u521d\u671f\u8a2d\u5b9a\u3092\u629c\u304d\u51fa\u3059\u3053\u3068\u3001\u306e2\u3064\u3042\u308a\u307e\u3059\u3002\u5f8c\u8005\u306b\u3064\u3044\u3066\u306f\u3001\u691c\u8a0e\u4e2d\u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u30de\u30a4\u30b3\u30f3\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3078\u6a5f\u80fd\u3092\u8ffd\u52a0\u3059\u308b\u306b\u306f\u3001\u65e2\u306b\u67a0\u7d44\u307f\u304c\u51fa\u6765\u4e0a\u304c\u3063\u3066\u3044\u308b\u30c6\u30f3\u30d7\u30ec\u30fc <a href=\"https:\/\/happytech.jp\/wordpress\/2018\/07\/01\/prototyping-example-with-mcu-template-4\/\" class=\"read-more\">Read More &#8230;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9,127,29,31,131],"tags":[15,27,53,45,130,135,159,226,227,228,229],"class_list":["post-4835","post","type-post","status-publish","format-standard","hentry","category-mcu","category-stm32-mcu","category-cortex-m0puls-core","category-cortex-m0-core","category-cortex-m3-core","tag-template","tag-arm","tag-cortex-m0puls","tag-iot-mcu","tag-stm32f1x","tag-stm32cubemx","tag-stm32f0x","tag-226","tag-227","tag-fatfs","tag-spi"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>\u30de\u30a4\u30b3\u30f3\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u6d3b\u7528\u30d7\u30ed\u30c8\u30bf\u30a4\u30d4\u30f3\u30b0\u958b\u767a(4) - IoT MCU\u306eHappyTech<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/happytech.jp\/wordpress\/2018\/07\/01\/prototyping-example-with-mcu-template-4\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u30de\u30a4\u30b3\u30f3\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u6d3b\u7528\u30d7\u30ed\u30c8\u30bf\u30a4\u30d4\u30f3\u30b0\u958b\u767a(4) - IoT MCU\u306eHappyTech\" \/>\n<meta property=\"og:description\" content=\"\u30de\u30a4\u30b3\u30f3\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3078\u6a5f\u80fd\u3092\u8ffd\u52a0\u3059\u308b\u306b\u306f\u3001\u65e2\u306b\u67a0\u7d44\u307f\u304c\u51fa\u6765\u4e0a\u304c\u3063\u3066\u3044\u308b\u30c6\u30f3\u30d7\u30ec\u30fc Read More ...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/happytech.jp\/wordpress\/2018\/07\/01\/prototyping-example-with-mcu-template-4\/\" \/>\n<meta property=\"og:site_name\" content=\"IoT MCU\u306eHappyTech\" \/>\n<meta property=\"article:published_time\" content=\"2018-06-30T17:17:53+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2018\/07\/Basic-Form-of-Embedded-Software-Initial-Setting-and-Repetitive.png\" \/>\n<meta name=\"author\" content=\"WithHappy\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@HappyTechDigest\" \/>\n<meta name=\"twitter:site\" content=\"@HappyTechDigest\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"WithHappy\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"1\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/2018\\\/07\\\/01\\\/prototyping-example-with-mcu-template-4\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/2018\\\/07\\\/01\\\/prototyping-example-with-mcu-template-4\\\/\"},\"author\":{\"name\":\"WithHappy\",\"@id\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/#\\\/schema\\\/person\\\/bd5f0f8b26d37eb02da979908ee4d501\"},\"headline\":\"\u30de\u30a4\u30b3\u30f3\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u6d3b\u7528\u30d7\u30ed\u30c8\u30bf\u30a4\u30d4\u30f3\u30b0\u958b\u767a(4)\",\"datePublished\":\"2018-06-30T17:17:53+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/2018\\\/07\\\/01\\\/prototyping-example-with-mcu-template-4\\\/\"},\"wordCount\":225,\"publisher\":{\"@id\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/2018\\\/07\\\/01\\\/prototyping-example-with-mcu-template-4\\\/#primaryimage\"},\"thumbnailUrl\":\"http:\\\/\\\/happytech.jp\\\/wordpress\\\/wp-content\\\/uploads\\\/2018\\\/07\\\/Basic-Form-of-Embedded-Software-Initial-Setting-and-Repetitive.png\",\"keywords\":[\"\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\",\"ARM\u30de\u30a4\u30b3\u30f3\",\"Cortex-M0+\",\"IoT\u30de\u30a4\u30b3\u30f3\",\"STM32F1x\",\"STM32CubeMX\",\"STM32F0x\",\"\u521d\u671f\u8a2d\u5b9a\",\"\u7e70\u8fd4\u3057\u51e6\u7406\",\"FatFs\",\"SPI\"],\"articleSection\":[\"MCU\uff1a\u30de\u30a4\u30b3\u30f3\",\"STM32\u30de\u30a4\u30b3\u30f3\",\"Cortex-M0+\u30b3\u30a2\",\"Cortex-M0\u30b3\u30a2\",\"Cortex-M3\u30b3\u30a2\"],\"inLanguage\":\"ja\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/2018\\\/07\\\/01\\\/prototyping-example-with-mcu-template-4\\\/\",\"url\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/2018\\\/07\\\/01\\\/prototyping-example-with-mcu-template-4\\\/\",\"name\":\"\u30de\u30a4\u30b3\u30f3\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u6d3b\u7528\u30d7\u30ed\u30c8\u30bf\u30a4\u30d4\u30f3\u30b0\u958b\u767a(4) - IoT MCU\u306eHappyTech\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/2018\\\/07\\\/01\\\/prototyping-example-with-mcu-template-4\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/2018\\\/07\\\/01\\\/prototyping-example-with-mcu-template-4\\\/#primaryimage\"},\"thumbnailUrl\":\"http:\\\/\\\/happytech.jp\\\/wordpress\\\/wp-content\\\/uploads\\\/2018\\\/07\\\/Basic-Form-of-Embedded-Software-Initial-Setting-and-Repetitive.png\",\"datePublished\":\"2018-06-30T17:17:53+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/2018\\\/07\\\/01\\\/prototyping-example-with-mcu-template-4\\\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/2018\\\/07\\\/01\\\/prototyping-example-with-mcu-template-4\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/2018\\\/07\\\/01\\\/prototyping-example-with-mcu-template-4\\\/#primaryimage\",\"url\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/wp-content\\\/uploads\\\/2018\\\/07\\\/Basic-Form-of-Embedded-Software-Initial-Setting-and-Repetitive.png\",\"contentUrl\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/wp-content\\\/uploads\\\/2018\\\/07\\\/Basic-Form-of-Embedded-Software-Initial-Setting-and-Repetitive.png\",\"width\":400,\"height\":332,\"caption\":\"\u7121\u9650\u30eb\u30fc\u30d7\u524d\u306b1\u56de\u5b9f\u884c\u3059\u308b\u300c\u521d\u671f\u8a2d\u5b9a\u51e6\u7406\u300d\u3068\u3001\u7121\u9650\u30eb\u30fc\u30d7\u5185\u306e\u300c\u7e70\u8fd4\u3057\u51e6\u7406\u300d\u306e2\u3064\u304b\u3089\u69cb\u6210\u3055\u308c\u308b\u300c\u7d44\u8fbc\u307f\u30bd\u30d5\u30c8\u306e\u57fa\u672c\u5f62\u300d\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/2018\\\/07\\\/01\\\/prototyping-example-with-mcu-template-4\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u30db\u30fc\u30e0\",\"item\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u30de\u30a4\u30b3\u30f3\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u6d3b\u7528\u30d7\u30ed\u30c8\u30bf\u30a4\u30d4\u30f3\u30b0\u958b\u767a(4)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/#website\",\"url\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/\",\"name\":\"IoT MCU\u306eHappyTech\",\"description\":\"IoT MCU\u958b\u767a\u304a\u5f79\u7acb\u3061\u60c5\u5831\u6e80\u8f09\",\"publisher\":{\"@id\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/#organization\",\"name\":\"HappyTech\",\"url\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/wp-content\\\/uploads\\\/2013\\\/09\\\/cropped-HappyTechBlog.png\",\"contentUrl\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/wp-content\\\/uploads\\\/2013\\\/09\\\/cropped-HappyTechBlog.png\",\"width\":1420,\"height\":349,\"caption\":\"HappyTech\"},\"image\":{\"@id\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/x.com\\\/HappyTechDigest\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/#\\\/schema\\\/person\\\/bd5f0f8b26d37eb02da979908ee4d501\",\"name\":\"WithHappy\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/cf8736d9e6685dd81af92f2abfa76e76a040fc3df1ce7dfd5bd40671f484452c?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/cf8736d9e6685dd81af92f2abfa76e76a040fc3df1ce7dfd5bd40671f484452c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/cf8736d9e6685dd81af92f2abfa76e76a040fc3df1ce7dfd5bd40671f484452c?s=96&d=mm&r=g\",\"caption\":\"WithHappy\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u30de\u30a4\u30b3\u30f3\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u6d3b\u7528\u30d7\u30ed\u30c8\u30bf\u30a4\u30d4\u30f3\u30b0\u958b\u767a(4) - IoT MCU\u306eHappyTech","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/happytech.jp\/wordpress\/2018\/07\/01\/prototyping-example-with-mcu-template-4\/","og_locale":"ja_JP","og_type":"article","og_title":"\u30de\u30a4\u30b3\u30f3\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u6d3b\u7528\u30d7\u30ed\u30c8\u30bf\u30a4\u30d4\u30f3\u30b0\u958b\u767a(4) - IoT MCU\u306eHappyTech","og_description":"\u30de\u30a4\u30b3\u30f3\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3078\u6a5f\u80fd\u3092\u8ffd\u52a0\u3059\u308b\u306b\u306f\u3001\u65e2\u306b\u67a0\u7d44\u307f\u304c\u51fa\u6765\u4e0a\u304c\u3063\u3066\u3044\u308b\u30c6\u30f3\u30d7\u30ec\u30fc Read More ...","og_url":"https:\/\/happytech.jp\/wordpress\/2018\/07\/01\/prototyping-example-with-mcu-template-4\/","og_site_name":"IoT MCU\u306eHappyTech","article_published_time":"2018-06-30T17:17:53+00:00","og_image":[{"url":"http:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2018\/07\/Basic-Form-of-Embedded-Software-Initial-Setting-and-Repetitive.png","type":"","width":"","height":""}],"author":"WithHappy","twitter_card":"summary_large_image","twitter_creator":"@HappyTechDigest","twitter_site":"@HappyTechDigest","twitter_misc":{"\u57f7\u7b46\u8005":"WithHappy","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"1\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/happytech.jp\/wordpress\/2018\/07\/01\/prototyping-example-with-mcu-template-4\/#article","isPartOf":{"@id":"https:\/\/happytech.jp\/wordpress\/2018\/07\/01\/prototyping-example-with-mcu-template-4\/"},"author":{"name":"WithHappy","@id":"https:\/\/happytech.jp\/wordpress\/#\/schema\/person\/bd5f0f8b26d37eb02da979908ee4d501"},"headline":"\u30de\u30a4\u30b3\u30f3\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u6d3b\u7528\u30d7\u30ed\u30c8\u30bf\u30a4\u30d4\u30f3\u30b0\u958b\u767a(4)","datePublished":"2018-06-30T17:17:53+00:00","mainEntityOfPage":{"@id":"https:\/\/happytech.jp\/wordpress\/2018\/07\/01\/prototyping-example-with-mcu-template-4\/"},"wordCount":225,"publisher":{"@id":"https:\/\/happytech.jp\/wordpress\/#organization"},"image":{"@id":"https:\/\/happytech.jp\/wordpress\/2018\/07\/01\/prototyping-example-with-mcu-template-4\/#primaryimage"},"thumbnailUrl":"http:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2018\/07\/Basic-Form-of-Embedded-Software-Initial-Setting-and-Repetitive.png","keywords":["\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8","ARM\u30de\u30a4\u30b3\u30f3","Cortex-M0+","IoT\u30de\u30a4\u30b3\u30f3","STM32F1x","STM32CubeMX","STM32F0x","\u521d\u671f\u8a2d\u5b9a","\u7e70\u8fd4\u3057\u51e6\u7406","FatFs","SPI"],"articleSection":["MCU\uff1a\u30de\u30a4\u30b3\u30f3","STM32\u30de\u30a4\u30b3\u30f3","Cortex-M0+\u30b3\u30a2","Cortex-M0\u30b3\u30a2","Cortex-M3\u30b3\u30a2"],"inLanguage":"ja"},{"@type":"WebPage","@id":"https:\/\/happytech.jp\/wordpress\/2018\/07\/01\/prototyping-example-with-mcu-template-4\/","url":"https:\/\/happytech.jp\/wordpress\/2018\/07\/01\/prototyping-example-with-mcu-template-4\/","name":"\u30de\u30a4\u30b3\u30f3\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u6d3b\u7528\u30d7\u30ed\u30c8\u30bf\u30a4\u30d4\u30f3\u30b0\u958b\u767a(4) - IoT MCU\u306eHappyTech","isPartOf":{"@id":"https:\/\/happytech.jp\/wordpress\/#website"},"primaryImageOfPage":{"@id":"https:\/\/happytech.jp\/wordpress\/2018\/07\/01\/prototyping-example-with-mcu-template-4\/#primaryimage"},"image":{"@id":"https:\/\/happytech.jp\/wordpress\/2018\/07\/01\/prototyping-example-with-mcu-template-4\/#primaryimage"},"thumbnailUrl":"http:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2018\/07\/Basic-Form-of-Embedded-Software-Initial-Setting-and-Repetitive.png","datePublished":"2018-06-30T17:17:53+00:00","breadcrumb":{"@id":"https:\/\/happytech.jp\/wordpress\/2018\/07\/01\/prototyping-example-with-mcu-template-4\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/happytech.jp\/wordpress\/2018\/07\/01\/prototyping-example-with-mcu-template-4\/"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/happytech.jp\/wordpress\/2018\/07\/01\/prototyping-example-with-mcu-template-4\/#primaryimage","url":"https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2018\/07\/Basic-Form-of-Embedded-Software-Initial-Setting-and-Repetitive.png","contentUrl":"https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2018\/07\/Basic-Form-of-Embedded-Software-Initial-Setting-and-Repetitive.png","width":400,"height":332,"caption":"\u7121\u9650\u30eb\u30fc\u30d7\u524d\u306b1\u56de\u5b9f\u884c\u3059\u308b\u300c\u521d\u671f\u8a2d\u5b9a\u51e6\u7406\u300d\u3068\u3001\u7121\u9650\u30eb\u30fc\u30d7\u5185\u306e\u300c\u7e70\u8fd4\u3057\u51e6\u7406\u300d\u306e2\u3064\u304b\u3089\u69cb\u6210\u3055\u308c\u308b\u300c\u7d44\u8fbc\u307f\u30bd\u30d5\u30c8\u306e\u57fa\u672c\u5f62\u300d"},{"@type":"BreadcrumbList","@id":"https:\/\/happytech.jp\/wordpress\/2018\/07\/01\/prototyping-example-with-mcu-template-4\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u30db\u30fc\u30e0","item":"https:\/\/happytech.jp\/wordpress\/"},{"@type":"ListItem","position":2,"name":"\u30de\u30a4\u30b3\u30f3\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u6d3b\u7528\u30d7\u30ed\u30c8\u30bf\u30a4\u30d4\u30f3\u30b0\u958b\u767a(4)"}]},{"@type":"WebSite","@id":"https:\/\/happytech.jp\/wordpress\/#website","url":"https:\/\/happytech.jp\/wordpress\/","name":"IoT MCU\u306eHappyTech","description":"IoT MCU\u958b\u767a\u304a\u5f79\u7acb\u3061\u60c5\u5831\u6e80\u8f09","publisher":{"@id":"https:\/\/happytech.jp\/wordpress\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/happytech.jp\/wordpress\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Organization","@id":"https:\/\/happytech.jp\/wordpress\/#organization","name":"HappyTech","url":"https:\/\/happytech.jp\/wordpress\/","logo":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/happytech.jp\/wordpress\/#\/schema\/logo\/image\/","url":"https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2013\/09\/cropped-HappyTechBlog.png","contentUrl":"https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2013\/09\/cropped-HappyTechBlog.png","width":1420,"height":349,"caption":"HappyTech"},"image":{"@id":"https:\/\/happytech.jp\/wordpress\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/HappyTechDigest"]},{"@type":"Person","@id":"https:\/\/happytech.jp\/wordpress\/#\/schema\/person\/bd5f0f8b26d37eb02da979908ee4d501","name":"WithHappy","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/secure.gravatar.com\/avatar\/cf8736d9e6685dd81af92f2abfa76e76a040fc3df1ce7dfd5bd40671f484452c?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/cf8736d9e6685dd81af92f2abfa76e76a040fc3df1ce7dfd5bd40671f484452c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/cf8736d9e6685dd81af92f2abfa76e76a040fc3df1ce7dfd5bd40671f484452c?s=96&d=mm&r=g","caption":"WithHappy"}}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/happytech.jp\/wordpress\/wp-json\/wp\/v2\/posts\/4835","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/happytech.jp\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/happytech.jp\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/happytech.jp\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/happytech.jp\/wordpress\/wp-json\/wp\/v2\/comments?post=4835"}],"version-history":[{"count":0,"href":"https:\/\/happytech.jp\/wordpress\/wp-json\/wp\/v2\/posts\/4835\/revisions"}],"wp:attachment":[{"href":"https:\/\/happytech.jp\/wordpress\/wp-json\/wp\/v2\/media?parent=4835"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/happytech.jp\/wordpress\/wp-json\/wp\/v2\/categories?post=4835"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/happytech.jp\/wordpress\/wp-json\/wp\/v2\/tags?post=4835"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}