{"id":6957,"date":"2025-04-01T10:51:27","date_gmt":"2025-04-01T06:51:27","guid":{"rendered":"https:\/\/gameforstreet.ru\/?p=6496"},"modified":"2025-04-01T10:51:27","modified_gmt":"2025-04-01T06:51:27","slug":"programmatorjdm-pic18fx5k20","status":"publish","type":"post","link":"https:\/\/xn--c1aaoofgb.xn--p1acf\/?p=6957","title":{"rendered":"\u0421\u0432\u0435\u0442\u0438\u043c \u0438 \u043c\u0438\u0433\u0430\u0435\u043c \u0441\u0432\u0435\u0442\u043e\u0434\u0438\u043e\u0434\u043e\u043c \u043d\u0430 pic18f25k20 (\u043f\u043e\u0434\u043e\u0439\u0434\u0451\u0442 \u0434\u043b\u044f pic18fx5k20) 3\u0412"},"content":{"rendered":"<p>\u041c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440 pic18f25k20 &#8211; <strong>\u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043e\u0442 3 \u0412<\/strong> (1.8-3.6 \u0412), \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043d\u0430 \u0441\u0432\u043e\u0439 \u0441\u0430\u043c\u043e\u0434\u0435\u043b\u044c\u043d\u044b\u0439 JDM \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430\u0442\u043e\u0440 \u043d\u0430 \u0432\u0445\u043e\u0434 \u043f\u0438\u0442\u0430\u043d\u0438\u044f \u043a pic18f25k20 <strong>\u043f\u043e\u0441\u0442\u0430\u0432\u0438\u043b \u0441\u0442\u0430\u0431\u0438\u043b\u0438\u0442\u0440\u043e\u043d \u043d\u0430 3 \u0412.<\/strong><br \/>\n\u041f\u0440\u043e\u0448\u0438\u0432\u0430\u0435\u043c \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440 pic18fx5k20 \u0441\u0430\u043c\u043e\u0434\u0435\u043b\u044c\u043d\u044b\u043c JDM \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430\u0442\u043e\u0440\u043e\u043c (\u201cgameforstreet.ru\/pic-jdm-prostejshij-programmator-dlya-pic-mk\/\u201d) \u0438 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043e\u0439 winpicpgm_v1570 (\u0441\u043a\u0430\u0447\u0430\u0442\u044c \u043c\u043e\u0436\u043d\u043e \u0437\u0434\u0435\u0441\u044c gameforstreet.ru\/proshivaem-pic-v-linux\/&#8221;) \u043d\u0430 Linux \u0438 Windows.<br \/>\n\u041f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0431\u0443\u0434\u0435\u043c \u043d\u0430 \u0421 \u0432 MPLAB X IDE \u043d\u0430 Linux.<br \/>\n<!--more--><\/p>\n<p>\u0421\u0445\u0435\u043c\u0430 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430\u0442\u043e\u0440\u0430 \u0434\u043b\u044f \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u0438 \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u043e\u0432 \u043d\u0430 3 \u0412:<\/p>\n<p><a href=\"https:\/\/gameforstreet.ru\/wp-content\/uploads\/2025\/04\/programmator18f25k20.png\"><img loading=\"lazy\" src=\"https:\/\/gameforstreet.ru\/wp-content\/uploads\/2025\/04\/programmator18f25k20-1024x475.png\" alt=\"\" width=\"625\" height=\"290\" class=\"alignnone size-large wp-image-6507\" \/><\/a><\/p>\n<p>\u041a\u0430\u043a \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c MPLAB X IDE 5.35 \u043d\u0430 Linux Rosa Fresh R12:<br \/>\n&#8220;rutube.ru\/video\/3a48602b8d5ca8e23c0bcd4c483c52ed\/&#8221;<br \/>\n&#8220;web.archive.org\/web\/20200724202813\/https:\/\/www.microchip.com\/development-tools\/pic-and-dspic-downloads-archive&#8221;<br \/>\n@xc8-v2.05@<br \/>\n&#8220;disk.yandex.ru\/d\/A_HAnG7ksiG80w&#8221;<br \/>\n@xc8-v2.10@<br \/>\n&#8220;disk.yandex.ru\/d\/Yw4YFmq-lr9XRw&#8221;<br \/>\n@mplab5.35@<br \/>\n&#8220;disk.yandex.ru\/d\/dI3Z36N89NjfEA&#8221;<\/p>\n<p><iframe width=\"720\" height=\"405\" src=\"https:\/\/rutube.ru\/play\/embed\/3a48602b8d5ca8e23c0bcd4c483c52ed\/\" frameBorder=\"0\" allow=\"clipboard-write; autoplay\" webkitAllowFullScreen mozallowfullscreen allowFullScreen><\/iframe><\/p>\n<p>\u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u0441\u043d\u0430\u0447\u0430\u043b\u0430 \u043f\u0440\u043e\u0441\u0442\u043e \u0437\u0430\u0436\u0436\u0451\u043c \u0441\u0432\u0435\u0442\u043e\u0434\u0438\u043e\u0434\u044b \u043d\u0430 pic18f25k20 \u043a\u043e\u0434 \u043d\u0430 \u0421 \u0431\u0443\u0434\u0435\u0442 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 (\u0441\u0432\u0435\u0442\u043e\u0434\u0438\u043e\u0434\u044b \u0431\u0443\u0434\u0443\u0442 \u0433\u043e\u0440\u0435\u0442\u044c \u043d\u0430 \u043d\u043e\u0436\u043a\u0430\u0445 RC0,RC1,RC2,RC3,RC4,RC5 &#8211; \u0442\u0430\u043a \u043a\u0430\u043a PORTC = 0b00111111):<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\n#include &lt;xc.h&gt;\n\/* \n* CONFIG1H @ 0x300001 \n* \n* Internal oscillator with I\/O function on RA6 &amp; RA7 \n*\/ \n#pragma config FOSC = INTIO67 \n\/* \n* CONFIG2L @ 0x300002 \n* \n* Brown Out Reset disabled \n* Power Up Timer enabled \n*\/ \n#pragma config BOREN = OFF, PWRT = ON \n\/* \n* CONFIG2H @ 0x300003 \n* \n* Watchdog Timer disabled \n*\/ \n#pragma config WDTEN = OFF\n\/* \n* CONFIG4L @ 0x300006\n* \n* Low Voltage Programming disabled \n* Reset on stack over\/underflow disabled \n*\/ \n#pragma config LVP = OFF, STVREN = OFF \n#define _XTAL_FREQ 16000000 \nvoid main(void) \n{ \n     OSCCON = 0b01110000; \/\/16MHz Fosc \n     PORTC = 0b00111111; \/\/PORTC RC0-RC5 led on\n     TRISC = TRISC &amp; 0b11000000; \/\/RC0 output drivers enabled \n}\n<\/pre>\n<p>\u0421\u043a\u0430\u0447\u0430\u0442\u044c \u0444\u0430\u0439\u043b\u044b hex \u0438 \u0441 &#8211; \u0437\u0430\u0436\u0438\u0433\u0430\u0435\u043c \u0441\u0432\u0435\u0442\u043e\u0434\u0438\u043e\u0434\u044b \u043d\u0430 \u043d\u043e\u0436\u043a\u0430\u0445 RC0-RC5:<br \/>\n<a href=\"https:\/\/gameforstreet.ru\/wp-content\/uploads\/2025\/04\/pic18f25k20-3.tar.gz\" rel=\"noopener noreferrer\" target=\"_blank\">&#8211; \u0441\u043a\u0430\u0447\u0430\u0442\u044c \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 tar.gz<\/a><br \/>\n<a href=\"https:\/\/gameforstreet.ru\/wp-content\/uploads\/2025\/04\/pic18f25k20-3.zip\" rel=\"noopener noreferrer\" target=\"_blank\">&#8211; \u0441\u043a\u0430\u0447\u0430\u0442\u044c \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 zip<\/a><\/p>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u0434\u0430\u0432\u0430\u0439\u0442\u0435 \u0437\u0430\u0441\u0442\u0430\u0432\u0438\u043c \u0441\u0432\u0435\u0442\u043e\u0434\u0438\u043e\u0434 \u043c\u0438\u0433\u0430\u0442\u044c.<br \/>\n\u041a\u043e\u0434 \u0434\u043b\u044f \u043c\u0438\u0433\u0430\u043d\u0438\u044f \u0441\u0432\u0435\u0442\u043e\u0434\u0438\u043e\u0434\u0430 \u043d\u0430 \u043d\u043e\u0436\u043a\u0435 RC0 \u043d\u0430 \u0421:<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\n#include &lt;xc.h&gt;\n\/* \n* CONFIG1H @ 0x300001 \n* \n* Internal oscillator with I\/O function on RA6 &amp; RA7 \n*\/ \n#pragma config FOSC = INTIO67 \n\/* \n* CONFIG2L @ 0x300002 \n* \n* Brown Out Reset disabled \n* Power Up Timer enabled \n*\/ \n#pragma config BOREN = OFF, PWRT = ON \n\/* \n* CONFIG2H @ 0x300003 \n* \n* Watchdog Timer disabled \n*\/ \n#pragma config WDTEN = OFF\n\/* \n* CONFIG4L @ 0x300006\n* \n* Low Voltage Programming disabled \n* Reset on stack over\/underflow disabled \n*\/ \n#pragma config LVP = OFF, STVREN = OFF \n\n#define _XTAL_FREQ 16000000 \nvoid main(void) \n{ \n     OSCCON = 0b01110000; \/\/16MHz Fosc \n     PORTC = 0x00; \/\/clear PORTC latch \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0435\u0449\u0451 \u0442\u0430\u043a PORTC = 0b00000000;\n     TRISC = TRISC &amp; 0b11111110; \/\/RC0 output drivers enabled \n\nwhile(1) \n{ \nPORTC = PORTC ^ 0b00000001; \/\/toggle LED \n\/* \n* 1\/2 second flash rate \n*\/ \n\nfor(char i = 0; i &lt; 10; i++)\n { \n__delay_ms(49); \n} \n} \n}\n<\/pre>\n<p>\u0417\u0434\u0435\u0441\u044c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 OSCCON = 0b01110000 \u043e\u0442\u0432\u0435\u0447\u0430\u0435\u0442 \u0437\u0430 \u0447\u0430\u0441\u0442\u043e\u0442\u0443 \u043c\u0438\u0433\u0430\u043d\u0438\u044f, \u0432 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438 (\u0434\u0430\u0442\u0430\u0448\u0438\u0442) \u043a pic18f25k20 \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435 28 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043a\u0430\u043a \u043c\u043e\u0436\u043d\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0440\u0430\u0437\u043d\u0443\u044e \u0447\u0430\u0441\u0442\u043e\u0442\u0443 \u0440\u0430\u0431\u043e\u0442\u044b \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0435\u0433\u043e \u0433\u0435\u043d\u0435\u0440\u0430\u0442\u043e\u0440\u0430, \u0442\u0430\u043a:<br \/>\nOSCCON = 0b01110000; &#8211; 16 \u041c\u0413\u0446<br \/>\nOSCCON = 0b01100000; &#8211; 8 \u041c\u0413\u0446<br \/>\nOSCCON = 0b01000000; &#8211; 2 \u041c\u0413\u0446<br \/>\nOSCCON = 0b00110000; &#8211; 1 \u041c\u0413\u0446<br \/>\nOSCCON = 0b00100000; &#8211; 500 \u043a\u0413\u0446<br \/>\nOSCCON = 0b00010000; &#8211; 250 \u043a\u0413\u0446<br \/>\nOSCCON = 0b00000000; &#8211; 31 \u043a\u0413\u0446 (\u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0435\u0441\u043b\u0438 \u043d\u0435 \u043f\u0440\u043e\u043f\u0438\u0441\u0430\u0442\u044c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 OSCCON \u0432 main, \u0442\u043e \u0447\u0430\u0441\u0442\u043e\u0442\u0430 \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0430 \u0431\u0443\u0434\u0435\u0442 &#8211; 31 \u043a\u0413\u0446)<\/p>\n<p>\u0421\u043a\u0430\u0447\u0430\u0442\u044c \u0444\u0430\u0439\u043b\u044b hex \u0438 \u0441 &#8211; \u043c\u0438\u0433\u0430\u0435\u043c \u0441\u0432\u0435\u0442\u043e\u0434\u0438\u043e\u0434\u043e\u043c \u043d\u0430 \u043d\u043e\u0436\u043a\u0435 RC0 \u043d\u0430 pic18f25k20:<br \/>\n<a href=\"https:\/\/gameforstreet.ru\/wp-content\/uploads\/2025\/04\/pic18f25k20-1.tar.gz\" rel=\"noopener noreferrer\" target=\"_blank\">&#8211; \u0441\u043a\u0430\u0447\u0430\u0442\u044c \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 tar.gz<\/a><br \/>\n<a href=\"https:\/\/gameforstreet.ru\/wp-content\/uploads\/2025\/04\/pic18f25k20-1.zip\" rel=\"noopener noreferrer\" target=\"_blank\">&#8211; \u0441\u043a\u0430\u0447\u0430\u0442\u044c \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 zip<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u041c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440 pic18f25k20 &#8211; \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043e\u0442 3 \u0412 (1.8-3.6 \u0412), \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043d\u0430 \u0441\u0432\u043e\u0439 \u0441\u0430\u043c\u043e\u0434\u0435\u043b\u044c\u043d\u044b\u0439 JDM \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430\u0442\u043e\u0440 \u043d\u0430 \u0432\u0445\u043e\u0434 \u043f\u0438\u0442\u0430\u043d\u0438\u044f \u043a pic18f25k20 \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u043b \u0441\u0442\u0430\u0431\u0438\u043b\u0438\u0442\u0440\u043e\u043d \u043d\u0430 3 \u0412. \u041f\u0440\u043e\u0448\u0438\u0432\u0430\u0435\u043c \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440 pic18fx5k20 \u0441\u0430\u043c\u043e\u0434\u0435\u043b\u044c\u043d\u044b\u043c JDM \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430\u0442\u043e\u0440\u043e\u043c (\u201cgameforstreet.ru\/pic-jdm-prostejshij-programmator-dlya-pic-mk\/\u201d) \u0438 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043e\u0439 winpicpgm_v1570 (\u0441\u043a\u0430\u0447\u0430\u0442\u044c \u043c\u043e\u0436\u043d\u043e \u0437\u0434\u0435\u0441\u044c gameforstreet.ru\/proshivaem-pic-v-linux\/&#8221;) \u043d\u0430 Linux \u0438 Windows. \u041f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0431\u0443\u0434\u0435\u043c \u043d\u0430 \u0421 \u0432 MPLAB X IDE \u043d\u0430 Linux.<\/p>\n","protected":false},"author":2,"featured_media":6507,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[39,103],"tags":[],"_links":{"self":[{"href":"https:\/\/xn--c1aaoofgb.xn--p1acf\/index.php?rest_route=\/wp\/v2\/posts\/6957"}],"collection":[{"href":"https:\/\/xn--c1aaoofgb.xn--p1acf\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/xn--c1aaoofgb.xn--p1acf\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/xn--c1aaoofgb.xn--p1acf\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/xn--c1aaoofgb.xn--p1acf\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6957"}],"version-history":[{"count":0,"href":"https:\/\/xn--c1aaoofgb.xn--p1acf\/index.php?rest_route=\/wp\/v2\/posts\/6957\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/xn--c1aaoofgb.xn--p1acf\/index.php?rest_route=\/wp\/v2\/media\/6507"}],"wp:attachment":[{"href":"https:\/\/xn--c1aaoofgb.xn--p1acf\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6957"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/xn--c1aaoofgb.xn--p1acf\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6957"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/xn--c1aaoofgb.xn--p1acf\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6957"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}