{"id":256340,"date":"2022-02-02T22:33:52","date_gmt":"2022-02-02T13:33:52","guid":{"rendered":"https:\/\/hldc.co.jp\/support\/?post_type=qna&#038;p=256340"},"modified":"2022-10-19T14:44:26","modified_gmt":"2022-10-19T05:44:26","slug":"qna-256340","status":"publish","type":"qna","link":"https:\/\/hldc.co.jp\/support\/qna\/qna-256340\/","title":{"rendered":"JTAG\u7b49\u306e\u7121\u3044\u30bf\u30fc\u30b2\u30c3\u30c8\u6a5f\u5668\u3067\u3001\u5909\u6570\u5024\u3092\u5909\u66f4\u3057\u306a\u304c\u3089C0\u30ab\u30d0\u30ec\u30c3\u30b8\u30c6\u30b9\u30c8\u3092\u5b9f\u65bd\u3059\u308b\u3002"},"content":{"rendered":"<p>[et_pb_section fb_built=&#8221;1&#8243; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; da_disable_devices=&#8221;off|off|off&#8221; global_colors_info=&#8221;{}&#8221; da_is_popup=&#8221;off&#8221; da_exit_intent=&#8221;off&#8221; da_has_close=&#8221;on&#8221; da_alt_close=&#8221;off&#8221; da_dark_close=&#8221;off&#8221; da_not_modal=&#8221;on&#8221; da_is_singular=&#8221;off&#8221; da_with_loader=&#8221;off&#8221; da_has_shadow=&#8221;on&#8221;][et_pb_row _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_text _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; text_font_size_tablet=&#8221;15px&#8221; text_font_size_phone=&#8221;14px&#8221; text_font_size_last_edited=&#8221;on|desktop&#8221; global_colors_info=&#8221;{}&#8221;]\u6c4e\u7528\u30dd\u30fc\u30c8\u63a5\u7d9a\u306b\u9650\u308a\u3001DynamicTracer\/DBOX+Trace\u3092\u4ecb\u3057\u3066\u5909\u6570\u5024\u3092\u66f8\u304d\u304b\u3048\u308b\u4e8b\u304c\u3067\u304d\u307e\u3059\u3002<br \/>\n\u3053\u308c\u3092\u5229\u7528\u3057\u3001\u30ab\u30d0\u30ec\u30c3\u30b8\u306e\u672a\u901a\u904e\u7b87\u6240\u306b\u5bfe\u3057\u3066\u3001\u5b9f\u6a5f\u4e0a\u3067\u52d5\u4f5c\u3055\u305b\u3066\u30ab\u30d0\u30ec\u30c3\u30b8\u30c6\u30b9\u30c8\u3092\u5b9f\u65bd\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u5909\u6570\u5024\u66f8\u304d\u63db\u3048\u6a5f\u80fd\u306e\u4ed5\u69d8\u306f\u6b21\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n<ul style=\"margin: 0.3em 0 0em;\">\n<li>\u8a00\u8a9e\u304cC\/C++\u306e\u30bd\u30fc\u30b9\u30d5\u30a1\u30a4\u30eb\u306e\u307f\u4f7f\u7528\u3067\u304d\u307e\u3059\u3002<\/li>\n<li>\u63a5\u7d9a\u65b9\u5f0f\u304cGPIO\/SPI\u63a5\u7d9a\u306e\u307f\u4f7f\u7528\u3067\u304d\u307e\u3059\u3002<\/li>\n<li>\u30a4\u30d9\u30f3\u30c8ID\u51fa\u529b\u65b9\u5f0f\u304c[\u30a4\u30d9\u30f3\u30c8ID \u51fa\u529b\u30dd\u30a4\u30f3\u30c8\u633f\u5165]\u306e\u307f\u4f7f\u7528\u3067\u304d\u307e\u3059\u3002<\/li>\n<li>1\u56de\u306e\u30ec\u30dd\u30fc\u30c8\u53d6\u5f97\u4e2d\u30011\u3064\u306e\u5909\u6570\u306e\u307f\u66f8\u304d\u63db\u3048\u53ef\u80fd\u3067\u3059\u3002<\/li>\n<li>1\u56de\u306e\u30ec\u30dd\u30fc\u30c8\u53d6\u5f97\u4e2d\u300110\u56de\u307e\u3067\u66f8\u304d\u63db\u3048\u3067\u304d\u307e\u3059\u3002<\/li>\n<\/ul>\n<p>\u8a73\u7d30\u306a\u4ed5\u69d8\u306b\u3064\u3044\u3066\u306f\u3001\u5404\u88fd\u54c1\u30d8\u30eb\u30d7\u306e[\u5909\u6570\u5024\u66f8\u304d\u63db\u3048\u6a5f\u80fd]\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002[\/et_pb_text][et_pb_text _builder_version=&#8221;4.18.0&#8243; _module_preset=&#8221;default&#8221; hover_enabled=&#8221;0&#8243; text_font_size_tablet=&#8221;15px&#8221; text_font_size_phone=&#8221;14px&#8221; text_font_size_last_edited=&#8221;on|desktop&#8221; global_colors_info=&#8221;{}&#8221; sticky_enabled=&#8221;0&#8243;]<\/p>\n<h3>\u5909\u6570\u5024\u66f8\u304d\u63db\u3048\u6a5f\u80fd\u3092\u4f7f\u7528\u3059\u308b<\/h3>\n<ol start='' >\n<li>\n<p>\u30c9\u30e9\u30a4\u30d0\u5074\u3067<code>#define DT_WRITE_VARIABLE<\/code>\u3092\u6709\u52b9\u306b\u3057\u307e\u3059\u3002<\/p>\n<pre><code>\/*==============================================================================*\/\n\/*  Macro:  DT_WRITE_VARIABLE                                                   *\/\n\/*  Desc:   Please set 1 if use Write Test Point                                *\/\n\/*==============================================================================*\/\n#define DT_WRITE_VARIABLE 1\n<\/code><\/pre>\n<\/li>\n<li>\n<p>_TP_BusPortInit\u95a2\u6570\u7b49\u3067\u3001\u5909\u6570\u5024\u66f8\u304d\u63db\u3048\u6a5f\u80fd\u3067\u4f7f\u7528\u3059\u308b\u30dd\u30fc\u30c8\u3092\u7528\u610f\u3057\u3066\u3044\u305f\u3060\u304d\u3001<\/p>\n<p>\u4ee5\u4e0b\u306eDOUT\u306e\u3088\u3046\u306b\u30dd\u30fc\u30c8\u5165\u51fa\u529b\u8a2d\u5b9a\u3092\u5165\u529b\u306b\u8a2d\u5b9a\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre><code>\/*==============================================================================*\/\n\/*  Func:   _TP_BusPortInit                                                     *\/\n\/*  Desc:   Please describe the code to initializes ports.                      *\/\n\/*==============================================================================*\/\nstatic void _TP_BusPortInit(void)\n{\n\t\/* ex)\t\n\t\t\tPA.DIR = 0x3f;\n\t\t\tPD.DIR = 0x3f;\n\t\t\tPA.word = 0x3f;\n\t\t\tPD.word = 0x3f;\t\n\t*\/\n\tSysCtlPeripheralEnable( SYSCTL_PERIPH_GPIOA );\n\tSysCtlPeripheralEnable( SYSCTL_PERIPH_GPIOD );\n\tGPIOPinTypeGPIOOutput( GPIO_PORTD_BASE, GPIO_PIN_2 );\t\t\/*\tCLK\t*\/\n\tGPIOPinTypeGPIOOutput( GPIO_PORTD_BASE, GPIO_PIN_3 );\t\t\/*\tCS\t*\/\n\tGPIOPinTypeGPIOInput( GPIO_PORTD_BASE, GPIO_PIN_6 );\t\t\/*\tDOUT\t*\/\n\tGPIOPinTypeGPIOOutput( GPIO_PORTA_BASE, GPIO_PIN_2 );\t\t\/*\tDAT0\t*\/\n\tGPIOPinTypeGPIOOutput( GPIO_PORTA_BASE, GPIO_PIN_3 );\t\t\/*\tDAT1\t*\/\n\tGPIOPinTypeGPIOOutput( GPIO_PORTA_BASE, GPIO_PIN_4 );\t\t\/*\tDAT2\t*\/\n\tGPIOPinTypeGPIOOutput( GPIO_PORTA_BASE, GPIO_PIN_5 );\t\t\/*\tDAT3\t*\/\n\tGPIOPinWrite( GPIO_PORTD_BASE, GPIO_PIN_2, GPIO_PIN_2);\n\tGPIOPinWrite( GPIO_PORTD_BASE, GPIO_PIN_3, GPIO_PIN_3);\n\tGPIOPinWrite( GPIO_PORTA_BASE, GPIO_PIN_2, GPIO_PIN_2 );\n\tGPIOPinWrite( GPIO_PORTA_BASE, GPIO_PIN_3, GPIO_PIN_3 );\n\tGPIOPinWrite( GPIO_PORTA_BASE, GPIO_PIN_4, GPIO_PIN_4 );\n\tGPIOPinWrite( GPIO_PORTA_BASE, GPIO_PIN_5, GPIO_PIN_5 );\n}\n<\/code><\/pre>\n<p>&nbsp;<\/p>\n<\/li>\n<li>\n<p>portGetDOUT()\u95a2\u6570\u306e\u8a2d\u5b9a\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n<p>DOUT\u7aef\u5b50\u304cHi\u3067\u3042\u308c\u30701\u3092\u3001Lo\u3067\u3042\u308c\u30700\u3092\u8fd4\u3059\u3088\u3046\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre><code>#if DT_WRITE_VARIABLE\n\/*==============================================================================*\/\n\/*  Func:   portGetDOUT                                                         *\/\n\/*  Desc:   Please describe the code to get the value from DOUT Port            *\/\n\/*==============================================================================*\/\nDT_INLINE DT_UINT portGetDOUT(void)\n{\n\t\/* ex)\n\t\treturn PA.bit.b6;\n\t*\/ \n\n\treturn GPIOPinRead( GPIO_PORTD_BASE, GPIO_PIN_6 );\n}\n#endif\n<\/code><\/pre>\n<\/li>\n<li>\n<p>DT\u30b7\u30ea\u30fc\u30ba\u306e[\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u30d3\u30e5\u30fc]\u4e0a\u306e\u5909\u6570\u5024\u3092\u5909\u66f4\u3057\u305f\u3044\u7b87\u6240\u3067\u53f3\u30af\u30ea\u30c3\u30af\u304b\u3089[\u5909\u6570\u5024\u66f8\u304d\u63db\u3048\u30dd\u30a4\u30f3\u30c8\u306e\u633f\u5165]\u3092\u9078\u629e\u3057\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" data-src=\"https:\/\/hldc.co.jp\/support\/wp-content\/uploads\/2022\/02\/256340_01.png\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 345px; --smush-placeholder-aspect-ratio: 345\/278;\"><\/p>\n<\/li>\n<li>\n<p>[\u5909\u6570\u5024\u66f8\u304d\u63db\u3048\u30dd\u30a4\u30f3\u30c8\u8a2d\u5b9a]\u30c0\u30a4\u30a2\u30ed\u30b0\u304b\u3089\u4ee5\u4e0b\u306e\u8a2d\u5b9a\u3092\u884c\u307e\u3059\u3002<\/p>\n<ul>\n<li>[\u5909\u6570\u540d]\u3001[\u53c2\u7167]\u3001[\u30d0\u30a4\u30c8\u6570]\u306b\u3001\u66f8\u304d\u63db\u3048\u305f\u3044\u5909\u6570\u306e\u60c5\u5831\u3092\u5165\u529b\u3057\u307e\u3059\u3002\u3000<\/li>\n<li>[\u9023\u7d9a\u30c7\u30fc\u30bf\u6307\u5b9a]\uff0f[\u500b\u5225\u6307\u5b9a]\u306b\u3001\u66f8\u304d\u63db\u3048\u305f\u3044\u60c5\u5831\u3092\u5165\u529b\u3057\u307e\u3059\u3002<\/li>\n<\/ul>\n<p><img decoding=\"async\" data-src=\"https:\/\/hldc.co.jp\/support\/wp-content\/uploads\/2022\/02\/256340_02.png\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 392px; --smush-placeholder-aspect-ratio: 392\/437;\"><\/p>\n<\/li>\n<li>\n<p>\u5909\u6570\u5024\u66f8\u304d\u63db\u3048\u30dd\u30a4\u30f3\u30c8\u306e\u6b21\u306b\u5909\u6570\u5024\u51fa\u529b\u30dd\u30a4\u30f3\u30c8\u3092\u633f\u5165\u3059\u308b\u3053\u3068\u3067\u3001\u30c7\u30fc\u30bf\u53d6\u5f97\u306e\u969b\u306b\u3001\u5024\u304c\u66f8\u304d\u63db\u3048\u3089\u308c\u305f\u5909\u6570\u3092\u78ba\u8a8d\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" data-src=\"https:\/\/hldc.co.jp\/support\/wp-content\/uploads\/2022\/02\/256340_03.png\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 640px; --smush-placeholder-aspect-ratio: 640\/126;\"><\/p>\n<\/li>\n<li>\n<p>\u30e1\u30cb\u30e5\u30fc\u304b\u3089[\u30c6\u30b9\u30c8\u5b9f\u884c]\u2192[\u5b9f\u884c]\u3092\u9078\u629e\u3057\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" data-src=\"https:\/\/hldc.co.jp\/support\/wp-content\/uploads\/2022\/02\/256340_04.png\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 378px; --smush-placeholder-aspect-ratio: 378\/267;\"><\/p>\n<\/li>\n<li>\n<p>[\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u5b9f\u884c]\u30c0\u30a4\u30a2\u30ed\u30b0\u304b\u3089\u3001\u5909\u6570\u5024\u66f8\u304d\u63db\u3048\u306e[\u5909\u66f4] \u30dc\u30bf\u30f3\u3092\u9078\u629e\u3057\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" data-src=\"https:\/\/hldc.co.jp\/support\/wp-content\/uploads\/2022\/02\/256340_05.png\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 568px; --smush-placeholder-aspect-ratio: 568\/463;\"><\/p>\n<\/li>\n<li>\n<p>[\u5909\u6570\u5024\u66f8\u304d\u63db\u3048\u30dd\u30a4\u30f3\u30c8\u306e\u9078\u629e]\u30c0\u30a4\u30a2\u30ed\u30b0\u304b\u3089\u3001[\u5909\u6570\u5024\u3092\u66f8\u304d\u63db\u3048\u308b]\u3092\u6709\u52b9\u306b\u3057\u3001\u4e00\u89a7\u3088\u308a\u66f8\u304d\u63db\u3048\u308b\u5909\u6570\u3092\u9078\u629e\u3057\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" data-src=\"https:\/\/hldc.co.jp\/support\/wp-content\/uploads\/2022\/02\/256340_06.png\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 344px; --smush-placeholder-aspect-ratio: 344\/304;\"><\/p>\n<\/li>\n<li>\n<p>\u30c6\u30b9\u30c8\u5b9f\u884c\u3092\u884c\u3044\u3001\u8a72\u5f53\u30dd\u30a4\u30f3\u30c8\u3092\u901a\u904e\u3057\u305f\u6642\u306b\u66f8\u304d\u63db\u3048\u304c\u884c\u308f\u308c\u3066\u3044\u308b\u4e8b\u3092\u78ba\u8a8d\u3057\u3001\u30ec\u30dd\u30fc\u30c8\u89e3\u6790\u3092\u884c\u3063\u3066\u30ab\u30d0\u30ec\u30c3\u30b8\u30ec\u30dd\u30fc\u30c8\u3092\u3054\u78ba\u8a8d\u304f\u3060\u3055\u3044\u3002<\/p>\n<p><img decoding=\"async\" data-src=\"https:\/\/hldc.co.jp\/support\/wp-content\/uploads\/2022\/02\/256340_07.png\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 1141px; --smush-placeholder-aspect-ratio: 1141\/329;\"><\/p>\n<\/li>\n<\/ol>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][\/et_pb_section]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6c4e\u7528\u30dd\u30fc\u30c8\u63a5\u7d9a\u306b\u9650\u308a\u3001DynamicTracer\/DBOX+Trace\u3092\u4ecb\u3057\u3066\u5909\u6570\u5024\u3092\u66f8\u304d\u304b\u3048\u308b\u4e8b\u304c\u3067\u304d\u307e\u3059\u3002 \u3053\u308c\u3092\u5229\u7528\u3057\u3001\u30ab\u30d0\u30ec\u30c3\u30b8\u306e\u672a\u901a\u904e\u7b87\u6240\u306b\u5bfe\u3057\u3066\u3001\u5b9f\u6a5f\u4e0a\u3067\u52d5\u4f5c\u3055\u305b\u3066\u30ab\u30d0\u30ec\u30c3\u30b8\u30c6\u30b9\u30c8\u3092\u5b9f\u65bd\u3067\u304d\u307e\u3059\u3002 \u5909\u6570\u5024\u66f8\u304d&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"menu_order":26,"comment_status":"open","ping_status":"open","template":"","meta":{"_et_pb_use_builder":"on","_et_pb_old_content":"","_et_gb_content_width":"","inline_featured_image":false,"footnotes":"","_links_to":"","_links_to_target":""},"qna_category":[33],"qna_tag":[51,44,48,50,46],"class_list":["post-256340","qna","type-qna","status-publish","hentry","qna_category-how-to","qna_tag-51","qna_tag-44","qna_tag-48","qna_tag-50","qna_tag-46"],"acf":[],"_links":{"self":[{"href":"https:\/\/hldc.co.jp\/support\/wp-json\/wp\/v2\/qna\/256340","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hldc.co.jp\/support\/wp-json\/wp\/v2\/qna"}],"about":[{"href":"https:\/\/hldc.co.jp\/support\/wp-json\/wp\/v2\/types\/qna"}],"author":[{"embeddable":true,"href":"https:\/\/hldc.co.jp\/support\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hldc.co.jp\/support\/wp-json\/wp\/v2\/comments?post=256340"}],"version-history":[{"count":11,"href":"https:\/\/hldc.co.jp\/support\/wp-json\/wp\/v2\/qna\/256340\/revisions"}],"predecessor-version":[{"id":258910,"href":"https:\/\/hldc.co.jp\/support\/wp-json\/wp\/v2\/qna\/256340\/revisions\/258910"}],"wp:attachment":[{"href":"https:\/\/hldc.co.jp\/support\/wp-json\/wp\/v2\/media?parent=256340"}],"wp:term":[{"taxonomy":"qna_category","embeddable":true,"href":"https:\/\/hldc.co.jp\/support\/wp-json\/wp\/v2\/qna_category?post=256340"},{"taxonomy":"qna_tag","embeddable":true,"href":"https:\/\/hldc.co.jp\/support\/wp-json\/wp\/v2\/qna_tag?post=256340"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}