{"id":345,"date":"2017-01-07T18:51:06","date_gmt":"2017-01-07T18:51:06","guid":{"rendered":"http:\/\/pthat.com\/?page_id=345"},"modified":"2025-03-02T12:34:08","modified_gmt":"2025-03-02T12:34:08","slug":"firmware-2","status":"publish","type":"page","link":"https:\/\/pthat.com\/index.php\/firmware-2\/","title":{"rendered":"Firmware"},"content":{"rendered":"<p>[et_pb_section fb_built=&#8221;1&#8243; custom_padding_last_edited=&#8221;on|desktop&#8221; admin_label=&#8221;Section&#8221; _builder_version=&#8221;4.16&#8243; background_color=&#8221;#f9f9f9&#8243; custom_padding_tablet=&#8221;50px|0|50px|0&#8243; custom_padding_phone=&#8221;50px|0|50px|0&#8243; transparent_background=&#8221;off&#8221; padding_mobile=&#8221;off&#8221; make_fullwidth=&#8221;off&#8221; use_custom_width=&#8221;off&#8221; width_unit=&#8221;on&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_row padding_mobile=&#8221;off&#8221; column_padding_mobile=&#8221;on&#8221; admin_label=&#8221;Row&#8221; _builder_version=&#8221;4.16&#8243; background_color=&#8221;#f9f9f9&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221; make_fullwidth=&#8221;off&#8221; use_custom_width=&#8221;off&#8221; width_unit=&#8221;on&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.16&#8243; custom_padding=&#8221;|||&#8221; global_colors_info=&#8221;{}&#8221; custom_padding__hover=&#8221;|||&#8221;][et_pb_text admin_label=&#8221;Text&#8221; _builder_version=&#8221;4.16&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221; text_orientation=&#8221;center&#8221; module_alignment=&#8221;center&#8221; use_border_color=&#8221;off&#8221; border_color=&#8221;#ffffff&#8221; border_style=&#8221;solid&#8221; global_colors_info=&#8221;{}&#8221;]<\/p>\n<h1><span style=\"font-size: 36pt;\">Upgrading Firmware<\/span><\/h1>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][\/et_pb_section][et_pb_section fb_built=&#8221;1&#8243; admin_label=&#8221;section&#8221; _builder_version=&#8221;4.16&#8243; global_colors_info=&#8221;{}&#8221;][et_pb_row admin_label=&#8221;row&#8221; _builder_version=&#8221;4.16&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.16&#8243; custom_padding=&#8221;|||&#8221; global_colors_info=&#8221;{}&#8221; custom_padding__hover=&#8221;|||&#8221;][et_pb_text admin_label=&#8221;Text&#8221; _builder_version=&#8221;4.16&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221; use_border_color=&#8221;off&#8221; border_color=&#8221;#ffffff&#8221; border_style=&#8221;solid&#8221; global_colors_info=&#8221;{}&#8221;]<strong><span style=\"font-size: 18pt;\">Details on upgrading firmware.<\/span><\/strong><\/p>\n<hr \/>\n<p><span style=\"font-size: 14pt;\">Firmware Version 5.4 released 13th\u00a0September 2018.<br \/>\n<\/span><span style=\"font-size: 14pt;\"><a href=\"http:\/\/www.pthat.com\/PTHAT-Firmware-5-4.zip\">http:\/\/www.pthat.com\/PTHAT-Firmware-5-4.zip<\/a><\/span><\/p>\n<p><span style=\"font-size: 14pt;\">Fixed E-Axis Auto Change Direction. Thanks to Bill for reporting this bug.<\/span><\/p>\n<hr \/>\n<p><span style=\"font-size: 14pt;\">Firmware Version 5.3 released 20th\u00a0July 2018.<br \/>\n<\/span><span style=\"font-size: 14pt;\"><a href=\"http:\/\/www.pthat.com\/PTHAT-Firmware-5-3.zip\">http:\/\/www.pthat.com\/PTHAT-Firmware-5-3.zip<\/a><\/span><\/p>\n<p><span style=\"font-size: 14pt;\">Many new features in this release and some changes.<\/span><\/p>\n<p><span style=\"font-size: 14pt;\"><strong><em>PWM Channels:<\/em><\/strong><\/span><br \/>\n<span style=\"font-size: 14pt;\">New in this release we have enabled two dedicated channels for Pulse Width Modulation output.<\/span><br \/>\n<span style=\"font-size: 14pt;\">At the moment the Pulse Train hat already has 4 dedicated Pulse Train Channels that can be set and variable, but requests have been coming in for people also wanting to drive\u00a0add-on boards\u00a0that require variable pulse widths.<\/span><br \/>\n<span style=\"font-size: 14pt;\">We have set up a dedicated page showing some examples which can be found on the <a href=\"https:\/\/pthat.com\/index.php\/pwm\/\">Pulse Width Modulation<\/a> page.<\/span><\/p>\n<p><span style=\"font-size: 14pt;\"><em><strong>New Commands:<\/strong><\/em><\/span><br \/>\n<span style=\"font-size: 14pt;\">Also there are some new commands added to the list that can be used.<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">As well as the Buffer Start Command, we have added the Buffer Loop Start Command.<\/span><br \/>\n<span style=\"font-size: 14pt;\">With this new command, you can tell the PTHAT to keep cycling through the commands loaded in the buffer and when it gets to the last command, it will go back to the top and start repeating the commands.<\/span><br \/>\n<span style=\"font-size: 14pt;\">We used this method on our <a href=\"https:\/\/www.hackster.io\/cnc-design\/pulse-train-hat-controlling-laser-light-show-raspberry-pi-d93ba7\" target=\"_blank\" rel=\"noopener noreferrer\">Laser Light Show demonstration<\/a> over on hackster.io<br \/>\n<span style=\"font-size: 14pt;\">Also buffer size is increased from 100 commands to 2000 commands.<\/span><\/span><\/p>\n<p><span style=\"font-size: 14pt;\">The Wait Delay Command that people tend to use when buffering commands can now set a delay in Milliseconds as well as Microseconds. So before you set it with I00WW1000* for milliseconds and now you can use I00WM1000* for microseconds.<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">The PWM Channels have also been added, so you can set the Frequency of the individual channels between 1Hz and 1MHz and also set the 12bit duty cycle.<\/span><br \/>\n<span style=\"font-size: 14pt;\">Please check the <a href=\"https:\/\/pthat.com\/index.php\/command-set\/\">Command Set<\/a> page see all new commands.<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">Request Status of IO pins.<\/span><br \/>\n<span style=\"font-size: 14pt;\">This has been added for people wanting to use the ES and Limit switch inputs as normal inputs.<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">ES and Limit Switch triggered messages.<\/span><br \/>\n<span style=\"font-size: 14pt;\">We have reduced the amount of characters to bring these messages in line with the other replies to be divisible by 7.<\/span><br \/>\n<span style=\"font-size: 14pt;\">ESTrig*<\/span><br \/>\n<span style=\"font-size: 14pt;\">XLTrig*<\/span><br \/>\n<span style=\"font-size: 14pt;\">YLTrig*<\/span><br \/>\n<span style=\"font-size: 14pt;\">ZLTrig*<\/span><br \/>\n<span style=\"font-size: 14pt;\">ELTrig*<\/span><\/p>\n<p><span style=\"font-size: 14pt;\"><em><strong>Speed increase to 500kHz<\/strong><\/em>.<\/span><br \/>\n<span style=\"font-size: 14pt;\">We have always stated that the Pulse Train outputs were good for a frequency of upto 100kHz, but while we were originally\u00a0prototyping we found we were getting much higher speeds. But with all the rushing and work involved to get the PTHAT to market, we decided to stick with the statement of the top stable speed being 100kHz. <\/span><br \/>\n<span style=\"font-size: 14pt;\">After months of testing and swapping out parts, we discovered that the factory doing the PCB assembly had placed a incorrect capacitor on each DDS output and this was the reason for the speed restriction.<\/span><br \/>\n<span style=\"font-size: 14pt;\">Now for the fact that most people running Stepper motors would probably not go faster that 80kHz did make this a minor issue, but for people wanting to modify their PTHAT and swap out the capacitor, we have set up a <a href=\"https:\/\/pthat.com\/index.php\/modifications\/\">Modifications page<\/a>, which shows you what to do.<br \/>\n<span style=\"font-size: 14pt;\">This only applies to PTHAT&#8217;s purchased in 2017, all the ones purchased after April in 2018 have the correct capacitors and we have now updated the website with scope shots and information about this.<\/span><\/span><\/p>\n<p>&nbsp;<\/p>\n<hr \/>\n<p><span style=\"font-size: 14pt;\">Firmware Version 5.1 released 6th October 2017.<br \/>\n<\/span><span style=\"font-size: 14pt;\"><a href=\"http:\/\/www.pthat.com\/PTHAT-Firmware-5-1.zip\">http:\/\/www.pthat.com\/PTHAT-Firmware-5-1.zip<\/a><\/span><\/p>\n<p><span style=\"font-size: 14pt;\">Version 5.1 has various bug fixes which include format of replies and extra routines that we will soon document on the command page.<\/span><\/p>\n<hr \/>\n<p><span style=\"font-size: 14pt;\">We will be supplying a simple JTAG programmer that will allow everyone who purchased a PTHAT to upgrade new any new version of the firmware that gets released.<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">It will also allow other developers who would like more control over the hardware to program their own code for the ARM STM32F411 processor that is used on the PTHAT.<br \/>\n<\/span><span style=\"font-size: 14pt;\">We cover development further on down this page.<\/span><\/p>\n<p><em><span style=\"font-size: 14pt;\">Please note although the PTHAT is crammed with commands and features, it is still and will always be under development as we get feed back and fix any bugs or add features requests as required. For this reason we have provided an easy way to upgrade new releases of the firmware by supplying each mainboard with a Jtag programmer. <\/span><\/em><br \/>\n[\/et_pb_text][\/et_pb_column][\/et_pb_row][et_pb_row column_structure=&#8221;1_2,1_2&#8243; admin_label=&#8221;Row&#8221; _builder_version=&#8221;4.16&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_column type=&#8221;1_2&#8243; _builder_version=&#8221;4.16&#8243; custom_padding=&#8221;|||&#8221; global_colors_info=&#8221;{}&#8221; custom_padding__hover=&#8221;|||&#8221;][et_pb_text admin_label=&#8221;Text&#8221; _builder_version=&#8221;4.16&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221; use_border_color=&#8221;off&#8221; border_color=&#8221;#ffffff&#8221; border_style=&#8221;solid&#8221; global_colors_info=&#8221;{}&#8221;]<span style=\"font-size: 18pt;\"><strong>How to upgrade the firmware.<\/strong><\/span><\/p>\n<p><span style=\"font-size: 14pt;\">Programming the PTHAT with the latest firmware is very simple.<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">1.) The PTHAT can be upgraded without it connected to the Raspberry Pi. Connect the ribbon cable as shown in the picture.<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">2.) Download and install the STM32 Link Utility software using this link.<br \/>\n<a href=\"http:\/\/www.st.com\/content\/st_com\/en\/products\/embedded-software\/development-tool-software\/stsw-link004.html\" target=\"_blank\" rel=\"noopener noreferrer\">http:\/\/www.st.com\/content\/st_com\/en\/products\/embedded-software\/development-tool-software\/stsw-link004.html<\/a><br \/>\n<\/span><br \/>\n[\/et_pb_text][et_pb_image src=&#8221;https:\/\/pthat.com\/wp-content\/uploads\/2023\/11\/Jtag-connected.jpg&#8221; title_text=&#8221;Jtag-connected&#8221; align_tablet=&#8221;center&#8221; align_phone=&#8221;center&#8221; align_last_edited=&#8221;on|desktop&#8221; admin_label=&#8221;Image&#8221; _builder_version=&#8221;4.23.1&#8243; animation_style=&#8221;slide&#8221; animation_direction=&#8221;left&#8221; animation_duration=&#8221;500ms&#8221; animation_intensity_slide=&#8221;10%&#8221; use_border_color=&#8221;off&#8221; border_color=&#8221;#ffffff&#8221; border_style=&#8221;solid&#8221; animation=&#8221;left&#8221; sticky=&#8221;off&#8221; always_center_on_mobile=&#8221;on&#8221; global_colors_info=&#8221;{}&#8221;] [\/et_pb_image][\/et_pb_column][et_pb_column type=&#8221;1_2&#8243; _builder_version=&#8221;4.16&#8243; custom_padding=&#8221;|||&#8221; global_colors_info=&#8221;{}&#8221; custom_padding__hover=&#8221;|||&#8221;][et_pb_image src=&#8221;https:\/\/pthat.com\/wp-content\/uploads\/2023\/11\/conn2.jpg&#8221; title_text=&#8221;conn2&#8243; align_tablet=&#8221;center&#8221; align_phone=&#8221;center&#8221; align_last_edited=&#8221;on|desktop&#8221; admin_label=&#8221;Image&#8221; _builder_version=&#8221;4.23.1&#8243; animation_style=&#8221;slide&#8221; animation_direction=&#8221;left&#8221; animation_duration=&#8221;500ms&#8221; animation_intensity_slide=&#8221;10%&#8221; use_border_color=&#8221;off&#8221; border_color=&#8221;#ffffff&#8221; border_style=&#8221;solid&#8221; animation=&#8221;left&#8221; sticky=&#8221;off&#8221; always_center_on_mobile=&#8221;on&#8221; global_colors_info=&#8221;{}&#8221;] [\/et_pb_image][et_pb_text admin_label=&#8221;Text&#8221; _builder_version=&#8221;4.16&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221; use_border_color=&#8221;off&#8221; border_color=&#8221;#ffffff&#8221; border_style=&#8221;solid&#8221; global_colors_info=&#8221;{}&#8221;]<span style=\"font-size: 14pt;\">You can upgrade the firmware with the PTHAT not connected to anything, or if it is already attached to the Rapsberry Pi, then it is not an issue to also upgrade. The Jtag will supply the power needed when upgrading.<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">Make sure you connect the ribbon cable as shown in the pictures, if you get it the wrong way around, then you may damage your board.<\/span><br \/>\n[\/et_pb_text][\/et_pb_column][\/et_pb_row][et_pb_row column_structure=&#8221;1_2,1_2&#8243; admin_label=&#8221;Row&#8221; _builder_version=&#8221;4.16&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_column type=&#8221;1_2&#8243; _builder_version=&#8221;4.16&#8243; custom_padding=&#8221;|||&#8221; global_colors_info=&#8221;{}&#8221; custom_padding__hover=&#8221;|||&#8221;][et_pb_text admin_label=&#8221;Text&#8221; _builder_version=&#8221;4.16&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221; use_border_color=&#8221;off&#8221; border_color=&#8221;#ffffff&#8221; border_style=&#8221;solid&#8221; global_colors_info=&#8221;{}&#8221;]<span style=\"font-size: 14pt;\">After you have downloaded and installed the ST Link Utility software, simply launch it using the Icon that the install program created.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-820\" src=\"https:\/\/pthat.com\/wp-content\/uploads\/2017\/01\/st-link8.jpg\" alt=\"\" width=\"90\" height=\"85\" \/><br \/>\n[\/et_pb_text][\/et_pb_column][et_pb_column type=&#8221;1_2&#8243; _builder_version=&#8221;4.16&#8243; custom_padding=&#8221;|||&#8221; global_colors_info=&#8221;{}&#8221; custom_padding__hover=&#8221;|||&#8221;][et_pb_image src=&#8221;https:\/\/pthat.com\/wp-content\/uploads\/2023\/11\/PTHAT-Firmware-1.jpg&#8221; title_text=&#8221;PTHAT-Firmware-1&#8243; align_tablet=&#8221;center&#8221; align_phone=&#8221;center&#8221; align_last_edited=&#8221;on|desktop&#8221; admin_label=&#8221;Image&#8221; _builder_version=&#8221;4.23.1&#8243; animation_style=&#8221;slide&#8221; animation_direction=&#8221;left&#8221; animation_duration=&#8221;500ms&#8221; animation_intensity_slide=&#8221;10%&#8221; use_border_color=&#8221;off&#8221; border_color=&#8221;#ffffff&#8221; border_style=&#8221;solid&#8221; animation=&#8221;left&#8221; sticky=&#8221;off&#8221; always_center_on_mobile=&#8221;on&#8221; global_colors_info=&#8221;{}&#8221;] [\/et_pb_image][\/et_pb_column][\/et_pb_row][et_pb_row column_structure=&#8221;1_2,1_2&#8243; admin_label=&#8221;Row&#8221; _builder_version=&#8221;4.16&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_column type=&#8221;1_2&#8243; _builder_version=&#8221;4.16&#8243; custom_padding=&#8221;|||&#8221; global_colors_info=&#8221;{}&#8221; custom_padding__hover=&#8221;|||&#8221;][et_pb_text admin_label=&#8221;Text&#8221; _builder_version=&#8221;4.16&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221; use_border_color=&#8221;off&#8221; border_color=&#8221;#ffffff&#8221; border_style=&#8221;solid&#8221; global_colors_info=&#8221;{}&#8221;]<span style=\"font-size: 14pt;\">1.)\u00a0Click the Open file Icon, top left of the screen.<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">2.)\u00a0Browse to the latest PTHAT firmware file, select it and click the Open button.<br \/>\n<\/span><br \/>\n[\/et_pb_text][\/et_pb_column][et_pb_column type=&#8221;1_2&#8243; _builder_version=&#8221;4.16&#8243; custom_padding=&#8221;|||&#8221; global_colors_info=&#8221;{}&#8221; custom_padding__hover=&#8221;|||&#8221;][et_pb_image src=&#8221;https:\/\/pthat.com\/wp-content\/uploads\/2023\/11\/PTHAT-Firmware-2.jpg&#8221; title_text=&#8221;PTHAT-Firmware-2&#8243; align_tablet=&#8221;center&#8221; align_phone=&#8221;center&#8221; align_last_edited=&#8221;on|desktop&#8221; admin_label=&#8221;Image&#8221; _builder_version=&#8221;4.23.1&#8243; animation_style=&#8221;slide&#8221; animation_direction=&#8221;left&#8221; animation_duration=&#8221;500ms&#8221; animation_intensity_slide=&#8221;10%&#8221; use_border_color=&#8221;off&#8221; border_color=&#8221;#ffffff&#8221; border_style=&#8221;solid&#8221; animation=&#8221;left&#8221; sticky=&#8221;off&#8221; always_center_on_mobile=&#8221;on&#8221; global_colors_info=&#8221;{}&#8221;] [\/et_pb_image][\/et_pb_column][\/et_pb_row][et_pb_row column_structure=&#8221;1_2,1_2&#8243; admin_label=&#8221;Row&#8221; _builder_version=&#8221;4.16&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_column type=&#8221;1_2&#8243; _builder_version=&#8221;4.16&#8243; custom_padding=&#8221;|||&#8221; global_colors_info=&#8221;{}&#8221; custom_padding__hover=&#8221;|||&#8221;][et_pb_text admin_label=&#8221;Text&#8221; _builder_version=&#8221;4.16&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221; use_border_color=&#8221;off&#8221; border_color=&#8221;#ffffff&#8221; border_style=&#8221;solid&#8221; global_colors_info=&#8221;{}&#8221;]<span style=\"font-size: 14pt;\">1.)\u00a0Click on the Program Verify Icon which should then open up the download window.<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">2.)\u00a0Click on the Start button to start it programming.<br \/>\n<\/span><br \/>\n[\/et_pb_text][\/et_pb_column][et_pb_column type=&#8221;1_2&#8243; _builder_version=&#8221;4.16&#8243; custom_padding=&#8221;|||&#8221; global_colors_info=&#8221;{}&#8221; custom_padding__hover=&#8221;|||&#8221;][et_pb_image src=&#8221;https:\/\/pthat.com\/wp-content\/uploads\/2023\/11\/PTHAT-Firmware-3.jpg&#8221; title_text=&#8221;PTHAT-Firmware-3&#8243; align_tablet=&#8221;center&#8221; align_phone=&#8221;center&#8221; align_last_edited=&#8221;on|desktop&#8221; admin_label=&#8221;Image&#8221; _builder_version=&#8221;4.23.1&#8243; animation_style=&#8221;slide&#8221; animation_direction=&#8221;left&#8221; animation_duration=&#8221;500ms&#8221; animation_intensity_slide=&#8221;10%&#8221; use_border_color=&#8221;off&#8221; border_color=&#8221;#ffffff&#8221; border_style=&#8221;solid&#8221; animation=&#8221;left&#8221; sticky=&#8221;off&#8221; always_center_on_mobile=&#8221;on&#8221; global_colors_info=&#8221;{}&#8221;] [\/et_pb_image][\/et_pb_column][\/et_pb_row][et_pb_row column_structure=&#8221;1_2,1_2&#8243; admin_label=&#8221;Row&#8221; _builder_version=&#8221;4.16&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_column type=&#8221;1_2&#8243; _builder_version=&#8221;4.16&#8243; custom_padding=&#8221;|||&#8221; global_colors_info=&#8221;{}&#8221; custom_padding__hover=&#8221;|||&#8221;][et_pb_text admin_label=&#8221;Text&#8221; _builder_version=&#8221;4.16&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221; use_border_color=&#8221;off&#8221; border_color=&#8221;#ffffff&#8221; border_style=&#8221;solid&#8221; global_colors_info=&#8221;{}&#8221;]<span style=\"font-size: 14pt;\">After programming is complete, it will confirm this with a message in the debug window.<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">Next just disconnect the ribbon cable and you are ready to use the PTHAT again.<\/span><br \/>\n[\/et_pb_text][\/et_pb_column][et_pb_column type=&#8221;1_2&#8243; _builder_version=&#8221;4.16&#8243; custom_padding=&#8221;|||&#8221; global_colors_info=&#8221;{}&#8221; custom_padding__hover=&#8221;|||&#8221;][et_pb_image src=&#8221;https:\/\/pthat.com\/wp-content\/uploads\/2023\/11\/PTHAT-Firmware-4.jpg&#8221; title_text=&#8221;PTHAT-Firmware-4&#8243; align_tablet=&#8221;center&#8221; align_phone=&#8221;center&#8221; align_last_edited=&#8221;on|desktop&#8221; admin_label=&#8221;Image&#8221; _builder_version=&#8221;4.23.1&#8243; animation_style=&#8221;slide&#8221; animation_direction=&#8221;left&#8221; animation_duration=&#8221;500ms&#8221; animation_intensity_slide=&#8221;10%&#8221; use_border_color=&#8221;off&#8221; border_color=&#8221;#ffffff&#8221; border_style=&#8221;solid&#8221; animation=&#8221;left&#8221; sticky=&#8221;off&#8221; always_center_on_mobile=&#8221;on&#8221; global_colors_info=&#8221;{}&#8221;] [\/et_pb_image][\/et_pb_column][\/et_pb_row][\/et_pb_section][et_pb_section fb_built=&#8221;1&#8243; admin_label=&#8221;section&#8221; _builder_version=&#8221;4.16&#8243; global_colors_info=&#8221;{}&#8221;][\/et_pb_section][et_pb_section fb_built=&#8221;1&#8243; custom_padding_last_edited=&#8221;on|desktop&#8221; admin_label=&#8221;Section&#8221; _builder_version=&#8221;3.22&#8243; custom_padding_tablet=&#8221;50px|0|50px|0&#8243; custom_padding_phone=&#8221;50px|0|50px|0&#8243; transparent_background=&#8221;off&#8221; padding_mobile=&#8221;off&#8221; make_fullwidth=&#8221;off&#8221; use_custom_width=&#8221;off&#8221; width_unit=&#8221;on&#8221; global_module=&#8221;3990&#8243; global_colors_info=&#8221;{}&#8221;][et_pb_row admin_label=&#8221;Row&#8221; _builder_version=&#8221;4.16&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.16&#8243; custom_padding=&#8221;|||&#8221; global_colors_info=&#8221;{}&#8221; custom_padding__hover=&#8221;|||&#8221;][et_pb_text admin_label=&#8221;Text&#8221; _builder_version=&#8221;4.16&#8243; header_font_size=&#8221;75px&#8221; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221; text_orientation=&#8221;center&#8221; background_layout=&#8221;dark&#8221; module_alignment=&#8221;center&#8221; use_border_color=&#8221;off&#8221; border_color=&#8221;#ffffff&#8221; border_style=&#8221;solid&#8221; global_colors_info=&#8221;{}&#8221;]<\/p>\n<h1>Closer look\u00a0at the PCB&#8217;s<\/h1>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][et_pb_row admin_label=&#8221;Row&#8221; _builder_version=&#8221;4.23.1&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221; link_option_url=&#8221;https:\/\/www.ukcnc.net\/product\/pulse-train-hat\/&#8221; link_option_url_new_window=&#8221;on&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.16&#8243; custom_padding=&#8221;|||&#8221; global_colors_info=&#8221;{}&#8221; custom_padding__hover=&#8221;|||&#8221;][et_pb_pricing_tables admin_label=&#8221;Pricing Tables&#8221; _builder_version=&#8221;4.23.1&#8243; link_option_url=&#8221;https:\/\/www.ukcnc.net\/product\/pulse-train-hat\/&#8221; link_option_url_new_window=&#8221;on&#8221; use_border_color=&#8221;off&#8221; border_color=&#8221;#ffffff&#8221; border_style=&#8221;solid&#8221; remove_featured_drop_shadow=&#8221;off&#8221; button_letter_spacing_hover=&#8221;0&#8243; center_list_items=&#8221;off&#8221; global_colors_info=&#8221;{}&#8221; button_text_size__hover_enabled=&#8221;off&#8221; button_one_text_size__hover_enabled=&#8221;off&#8221; button_two_text_size__hover_enabled=&#8221;off&#8221; button_text_color__hover_enabled=&#8221;off&#8221; button_one_text_color__hover_enabled=&#8221;off&#8221; button_two_text_color__hover_enabled=&#8221;off&#8221; button_border_width__hover_enabled=&#8221;off&#8221; button_one_border_width__hover_enabled=&#8221;off&#8221; button_two_border_width__hover_enabled=&#8221;off&#8221; button_border_color__hover_enabled=&#8221;off&#8221; button_one_border_color__hover_enabled=&#8221;off&#8221; button_two_border_color__hover_enabled=&#8221;off&#8221; button_border_radius__hover_enabled=&#8221;off&#8221; button_one_border_radius__hover_enabled=&#8221;off&#8221; button_two_border_radius__hover_enabled=&#8221;off&#8221; button_letter_spacing__hover_enabled=&#8221;on&#8221; button_letter_spacing__hover=&#8221;0&#8243; button_one_letter_spacing__hover_enabled=&#8221;off&#8221; button_two_letter_spacing__hover_enabled=&#8221;off&#8221; button_bg_color__hover_enabled=&#8221;off&#8221; button_one_bg_color__hover_enabled=&#8221;off&#8221; button_two_bg_color__hover_enabled=&#8221;off&#8221;][et_pb_pricing_table featured=&#8221;on&#8221; title=&#8221;PTHAT Mainboard&#8221; currency=&#8221;\u00a3&#8221; per=&#8221;Ex VAT&#8221; sum=&#8221;55&#8243; button_url=&#8221;https:\/\/www.ukcnc.net\/product\/pulse-train-hat\/&#8221; url_new_window=&#8221;on&#8221; button_text=&#8221;Buy Now&#8221; _builder_version=&#8221;4.23.1&#8243; header_font=&#8221;||||&#8221; body_font=&#8221;||||&#8221; subheader_font=&#8221;||||&#8221; price_font=&#8221;||||&#8221; currency_frequency_font=&#8221;||||&#8221; button_icon_placement=&#8221;right&#8221; button_on_hover=&#8221;on&#8221; global_colors_info=&#8221;{}&#8221; button_text_size__hover_enabled=&#8221;off&#8221; button_one_text_size__hover_enabled=&#8221;off&#8221; button_two_text_size__hover_enabled=&#8221;off&#8221; button_text_color__hover_enabled=&#8221;off&#8221; button_one_text_color__hover_enabled=&#8221;off&#8221; button_two_text_color__hover_enabled=&#8221;off&#8221; button_border_width__hover_enabled=&#8221;off&#8221; button_one_border_width__hover_enabled=&#8221;off&#8221; button_two_border_width__hover_enabled=&#8221;off&#8221; button_border_color__hover_enabled=&#8221;off&#8221; button_one_border_color__hover_enabled=&#8221;off&#8221; button_two_border_color__hover_enabled=&#8221;off&#8221; button_border_radius__hover_enabled=&#8221;off&#8221; button_one_border_radius__hover_enabled=&#8221;off&#8221; button_two_border_radius__hover_enabled=&#8221;off&#8221; button_letter_spacing__hover_enabled=&#8221;off&#8221; button_one_letter_spacing__hover_enabled=&#8221;off&#8221; button_two_letter_spacing__hover_enabled=&#8221;off&#8221; button_bg_color__hover_enabled=&#8221;off&#8221; button_one_bg_color__hover_enabled=&#8221;off&#8221; button_two_bg_color__hover_enabled=&#8221;off&#8221; sticky_transition=&#8221;on&#8221;]<\/p>\n<p>+ Single Channel Main Board.<br \/>+ JTAG Programmer.<br \/>+ Set of Mounting Spacers and Bolts.<\/p>\n<p>[\/et_pb_pricing_table][et_pb_pricing_table featured=&#8221;on&#8221; title=&#8221;PTHAT Add on Board&#8221; currency=&#8221;\u00a3&#8221; per=&#8221;Ex VAT&#8221; sum=&#8221;45&#8243; button_url=&#8221;https:\/\/www.ukcnc.net\/product\/pulse-train-hat\/&#8221; url_new_window=&#8221;on&#8221; button_text=&#8221;Buy Now&#8221; _builder_version=&#8221;4.23.1&#8243; header_font=&#8221;||||&#8221; body_font=&#8221;||||&#8221; subheader_font=&#8221;||||&#8221; price_font=&#8221;||||&#8221; currency_frequency_font=&#8221;||||&#8221; button_icon_placement=&#8221;right&#8221; button_on_hover=&#8221;on&#8221; global_colors_info=&#8221;{}&#8221; button_text_size__hover_enabled=&#8221;off&#8221; button_one_text_size__hover_enabled=&#8221;off&#8221; button_two_text_size__hover_enabled=&#8221;off&#8221; button_text_color__hover_enabled=&#8221;off&#8221; button_one_text_color__hover_enabled=&#8221;off&#8221; button_two_text_color__hover_enabled=&#8221;off&#8221; button_border_width__hover_enabled=&#8221;off&#8221; button_one_border_width__hover_enabled=&#8221;off&#8221; button_two_border_width__hover_enabled=&#8221;off&#8221; button_border_color__hover_enabled=&#8221;off&#8221; button_one_border_color__hover_enabled=&#8221;off&#8221; button_two_border_color__hover_enabled=&#8221;off&#8221; button_border_radius__hover_enabled=&#8221;off&#8221; button_one_border_radius__hover_enabled=&#8221;off&#8221; button_two_border_radius__hover_enabled=&#8221;off&#8221; button_letter_spacing__hover_enabled=&#8221;off&#8221; button_one_letter_spacing__hover_enabled=&#8221;off&#8221; button_two_letter_spacing__hover_enabled=&#8221;off&#8221; button_bg_color__hover_enabled=&#8221;off&#8221; button_one_bg_color__hover_enabled=&#8221;off&#8221; button_two_bg_color__hover_enabled=&#8221;off&#8221; sticky_transition=&#8221;on&#8221;]<\/p>\n<p>+Expansion Add on Board.<br \/>+Increases the PTHAT to 4 channels.<br \/>+Extra I\/O Functionality.<br \/>+Set of Mounting Spacers.<\/p>\n<p>[\/et_pb_pricing_table][et_pb_pricing_table featured=&#8221;on&#8221; title=&#8221;PTHAT Full Package&#8221; currency=&#8221;\u00a3&#8221; per=&#8221;Ex VAT&#8221; sum=&#8221;90&#8243; button_url=&#8221;https:\/\/www.ukcnc.net\/product\/pulse-train-hat\/&#8221; url_new_window=&#8221;on&#8221; button_text=&#8221;Buy Now&#8221; _builder_version=&#8221;4.23.1&#8243; header_font=&#8221;||||&#8221; body_font=&#8221;||||&#8221; subheader_font=&#8221;||||&#8221; price_font=&#8221;||||&#8221; currency_frequency_font=&#8221;||||&#8221; button_icon_placement=&#8221;right&#8221; button_on_hover=&#8221;on&#8221; global_colors_info=&#8221;{}&#8221; button_text_size__hover_enabled=&#8221;off&#8221; button_one_text_size__hover_enabled=&#8221;off&#8221; button_two_text_size__hover_enabled=&#8221;off&#8221; button_text_color__hover_enabled=&#8221;off&#8221; button_one_text_color__hover_enabled=&#8221;off&#8221; button_two_text_color__hover_enabled=&#8221;off&#8221; button_border_width__hover_enabled=&#8221;off&#8221; button_one_border_width__hover_enabled=&#8221;off&#8221; button_two_border_width__hover_enabled=&#8221;off&#8221; button_border_color__hover_enabled=&#8221;off&#8221; button_one_border_color__hover_enabled=&#8221;off&#8221; button_two_border_color__hover_enabled=&#8221;off&#8221; button_border_radius__hover_enabled=&#8221;off&#8221; button_one_border_radius__hover_enabled=&#8221;off&#8221; button_two_border_radius__hover_enabled=&#8221;off&#8221; button_letter_spacing__hover_enabled=&#8221;off&#8221; button_one_letter_spacing__hover_enabled=&#8221;off&#8221; button_two_letter_spacing__hover_enabled=&#8221;off&#8221; button_bg_color__hover_enabled=&#8221;off&#8221; button_one_bg_color__hover_enabled=&#8221;off&#8221; button_two_bg_color__hover_enabled=&#8221;off&#8221; sticky_transition=&#8221;on&#8221;]<\/p>\n<p>+Single Channel Main Board.<br \/>+Expansion Add on Board.<br \/>+Increases the PTHAT to 4 channels.<br \/>+Extra I\/O Functionality.<br \/>+JTAG Programmer.<br \/>+Set of Mounting Spacers and Bolts.<br \/>+Save \u00a310 with this Package<\/p>\n<p>[\/et_pb_pricing_table][\/et_pb_pricing_tables][\/et_pb_column][\/et_pb_row][\/et_pb_section]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Upgrading Firmware Details on upgrading firmware. Firmware Version 5.4 released 13th\u00a0September 2018. http:\/\/www.pthat.com\/PTHAT-Firmware-5-4.zip Fixed E-Axis Auto Change Direction. Thanks to Bill for reporting this bug. Firmware Version 5.3 released 20th\u00a0July 2018. http:\/\/www.pthat.com\/PTHAT-Firmware-5-3.zip Many new features in this release and some changes. PWM Channels: New in this release we have enabled two dedicated channels for Pulse [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":65,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_et_pb_use_builder":"on","_et_pb_old_content":"<p><strong><span style=\"font-size: 18pt;\">Details on upgrading firmware and development.<\/span><\/strong><\/p><p><span style=\"font-size: 14pt;\">We will be supplying a simple JTAG programmer that will allow everyone who purchased a PTHAT to upgrade new any new version of the firmware that gets released.<\/span><\/p><p><span style=\"font-size: 14pt;\">It will also allow other developers who would like more control over the hardware to program their own code for the ARM STM32F411 processor that is used on the PTHAT. We will be releasing information of the pins used on the processor in the future to make life easier.<\/span><\/p><p>\u00a0<\/p><p><strong><span style=\"font-size: 18pt;\">How to upgrade the firmware.<\/span><\/strong><\/p><p><span style=\"font-size: 14pt;\">Programming the PTHAT with the latest firmware is very simple.<\/span><\/p><p><span style=\"font-size: 14pt;\">1.) The PTHAT can be upgraded without it connected to the Raspberry PI. Connect the ribbon cable as shown in the picture below.<\/span><\/p><p><span style=\"font-size: 14pt;\">2.) Download and install the STM32 Link Utility software.<\/span><\/p><p>\u00a0<\/p>","_et_gb_content_width":"","footnotes":""},"class_list":["post-345","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/pthat.com\/index.php\/wp-json\/wp\/v2\/pages\/345","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pthat.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/pthat.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/pthat.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pthat.com\/index.php\/wp-json\/wp\/v2\/comments?post=345"}],"version-history":[{"count":71,"href":"https:\/\/pthat.com\/index.php\/wp-json\/wp\/v2\/pages\/345\/revisions"}],"predecessor-version":[{"id":5098,"href":"https:\/\/pthat.com\/index.php\/wp-json\/wp\/v2\/pages\/345\/revisions\/5098"}],"wp:attachment":[{"href":"https:\/\/pthat.com\/index.php\/wp-json\/wp\/v2\/media?parent=345"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}