<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div dir="ltr"></div><div dir="ltr"><br></div><div dir="ltr">Changing the partition just sets it to run at the next boot. It will stay on factory so long as you don’t do an ota update.</div><div dir="ltr"><br></div><div dir="ltr">Regards, Mark</div><div dir="ltr"><br>On 15 Sep 2018, at 12:11 PM, Tamás Kovács <<a href="mailto:kommykt@gmail.com">kommykt@gmail.com</a>> wrote:<br><br></div><blockquote type="cite"><div dir="ltr"><div dir="ltr">First i change to factory partition , nothing happen, and after run "make app-flash", now show my "new car"</div><br><div class="gmail_quote"><div dir="ltr">Mark Webb-Johnson <<a href="mailto:mark@webb-johnson.net">mark@webb-johnson.net</a>> ezt írta (időpont: 2018. szept. 15., Szo, 3:36):<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div dir="ltr"></div><div dir="ltr">Yep. You are running from ota_1:</div><div dir="ltr"><br></div><div dir="ltr"><img src="cid:D717F02B-7AD2-4352-8DEE-0662FACA04FB" alt="image1.jpeg" id="m_-7773710731282905373D717F02B-7AD2-4352-8DEE-0662FACA04FB"></div><div dir="ltr"><br></div><div dir="ltr">Please try changing to factory partition, which is what ‘make app-flash’ writes to.</div><div dir="ltr"><br></div><div dir="ltr">Regards, Mark</div><div dir="ltr"><br>On 15 Sep 2018, at 12:31 AM, Tamás Kovács <<a href="mailto:kommykt@gmail.com" target="_blank">kommykt@gmail.com</a>> wrote:<br><br></div><blockquote type="cite"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>First i run </div><div><ul><li>"make flash" at first time, the ovms "booted" up </li><ul><li>and <b>not </b>shown in web interface, </li><li>"vehicle list" command</li><ul><li>not shown peugeot</li></ul></ul><li>"<span style="font-family:"Andale Mono";font-size:14px">make size-components|grep -e 'Archive' -e peugeot"</span><br></li><ul><li><span style="font-family:"Andale Mono";font-size:14px">output same as yours</span></li></ul><li><font face="Andale Mono"><span style="font-size:14px">sdkconfig</span></font></li><ul><li><font face="Andale Mono"><span style="font-size:14px">same as yours</span></font></li></ul><li><font face="Andale Mono"><span style="font-size:14px">make monitor</span></font></li><ul><li><font face="Andale Mono"><span style="font-size:14px">not shown "</span></font><span style="font-family:"Andale Mono";font-size:14px">v-peugeot: Registering Vehicle: PEUGEOT ION (9000)" row</span></li></ul></ul><font face="Andale Mono"><span style="font-size:14px">I don't understand what is a problem. Now i install debian 9 -on my laptop to test in the car, and write code, but same as if i compile on my Mac.</span></font></div><div><font face="Andale Mono"><span style="font-size:14px">I attach some picture, to show some state.</span></font></div></div></div><br><div class="gmail_quote"><div dir="ltr">Mark Webb-Johnson <<a href="mailto:mark@webb-johnson.net" target="_blank">mark@webb-johnson.net</a>> ezt írta (időpont: 2018. szept. 14., P, 3:19):<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space">I compiled your code, and get:<div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div><font face="Andale Mono"><span style="font-size:14px">...</span></font></div><div><font face="Andale Mono"><span style="font-size:14px">I (287) v-twizy: Registering Vehicle: Renault Twizy (9000)</span></font></div><div><font face="Andale Mono"><span style="font-size:14px">I (293) v-peugeot: Registering Vehicle: PEUGEOT ION (9000)</span></font></div><div><font face="Andale Mono"><span style="font-size:14px">I (300) v-obdii: Registering Vehicle: OBDII (9000)</span></font></div></div><div><font face="Andale Mono"><span style="font-size:14px">…</span></font></div><div><font face="Andale Mono"><span style="font-size:14px"><br></span></font></div><div><div><font face="Andale Mono"><span style="font-size:14px">OVMS# vehicle list</span></font></div><div><font face="Andale Mono"><span style="font-size:14px">Type Name</span></font></div><div><font face="Andale Mono"><span style="font-size:14px">DEMO Demonstration vehicle</span></font></div><div><font face="Andale Mono"><span style="font-size:14px">FT5E Fiat 500e</span></font></div><div><font face="Andale Mono"><span style="font-size:14px">KS Kia Soul EV</span></font></div><div><font face="Andale Mono"><span style="font-size:14px">MI Mitsubishi iMiev</span></font></div><div><font face="Andale Mono"><span style="font-size:14px">NL Nissan Leaf</span></font></div><div><font face="Andale Mono"><span style="font-size:14px">NONE Empty vehicle</span></font></div><div><font face="Andale Mono"><span style="font-size:14px">O2 OBDII</span></font></div><div><font face="Andale Mono"><span style="font-size:14px">PI Peugeot iOn</span></font></div><div><font face="Andale Mono"><span style="font-size:14px">RT Renault Twizy</span></font></div><div><font face="Andale Mono"><span style="font-size:14px">TGTC Think City</span></font></div><div><font face="Andale Mono"><span style="font-size:14px">TR Tesla Roadster</span></font></div><div><font face="Andale Mono"><span style="font-size:14px">TS Tesla Model S</span></font></div><div><font face="Andale Mono"><span style="font-size:14px">VA Volt/Ampera</span></font></div><div><font face="Andale Mono"><span style="font-size:14px">XX TRACK</span></font></div><div><font face="Andale Mono"><span style="font-size:14px">ZEVA ZEVA BMS</span></font></div></div></blockquote><div><div><br></div><div>The Peugeot iOn also appears in the web interface config vehicle list.</div><div><br></div><div>My sdkconfig has:</div><div><br></div></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div><div><font face="Andale Mono"><span style="font-size:14px">#</span></font></div><div><font face="Andale Mono"><span style="font-size:14px"># Vehicle Support</span></font></div><div><font face="Andale Mono"><span style="font-size:14px">#</span></font></div><div><font face="Andale Mono"><span style="font-size:14px">CONFIG_OVMS_VEHICLE_NONE=y</span></font></div><div><font face="Andale Mono"><span style="font-size:14px">CONFIG_OVMS_VEHICLE_OBDII=y</span></font></div><div><font face="Andale Mono"><span style="font-size:14px">CONFIG_OVMS_VEHICLE_TRACK=y</span></font></div><div><font face="Andale Mono"><span style="font-size:14px">CONFIG_OVMS_VEHICLE_DEMO=y</span></font></div><div><font face="Andale Mono"><span style="font-size:14px">CONFIG_OVMS_VEHICLE_TESLAROADSTER=y</span></font></div><div><font face="Andale Mono"><span style="font-size:14px">CONFIG_OVMS_VEHICLE_TESLAMODELS=y</span></font></div><div><font face="Andale Mono"><span style="font-size:14px">CONFIG_OVMS_VEHICLE_NISSANLEAF=y</span></font></div><div><font face="Andale Mono"><span style="font-size:14px">CONFIG_OVMS_VEHICLE_RENAULTTWIZY=y</span></font></div><div><font face="Andale Mono"><span style="font-size:14px">CONFIG_OVMS_VEHICLE_KIASOULEV=y</span></font></div><div><font face="Andale Mono"><span style="font-size:14px">CONFIG_OVMS_VEHICLE_VOLTAMPERA=y</span></font></div><div><font face="Andale Mono"><span style="font-size:14px">CONFIG_OVMS_VEHICLE_THINKCITY=y</span></font></div><div><font face="Andale Mono"><span style="font-size:14px">CONFIG_OVMS_VEHICLE_MITSUBISHI=y</span></font></div><div><font face="Andale Mono"><span style="font-size:14px">CONFIG_OVMS_VEHICLE_PEUGEOT=y</span></font></div><div><font face="Andale Mono"><span style="font-size:14px">CONFIG_OVMS_VEHICLE_ZEVA=y</span></font></div><div><font face="Andale Mono"><span style="font-size:14px">CONFIG_OVMS_VEHICLE_FIAT500=y</span></font></div><div><font face="Andale Mono"><span style="font-size:14px">CONFIG_OVMS_VEHICLE_RXTASK_STACK=6144</span></font></div><div><font face="Andale Mono"><span style="font-size:14px">CONFIG_OVMS_VEHICLE_CAN_RX_QUEUE_SIZE=40</span></font></div></div></div></blockquote><div><div><br></div><div>Also:</div><div><br></div></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div><div><font face="Andale Mono"><span style="font-size:14px">$ make size-components|grep -e 'Archive' -e peugeot</span></font></div><div><font face="Andale Mono"><span style="font-size:14px"> Archive File DRAM .data & .bss IRAM Flash code & rodata Total</span></font></div><div><font face="Andale Mono"><span style="font-size:14px"> libvehicle_peugeot.a 0 54 0 3655 531 4240</span></font></div></div></div></blockquote><div><div><br></div><div>Can you try to recreate that? Do you get the same? If not, what differences?</div><div><br></div><div>Regards, Mark.</div><div><br><blockquote type="cite"><div>On 14 Sep 2018, at 1:16 AM, Tamás Kovács <<a href="mailto:kommykt@gmail.com" target="_blank">kommykt@gmail.com</a>> wrote:</div><br class="m_-7773710731282905373m_-8628473873401162541Apple-interchange-newline"><div><div dir="ltr"><div dir="ltr"><div dir="ltr">I use first time github, commit change, and push to my github reposytory: <a href="https://github.com/KommyKT/Open-Vehicle-Monitoring-System-3/tree/upsteam/peugeot" target="_blank">gitHub</a>, and after pull request (I should not have done it)</div><div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr">Mark Webb-Johnson <<a href="mailto:mark@webb-johnson.net" target="_blank">mark@webb-johnson.net</a>> ezt írta (időpont: 2018. szept. 12., Sze, 6:46):<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space">Easiest way would be for you to commit changes, push to a github repository, then let us know where that is so that we can check. Very hard to help find where the issue is, without actually being able to see the code.<div><br></div><div>When the module starts, it will show initialisation of modules - please check to ensure your module shows up there. If initialisation works, then check the vehicle list to be sure it is registered.</div><div><br></div><div>Regards, Mark.<br><div><br><blockquote type="cite"><div>On 12 Sep 2018, at 12:22 PM, Tamás Kovács <<a href="mailto:kommykt@gmail.com" target="_blank">kommykt@gmail.com</a>> wrote:</div><br class="m_-7773710731282905373m_-8628473873401162541m_-2795137533064516691Apple-interchange-newline"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">In <a href="http://component.mk/" target="_blank">component.mk</a> and main/Kconfig has the same name. <div>Kconfig: config OVMS_VEHICLE_PEUGEOT</div><div><a href="http://component.mk/" target="_blank">component.mk</a> (in vehicle folder): CONFIG_OVMS_VEHICLE_PEUGEOT</div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr">Mark Webb-Johnson <<a href="mailto:mark@webb-johnson.net" target="_blank">mark@webb-johnson.net</a>> ezt írta (időpont: 2018. szept. 12., Sze, 5:40):<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space">It seems your module is not compiled in / registered (if it doesn’t appear in vehicle list).<div><br></div><div>Can you check your <a href="http://component.mk/" target="_blank">component.mk</a> (the one in your vehicle directory, not the mail project one you attached). Make sure it matches the main/Kconfig name (with CONFIG at the start).</div><div><br></div><div>Regards, Mark. <br><div><br><blockquote type="cite"><div>On 12 Sep 2018, at 12:11 AM, Tamás Kovács <<a href="mailto:kommykt@gmail.com" target="_blank">kommykt@gmail.com</a>> wrote:</div><br class="m_-7773710731282905373m_-8628473873401162541m_-2795137533064516691m_-1894660778822032922Apple-interchange-newline"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><ul><li>In attachment</li><li>compare on attachment picture</li><li>OvmsVehiclePeugeotInit::OvmsVehiclePeugeotInit()<br></li></ul><div> {<br> ESP_LOGI(TAG, "Registering Vehicle: PEUGEOT ION (9000)");<br><br> MyVehicleFactory.RegisterVehicle<OvmsVehiclePeugeot>("PI","Peugeot iOn");<br> }<br><br><ul><li>OvmsVehiclePeugeot::OvmsVehiclePeugeot()<br></li></ul> {<br> ESP_LOGI(TAG, "Start Peugeot vehicle module");<br><br> mi_candata_timer = 0;<br> mi_est_range = 0;<br> mi_stale_charge = 0;<br> mi_QC = 0;<br> mi_QC_counter = 5;<br> mi_last_good_SOC = 0;<br> mi_last_good_range = 0;<br> memset(m_vin,0,sizeof(m_vin));<br> memset(mi_batttemps,0,sizeof(mi_batttemps));<br><br> RegisterCanBus(1,CAN_MODE_ACTIVE,CAN_SPEED_500KBPS);<br><br> // require GPS:<br> MyEvents.SignalEvent("vehicle.require.gps", NULL);<br> MyEvents.SignalEvent("vehicle.require.gpstime", NULL);<br> }</div><div><ul><li>Type Name</li><ul><li>DEMO Demonstration vehicle</li><li>FT5E Fiat 500e</li><li>KS Kia Soul EV</li><li>MI Mitsubishi iMiev</li><li>NL Nissan Leaf</li><li>NONE Empty vehicle</li><li>O2 OBDII</li><li>RT Renault Twizy</li><li>TGTC Think City</li><li>TR Tesla Roadster</li><li>TS Tesla Model S</li><li>VA Volt/Ampera</li><li>XX TRACK</li><li>ZEVA ZEVA BMS</li></ul></ul></div><div><br></div></div></div></div></div></div><br><br><div class="gmail_quote"><div dir="ltr">Mark Webb-Johnson <<a href="mailto:mark@webb-johnson.net" target="_blank">mark@webb-johnson.net</a>> ezt írta (időpont: 2018. szept. 11., K, 3:07):<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space">Can you show the source code for your module (github repository?), or just:<div><br></div><div><ul class="m_-7773710731282905373m_-8628473873401162541m_-2795137533064516691m_-1894660778822032922m_3656841780747843260MailOutline"><li>Your <a href="http://component.mk/" target="_blank">component.mk</a></li><li>The changes you have made to sdkconfig</li><li>Your OvmsVehicle***Init::OvmsVehicle**Init() function</li><li>Your OvmsVehicle***::OvmsVehicle***() function</li><li>Output of ‘vehicle list’ command</li></ul></div><div><br></div><div>Regards, Mark.<br><div><br><blockquote type="cite"><div>On 11 Sep 2018, at 2:27 AM, Tamás Kovács <<a href="mailto:kommykt@gmail.com" target="_blank">kommykt@gmail.com</a>> wrote:</div><br class="m_-7773710731282905373m_-8628473873401162541m_-2795137533064516691m_-1894660778822032922m_3656841780747843260Apple-interchange-newline"><div><div>Hi, i have a Peugoet iOn, some week ago i buy a OVMS v3.1 kit. Works<br>well the basic functions for my car with Mitsubishi profile. I want to<br>create a own profile for my car for testing, my own code, but i<br>duplicate mitsubishi files in components folder, and all mitsubishi<br>change to peugeot (case sensitive), and vehicle code modified to PI,<br>and duplicate mitsibishi code in main/Kconfig and modify to peugeot,<br>but i can not see in the web interface after make flash. After add it<br>make show a question: add Peugeot to... i write Y, but nothing happen.<br>I use MacOS High Sierra, and atom for modify files.<br><span id="m_-7773710731282905373m_-8628473873401162541m_-2795137533064516691m_-1894660778822032922m_3656841780747843260cid:f_jlwmcywu0"><Screen Shot 2018-09-06 at 8.17.21.png></span><span id="m_-7773710731282905373m_-8628473873401162541m_-2795137533064516691m_-1894660778822032922m_3656841780747843260cid:f_jlwmcyya1"><Screen Shot 2018-09-06 at 8.17.35.png></span>_______________________________________________<br>OvmsDev mailing list<br><a href="mailto:OvmsDev@lists.openvehicles.com" target="_blank">OvmsDev@lists.openvehicles.com</a><br><a href="http://lists.openvehicles.com/mailman/listinfo/ovmsdev" target="_blank">http://lists.openvehicles.com/mailman/listinfo/ovmsdev</a><br></div></div></blockquote></div><br></div></div>_______________________________________________<br>
OvmsDev mailing list<br>
<a href="mailto:OvmsDev@lists.openvehicles.com" target="_blank">OvmsDev@lists.openvehicles.com</a><br>
<a href="http://lists.openvehicles.com/mailman/listinfo/ovmsdev" rel="noreferrer" target="_blank">http://lists.openvehicles.com/mailman/listinfo/ovmsdev</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="m_-7773710731282905373m_-8628473873401162541m_-2795137533064516691m_-1894660778822032922gmail_signature" data-smartmail="gmail_signature">Üdvözlettel:<br>Kovács Tamás</div>
<span id="m_-7773710731282905373m_-8628473873401162541m_-2795137533064516691m_-1894660778822032922cid:f_jlxwsu9b0"><<a href="http://component.mk/" target="_blank">component.mk</a>></span><span id="m_-7773710731282905373m_-8628473873401162541m_-2795137533064516691m_-1894660778822032922cid:f_jlxwtnng1"><Screen Shot 2018-09-11 at 6.04.29.png></span>_______________________________________________<br>OvmsDev mailing list<br><a href="mailto:OvmsDev@lists.openvehicles.com" target="_blank">OvmsDev@lists.openvehicles.com</a><br><a href="http://lists.openvehicles.com/mailman/listinfo/ovmsdev" target="_blank">http://lists.openvehicles.com/mailman/listinfo/ovmsdev</a><br></div></blockquote></div><br></div></div>_______________________________________________<br>
OvmsDev mailing list<br>
<a href="mailto:OvmsDev@lists.openvehicles.com" target="_blank">OvmsDev@lists.openvehicles.com</a><br>
<a href="http://lists.openvehicles.com/mailman/listinfo/ovmsdev" rel="noreferrer" target="_blank">http://lists.openvehicles.com/mailman/listinfo/ovmsdev</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="m_-7773710731282905373m_-8628473873401162541m_-2795137533064516691gmail_signature" data-smartmail="gmail_signature">Üdvözlettel:<br>Kovács Tamás</div>
_______________________________________________<br>OvmsDev mailing list<br><a href="mailto:OvmsDev@lists.openvehicles.com" target="_blank">OvmsDev@lists.openvehicles.com</a><br><a href="http://lists.openvehicles.com/mailman/listinfo/ovmsdev" target="_blank">http://lists.openvehicles.com/mailman/listinfo/ovmsdev</a><br></div></blockquote></div><br></div></div>_______________________________________________<br>
OvmsDev mailing list<br>
<a href="mailto:OvmsDev@lists.openvehicles.com" target="_blank">OvmsDev@lists.openvehicles.com</a><br>
<a href="http://lists.openvehicles.com/mailman/listinfo/ovmsdev" rel="noreferrer" target="_blank">http://lists.openvehicles.com/mailman/listinfo/ovmsdev</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="m_-7773710731282905373m_-8628473873401162541gmail_signature" data-smartmail="gmail_signature">Üdvözlettel:<br>Kovács Tamás</div>
_______________________________________________<br>OvmsDev mailing list<br><a href="mailto:OvmsDev@lists.openvehicles.com" target="_blank">OvmsDev@lists.openvehicles.com</a><br><a href="http://lists.openvehicles.com/mailman/listinfo/ovmsdev" target="_blank">http://lists.openvehicles.com/mailman/listinfo/ovmsdev</a><br></div></blockquote></div><br></div></div>_______________________________________________<br>
OvmsDev mailing list<br>
<a href="mailto:OvmsDev@lists.openvehicles.com" target="_blank">OvmsDev@lists.openvehicles.com</a><br>
<a href="http://lists.openvehicles.com/mailman/listinfo/ovmsdev" rel="noreferrer" target="_blank">http://lists.openvehicles.com/mailman/listinfo/ovmsdev</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="m_-7773710731282905373gmail_signature" data-smartmail="gmail_signature">Üdvözlettel:<br>Kovács Tamás</div>
</div></blockquote><blockquote type="cite"><div dir="ltr"><IMG_2030.jpg></div></blockquote><blockquote type="cite"><div dir="ltr"><IMG_2026.jpg></div></blockquote><blockquote type="cite"><div dir="ltr"><IMG_2029.jpg></div></blockquote><blockquote type="cite"><div dir="ltr"><IMG_2031.jpg></div></blockquote><blockquote type="cite"><div dir="ltr"><make_monitor.pdf></div></blockquote><blockquote type="cite"><div dir="ltr"><span>_______________________________________________</span><br><span>OvmsDev mailing list</span><br><span><a href="mailto:OvmsDev@lists.openvehicles.com" target="_blank">OvmsDev@lists.openvehicles.com</a></span><br><span><a href="http://lists.openvehicles.com/mailman/listinfo/ovmsdev" target="_blank">http://lists.openvehicles.com/mailman/listinfo/ovmsdev</a></span><br></div></blockquote></div>_______________________________________________<br>
OvmsDev mailing list<br>
<a href="mailto:OvmsDev@lists.openvehicles.com" target="_blank">OvmsDev@lists.openvehicles.com</a><br>
<a href="http://lists.openvehicles.com/mailman/listinfo/ovmsdev" rel="noreferrer" target="_blank">http://lists.openvehicles.com/mailman/listinfo/ovmsdev</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">Üdvözlettel:<br>Kovács Tamás</div>
</div></blockquote><blockquote type="cite"><div dir="ltr"><image1.jpeg></div></blockquote><blockquote type="cite"><div dir="ltr"><span>_______________________________________________</span><br><span>OvmsDev mailing list</span><br><span><a href="mailto:OvmsDev@lists.openvehicles.com">OvmsDev@lists.openvehicles.com</a></span><br><span><a href="http://lists.openvehicles.com/mailman/listinfo/ovmsdev">http://lists.openvehicles.com/mailman/listinfo/ovmsdev</a></span><br></div></blockquote></body></html>