{"action":"created","issue":{"url":"https://api.github.com/repos/luc-github/Repetier-Firmware-0.92/issues/287","repository_url":"https://api.github.com/repos/luc-github/Repetier-Firmware-0.92","labels_url":"https://api.github.com/repos/luc-github/Repetier-Firmware-0.92/issues/287/labels{/name}","comments_url":"https://api.github.com/repos/luc-github/Repetier-Firmware-0.92/issues/287/comments","events_url":"https://api.github.com/repos/luc-github/Repetier-Firmware-0.92/issues/287/events","html_url":"https://github.com/luc-github/Repetier-Firmware-0.92/issues/287","id":295753164,"number":287,"title":"Jr Port Assistance","user":{"login":"OrangeFlare","id":19276377,"avatar_url":"https://avatars0.githubusercontent.com/u/19276377?v=4","gravatar_id":"","url":"https://api.github.com/users/OrangeFlare","html_url":"https://github.com/OrangeFlare","followers_url":"https://api.github.com/users/OrangeFlare/followers","following_url":"https://api.github.com/users/OrangeFlare/following{/other_user}","gists_url":"https://api.github.com/users/OrangeFlare/gists{/gist_id}","starred_url":"https://api.github.com/users/OrangeFlare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OrangeFlare/subscriptions","organizations_url":"https://api.github.com/users/OrangeFlare/orgs","repos_url":"https://api.github.com/users/OrangeFlare/repos","events_url":"https://api.github.com/users/OrangeFlare/events{/privacy}","received_events_url":"https://api.github.com/users/OrangeFlare/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-09T04:42:27Z","updated_at":"2018-02-09T10:19:44Z","closed_at":null,"author_association":"NONE","body":"I can try and assist anyone with information from my printer as long as nothing get's bricked to try and get a Jr. Port going if anyone wants\r\n\r\nDaVinci Jr 1.0 Pro\r\nIt's running the ATMEL ATSAM4E8E"},"comment":{"url":"https://api.github.com/repos/luc-github/Repetier-Firmware-0.92/issues/comments/364393910","html_url":"https://github.com/luc-github/Repetier-Firmware-0.92/issues/287#issuecomment-364393910","issue_url":"https://api.github.com/repos/luc-github/Repetier-Firmware-0.92/issues/287","id":364393910,"user":{"login":"luc-github","id":8822552,"avatar_url":"https://avatars1.githubusercontent.com/u/8822552?v=4","gravatar_id":"","url":"https://api.github.com/users/luc-github","html_url":"https://github.com/luc-github","followers_url":"https://api.github.com/users/luc-github/followers","following_url":"https://api.github.com/users/luc-github/following{/other_user}","gists_url":"https://api.github.com/users/luc-github/gists{/gist_id}","starred_url":"https://api.github.com/users/luc-github/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luc-github/subscriptions","organizations_url":"https://api.github.com/users/luc-github/orgs","repos_url":"https://api.github.com/users/luc-github/repos","events_url":"https://api.github.com/users/luc-github/events{/privacy}","received_events_url":"https://api.github.com/users/luc-github/received_events","type":"User","site_admin":false},"created_at":"2018-02-09T10:19:44Z","updated_at":"2018-02-09T10:19:44Z","author_association":"OWNER","body":"Here current status:\r\nJunior Pinout is almost known now (not idea what the Pro and Jr Pro use in addition of these pins) : \r\nBased on people and I shared : \r\nhttp://www.soliforum.com/topic/13769/davinci-jr-repetier-port\r\n\r\n```\r\nLCD (J6 LCM):\r\nCon_Pin | MCU_Pin | MCU_SYM\r\n1          | +5V        | N/A\r\n2          | GND        | N/A\r\n3          | 111         | PC18\r\n4          | 82           | PC8\r\n5          | U1_Pin1   | N/A\r\n6          | 11           | PC0\r\n7          | 38           | PC1\r\n8          | 39           | PC2\r\n9          | 40           | PC3\r\n10        | 41           | PC4\r\n11        | 58           | PC5\r\n12        | 54           | PC6\r\n13        | 48           | PC7\r\n14        | 90           | PC10\r\n15        | 34           | VDDCORE\r\n16        | 32           | PA21/PGMD9\r\n17        | 31           | PB3\r\n18        | 28           | PE5\r\n19        | 27           | PE4\r\n20        | 25           | PA17/PGMD5\r\n21        | GND        | N/A\r\n22        | +5v         | N/A\r\n\r\nSD1:\r\nCon_Pin | MCU_Pin | MCU_SYM\r\n1           | N/C        | N/A\r\n2           | GND       | N/A\r\n3           | 118        | PA31 / MCDA1\r\n4           | GND       | N/A\r\n5           | 116        | PA30 / MCDA0\r\n6           | GND       | N/A\r\n7           | 129        | PA29 / MCCK\r\n8           | +3.3V     | N/A\r\n9           | +3.3V     | N/A\r\n10         | 59          | PA25 / PGMD13 / CTS1\r\n11         | GND       | N/A\r\n12         | 112        | PA28 / MCCDA\r\n13         | GND       | N/A\r\n14         | 70          | PA27 / PGMD15 / MCDA3\r\n15         | GND       | N/A\r\n16         | 62          | PA28 / PGMD14 / MCDA2\r\n\r\n\r\nhere the pinout Allen anb I found and validated :\r\nPin     Type    MCU    Pin Descriptor    PIO type    Function                                \r\n106    MASK         PIO_PA5C_URXD1|PIO_PA6C_UTXD1    N/A                                    \r\n105    MASK         PIO_PA9A_URXD0|PIO_PA10A_UTXD0    N/A                                    \r\n104    MASK         PIO_PA3A_TWD0|PIO_PA4A_TWCK0    N/A                                    \r\n103    MASK         PIO_PA28C_MCCDA | PIO_PA30C_MCDA0 | PIO_PA31C_MCDA1 | PIO_PA26C_MCDA2 | PIO_PA27C_MCDA3    N/A                                    \r\n102    Pin    129     PIO_PA29C_MCCK     PIO_PERIPH_C                                    \r\n101    Pin    28     PIO_PE5     PIO_OUTPUT_0    Up Key                                \r\n100    Pin    27     PIO_PE4     PIO_OUTPUT_0    Right Key                        MCU    Descriptor    \r\n99    Pin    10     PIO_PE3     PIO_INPUT                            62    PA26    \r\n98    Pin    7     PIO_PE2     PIO_INPUT                            70    PA27    \r\n97    Pin    6     PIO_PE1     PIO_INPUT                            79    PB6    \r\n96    Pin    4     PIO_PE0     PIO_INPUT                            89    PB7    \r\n95    Pin    2     PIO_PD31     PIO_INPUT                            87    PB12    Erase \r\n94    Pin    34     PIO_PD30     PIO_OUTPUT_0    Home Key                        105    PB4    \r\n93    Pin    108     PIO_PD29     PIO_INPUT                            109    PB5    \r\n92    Pin    71     PIO_PD28     PIO_OUTPUT_0                            112    PA28    \r\n91    Pin    47     PIO_PD27     PIO_OUTPUT_0                            116    PA30    \r\n90    Pin    53     PIO_PD26     PIO_OUTPUT_0                            118    PA31    \r\n89    Pin    52     PIO_PD25     PIO_OUTPUT_0                            136    PB10    \r\n88    Pin    54     PIO_PD24     PIO_OUTPUT_0                            137    PB11    \r\n87    Pin    57     PIO_PD23     PIO_OUTPUT_0    Inside LED on/Off                        141    PB8    \r\n86    Pin    60     PIO_PD22     PIO_OUTPUT_0                            142    PB9    \r\n85    Pin    63     PIO_PD21     PIO_OUTPUT_0                                    \r\n84    Pin    65     PIO_PD20     PIO_OUTPUT_0                                    \r\n83    Pin    67     PIO_PD19     PIO_OUTPUT_0                                    \r\n82    Pin    69     PIO_PD18     PIO_OUTPUT_0                                    \r\n81    Pin    74     PIO_PD17     PIO_OUTPUT_0                                    \r\n80    Pin    78     PIO_PD16     PIO_OUTPUT_0    Extruder Enable                                \r\n79    Pin    106     PIO_PD15     PIO_OUTPUT_0                                    \r\n78    Pin    84     PIO_PD14     PIO_OUTPUT_0                                    \r\n77    Pin    88     PIO_PD13     PIO_OUTPUT_0                                    \r\n76    Pin    92     PIO_PD12     PIO_OUTPUT_0                                    \r\n75    Pin    98     PIO_PD11     PIO_OUTPUT_0                                    \r\n74    Pin    101     PIO_PD10     PIO_INPUT                                    \r\n73    Pin    110     PIO_PD9     PIO_OUTPUT_0    Y end stop                                \r\n72    Pin    113     PIO_PD8     PIO_OUTPUT_0    X end stop                                \r\n71    Pin    119     PIO_PD7     PIO_OUTPUT_0                                    \r\n70    Pin    121     PIO_PD6     PIO_OUTPUT_0    Enable Z                                \r\n69    Pin    125     PIO_PD5     PIO_OUTPUT_0    Enable Y                                \r\n68    Pin    126     PIO_PD4     PIO_OUTPUT_0                                    \r\n67    Pin    128     PIO_PD3     PIO_OUTPUT_0    Enable X                                \r\n66    Pin    131     PIO_PD2     PIO_OUTPUT_0                                    \r\n65    Pin    132     PIO_PD1     PIO_OUTPUT_0                                    \r\n64    Pin    1     PIO_PD0     PIO_OUTPUT_0                                    \r\n63    Pin    14     PIO_PC31X1_AFE0_AD11     PIO_INPUT       ADC11                                \r\n62    Pin    15     PIO_PC30X1_AFE0_AD10     PIO_INPUT       ADC10                                \r\n61    Pin    16     PIO_PC29X1_AFE0_AD9     PIO_INPUT       ADC9                                \r\n60    Pin    76     PIO_PC28     PIO_OUTPUT_0                                    \r\n59    Pin    12     PIO_PC27X1_AFE0_AD13     PIO_INPUT       ADC13                                \r\n58    Pin    13     PIO_PC26B_TIOA4     PIO_PERIPH_B                                    \r\n57    Pin    133     PIO_PC25     PIO_OUTPUT_0                                    \r\n56    Pin    130     PIO_PC24     PIO_INPUT                                    \r\n55    Pin    127     PIO_PC23B_TIOA3     PIO_PERIPH_B                                    \r\n54    Pin    124     PIO_PC22     PIO_OUTPUT_0                                    \r\n53    Pin    122     PIO_PC21     PIO_INPUT                                    \r\n52    Pin    120     PIO_PC20     PIO_OUTPUT_0                                    \r\n51    Pin    117     PIO_PC19     PIO_OUTPUT_0    Z end stop                                \r\n50    Pin    111     PIO_PC18     PIO_OUTPUT_0    LCD ???                                \r\n49    Pin    103     PIO_PC17     PIO_OUTPUT_0                                    \r\n48    Pin    100     PIO_PC16     PIO_INPUT                                    \r\n47    Pin    18     PIO_PC15X1_AFE0_AD7     PIO_INPUT       ADC7                                \r\n46    Pin    97     PIO_PC14     PIO_OUTPUT_0                                    \r\n45    Pin    19     PIO_PC13X1_AFE0_AD6     PIO_INPUT       ADC6                                \r\n44    Pin    17     PIO_PC12X1_AFE0_AD8     PIO_INPUT       ADC8                                \r\n43    Pin    94     PIO_PC11B_TIOA8     PIO_PERIPH_B                                    \r\n42    Pin    90     PIO_PC10     PIO_OUTPUT_0    LCD light On/Off                                \r\n41    Pin    86     PIO_PC9     PIO_OUTPUT_0                                    \r\n40    Pin    82     PIO_PC8B_TIOA7     PIO_PERIPH_B                                    \r\n39    Pin    48     PIO_PC7     PIO_OUTPUT_0                                    \r\n38    Pin    54     PIO_PC6     PIO_OUTPUT_0                                    \r\n37    Pin    58     PIO_PC5B_TIOA6     PIO_PERIPH_B    LCD???                                \r\n36    Pin    41     PIO_PC4X1_AFE1_AD7     PIO_INPUT       ADC23                                \r\n35    Pin    40     PIO_PC3B_PWML3     PIO_PERIPH_B     PWM_CH3                                \r\n34    Pin    39     PIO_PC2     PIO_OUTPUT_0                                    \r\n33    Pin    38     PIO_PC1X1_AFE1_AD4     PIO_INPUT       ADC20/LCD ???                                \r\n32    Pin    11     PIO_PC0     PIO_INPUT       ADC14                                \r\n31    Pin    140     PIO_PB14X1_DAC1     PIO_OUTPUT_0       DA1                                \r\n30    Pin    144     PIO_PB13C_SCK0     PIO_PERIPH_C                                    \r\n29    Pin    31     PIO_PB3X1_AFE1_AD1     PIO_INPUT    Left Key                                \r\n28    Pin    26     PIO_PB2     PIO_OUTPUT_0                                    \r\n27    Pin    20     PIO_PB1C_TXD0     PIO_PERIPH_C                                    \r\n26    Pin    21     PIO_PB0C_RXD0     PIO_PERIPH_C                                    \r\n25    Pin    59     PIO_PA25     PIO_OUTPUT_0                                    \r\n24    Pin    56     PIO_PA24     PIO_OUTPUT_0                                    \r\n23    Pin    46     PIO_PA23A_SCK1     PIO_PERIPH_A                                    \r\n22    Pin    37     PIO_PA22A_TXD1     PIO_PERIPH_A                                    \r\n21    Pin    32     PIO_PA21A_RXD1     PIO_PERIPH_A    Down Key                                \r\n20    Pin    22     PIO_PA20B_PWML1     PIO_PERIPH_B     PWM_CH1                                \r\n19    Pin    23     PIO_PA19B_PWML0     PIO_PERIPH_B     PWM_CH0                                \r\n18    Pin    24     PIO_PA18X1_AFE0_AD1     PIO_INPUT       ADC1                                \r\n17    Pin    25     PIO_PA17X1_AFE0_AD0     PIO_INPUT    Ok Key                                \r\n16    Pin    45     PIO_PA16C_PWML2     PIO_PERIPH_C     PWM_CH2                                \r\n15    Pin    49     PIO_PA15B_TIOA1     PIO_PERIPH_B                                    \r\n14    Pin    51     PIO_PA14A_SPCK     PIO_PERIPH_A                                    \r\n13    Pin    42     PIO_PA13A_MOSI     PIO_PERIPH_A                                    \r\n12    Pin    68     PIO_PA12A_MISO     PIO_PERIPH_A                                    \r\n11    Pin    64     PIO_PA11A_NPCS0     PIO_PERIPH_A                                    \r\n10    USB    66     PIO_PA10A_UTXD0     PIO_PERIPH_A     // UTXD0 USB Din                                \r\n9    USB    75     PIO_PA9A_URXD0     PIO_PERIPH_A     // URXD0 USB Dout                                \r\n8    Pin    36     PIO_PA8     PIO_OUTPUT_0                                    \r\n7    Pin    35     PIO_PA7     PIO_OUTPUT_0                                    \r\n6    Pin    114     PIO_PA6C_UTXD1     PIO_PERIPH_C                                    \r\n5    Pin    73     PIO_PA5C_URXD1     PIO_PERIPH_C                                    \r\n4    Pin    77     PIO_PA4A_TWCK0     PIO_PERIPH_A                                    \r\n3    Pin    91     PIO_PA3A_TWD0     PIO_PERIPH_A                                    \r\n2    Pin    93     PIO_PA2     PIO_OUTPUT_0                                    \r\n1    Pin    99     PIO_PA1     PIO_OUTPUT_0                                    \r\n0    Pin    102     PIO_PA0B_TIOA0     PIO_PERIPH_B                                   \r\n\r\nand this is what Allen found : \r\nZ motor\r\nenable pin 2 sam 121\r\nclkin pin 3 sam 120\r\ncw/ccw pin 44 sam 119\r\nY motor\r\nenable pin 2 sam 124\r\nclkin pin 3 sam 125\r\ncw/ccw pin 44 sam 7\r\nx motor\r\nenable pin 2 sam 127\r\nenable pin 3 sam 128\r\ncw/ccw pin 44 sam 126\r\nE1 motor\r\nenable pin 2 sam 76\r\nenable pin 3 sam 78\r\ncw/ccw pin 44 sam 74\r\n````\r\ntp89 is the jumper to wipe the xyz FW THERE IS NO WAY TO REVERT TO ORIGINAL XYZ FW\r\n![image](https://user-images.githubusercontent.com/8822552/36021699-e38d120e-0d86-11e8-9da0-9a639e0d2747.png)\r\nSo currently the task list is : \r\n* be able to reflash the mcu in charge of temperature and heat (LPC1115) and make it communicate with main mcu (ATSAM4E8E) using header for direct flash or main mcu  (ATSAM4E8E) as programmer\r\n* identify pins lcd functions ,  which one is:  Enable, RW, RS, D0, D1, D2, D3, D4, D5, D6, D7 to have a lcd working\r\n* As only duet FW has ATSAM4E8E support today but no screen support : code the lcd support\r\n* Integrate the LPC1115 heat management in Duet FW because this kind of management does not exist yet\r\n* Implement the pinout to test all previous point in real situation\r\n\r\nSo we are not yet on flashing easily and this list is the simple one if no issue is meet 🤞 \r\n\r\nNothing is impossible as XYZ already do it,  but need coding and test time on a printer that cannot be used one FW is wipped until full FW is ported. \r\n\r\nThat said on my side the JR printer is in spare parts and wiped because testing how to do porting, the board is on my desk with some test code I used to find some pins, I even soldered some headers on board to test how to flash LPC1115 (point 1)\r\n\r\nBut still need lot of time and I have currently none available because really busy with others projects.\r\n\r\nSo any assistance is welcome - even sharing Pro pinout (if you know how to do it)  - but do not expect a working FW soon\r\n"}}
{"actor":{"display_login":"luc-github"}}