<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title><![CDATA[ds30 Loader free edition forums - Console]]></title>
		<link>https://picbootloader.com/forum/</link>
		<description><![CDATA[ds30 Loader free edition forums - https://picbootloader.com/forum]]></description>
		<pubDate>Sat, 12 Sep 2026 05:04:20 +0000</pubDate>
		<generator>MyBB</generator>
		<item>
			<title><![CDATA[Running Console within MPLab X]]></title>
			<link>https://picbootloader.com/forum/showthread.php?tid=22060</link>
			<pubDate>Sun, 09 Dec 2018 20:15:54 +0100</pubDate>
			<dc:creator><![CDATA[<a href="https://picbootloader.com/forum/member.php?action=profile&uid=935">rotting79</a>]]></dc:creator>
			<guid isPermaLink="false">https://picbootloader.com/forum/showthread.php?tid=22060</guid>
			<description><![CDATA[hey there<br />
<br />
just want to make a contribution, actually is not a problem's thread, instead show u how to set up the MPLab X in order to use the ds30 Console<br />
<br />
... so excuse me my laziness on writing more, and here is the how to video:<br />
<br />
<a href="https://www.youtube.com/watch?v=P2eqTzY0caQ" target="_blank" rel="noopener" class="mycode_url">https://www.youtube.com/watch?v=P2eqTzY0caQ</a><br />
<br />
<a href="https://photos.app.goo.gl/wypsNyLgqvAuAtEL8" target="_blank" rel="noopener" class="mycode_url">https://photos.app.goo.gl/wypsNyLgqvAuAtEL8</a>]]></description>
			<content:encoded><![CDATA[hey there<br />
<br />
just want to make a contribution, actually is not a problem's thread, instead show u how to set up the MPLab X in order to use the ds30 Console<br />
<br />
... so excuse me my laziness on writing more, and here is the how to video:<br />
<br />
<a href="https://www.youtube.com/watch?v=P2eqTzY0caQ" target="_blank" rel="noopener" class="mycode_url">https://www.youtube.com/watch?v=P2eqTzY0caQ</a><br />
<br />
<a href="https://photos.app.goo.gl/wypsNyLgqvAuAtEL8" target="_blank" rel="noopener" class="mycode_url">https://photos.app.goo.gl/wypsNyLgqvAuAtEL8</a>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Python client for win/mac/linux]]></title>
			<link>https://picbootloader.com/forum/showthread.php?tid=21900</link>
			<pubDate>Tue, 31 Oct 2017 21:30:57 +0100</pubDate>
			<dc:creator><![CDATA[<a href="https://picbootloader.com/forum/member.php?action=profile&uid=129762">eur</a>]]></dc:creator>
			<guid isPermaLink="false">https://picbootloader.com/forum/showthread.php?tid=21900</guid>
			<description><![CDATA[Hi<br />
<br />
Some years ago, I had someone made me a Python client. It works under Windows, Mac and Linux. I have working versions for both the PIC18F67K22 and the PIC18F46K22. <br />
<br />
I don't fully understand the difference between the two versions, but I can explain how I adapted it to work with the PIC18F46K22. <br />
<br />
<br />
Can I post the source here? it is just one file. It needs pyserial and IntelHex.]]></description>
			<content:encoded><![CDATA[Hi<br />
<br />
Some years ago, I had someone made me a Python client. It works under Windows, Mac and Linux. I have working versions for both the PIC18F67K22 and the PIC18F46K22. <br />
<br />
I don't fully understand the difference between the two versions, but I can explain how I adapted it to work with the PIC18F46K22. <br />
<br />
<br />
Can I post the source here? it is just one file. It needs pyserial and IntelHex.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Native Linux Client?]]></title>
			<link>https://picbootloader.com/forum/showthread.php?tid=2202</link>
			<pubDate>Thu, 01 May 2014 17:20:51 +0200</pubDate>
			<dc:creator><![CDATA[<a href="https://picbootloader.com/forum/member.php?action=profile&uid=28034">K_Trenholm</a>]]></dc:creator>
			<guid isPermaLink="false">https://picbootloader.com/forum/showthread.php?tid=2202</guid>
			<description><![CDATA[Hey everyone,<br />
<br />
I'm looking in the console manual for the free ds30loader and it mentions a native linux client.  However in the latest release I don't seem to have anything other than the windows executables.<br />
<br />
Is there a version of it kicking around somewhere that I'm just not finding or will I have to use mono to use the windows executable?<br />
<br />
Thank you!]]></description>
			<content:encoded><![CDATA[Hey everyone,<br />
<br />
I'm looking in the console manual for the free ds30loader and it mentions a native linux client.  However in the latest release I don't seem to have anything other than the windows executables.<br />
<br />
Is there a version of it kicking around somewhere that I'm just not finding or will I have to use mono to use the windows executable?<br />
<br />
Thank you!]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Trouble running ds30LoaderConsole.exe on Debian]]></title>
			<link>https://picbootloader.com/forum/showthread.php?tid=903</link>
			<pubDate>Sat, 25 Jan 2014 17:25:00 +0100</pubDate>
			<dc:creator><![CDATA[<a href="https://picbootloader.com/forum/member.php?action=profile&uid=41089">erikskou</a>]]></dc:creator>
			<guid isPermaLink="false">https://picbootloader.com/forum/showthread.php?tid=903</guid>
			<description><![CDATA[Hi,<br />
When I try to run "ds30LoaderConsole.exe" on my Debian installation I got this error.<br />
What am I doing wrong <img src="https://picbootloader.com/forum/images/smilies/huh.gif" alt="Huh" title="Huh" class="smilie smilie_17" /><br />
<br />
Thanks in advance.<br />
<br />
root@esp-laptop:/usr/bin# mono ds30LoaderConsole.exe --help<br />
<br />
<br />
Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for System.Drawing.KnownColors ---&gt; System.TypeInitializationException: An exception was thrown by the type initializer for System.Drawing.GDIPlus ---&gt; System.DllNotFoundException: libgdiplus.so.0<br />
  at (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup (ulong&amp;,System.Drawing.GdiplusStartupInput&amp;,System.Drawing.GdiplusStartupOutput&amp;)<br />
  at System.Drawing.GDIPlus..cctor () [0x00000] in &lt;filename unknown&gt;:0 <br />
  --- End of inner exception stack trace ---<br />
  at System.Drawing.KnownColors..cctor () [0x00000] in &lt;filename unknown&gt;:0 <br />
  --- End of inner exception stack trace ---<br />
  at System.Drawing.Color.get_Black () [0x00000] in &lt;filename unknown&gt;:0 <br />
  at e.c (System.String A_0, Int32 A_1) [0x00000] in &lt;filename unknown&gt;:0 <br />
  at v.b () [0x00000] in &lt;filename unknown&gt;:0 <br />
  at v.a (System.String[] A_0) [0x00000] in &lt;filename unknown&gt;:0 <br />
root@esp-laptop:/usr/bin#]]></description>
			<content:encoded><![CDATA[Hi,<br />
When I try to run "ds30LoaderConsole.exe" on my Debian installation I got this error.<br />
What am I doing wrong <img src="https://picbootloader.com/forum/images/smilies/huh.gif" alt="Huh" title="Huh" class="smilie smilie_17" /><br />
<br />
Thanks in advance.<br />
<br />
root@esp-laptop:/usr/bin# mono ds30LoaderConsole.exe --help<br />
<br />
<br />
Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for System.Drawing.KnownColors ---&gt; System.TypeInitializationException: An exception was thrown by the type initializer for System.Drawing.GDIPlus ---&gt; System.DllNotFoundException: libgdiplus.so.0<br />
  at (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup (ulong&amp;,System.Drawing.GdiplusStartupInput&amp;,System.Drawing.GdiplusStartupOutput&amp;)<br />
  at System.Drawing.GDIPlus..cctor () [0x00000] in &lt;filename unknown&gt;:0 <br />
  --- End of inner exception stack trace ---<br />
  at System.Drawing.KnownColors..cctor () [0x00000] in &lt;filename unknown&gt;:0 <br />
  --- End of inner exception stack trace ---<br />
  at System.Drawing.Color.get_Black () [0x00000] in &lt;filename unknown&gt;:0 <br />
  at e.c (System.String A_0, Int32 A_1) [0x00000] in &lt;filename unknown&gt;:0 <br />
  at v.b () [0x00000] in &lt;filename unknown&gt;:0 <br />
  at v.a (System.String[] A_0) [0x00000] in &lt;filename unknown&gt;:0 <br />
root@esp-laptop:/usr/bin#]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Console does not run due to lack of libgdiplus (GDI+) libraries]]></title>
			<link>https://picbootloader.com/forum/showthread.php?tid=818</link>
			<pubDate>Sun, 20 Oct 2013 16:42:39 +0200</pubDate>
			<dc:creator><![CDATA[<a href="https://picbootloader.com/forum/member.php?action=profile&uid=17484">dariojcanelons</a>]]></dc:creator>
			<guid isPermaLink="false">https://picbootloader.com/forum/showthread.php?tid=818</guid>
			<description><![CDATA[Hello! First of all, great job with the bootloader, I am looking forward to using it to program my PIC16F1827 with my Gumstix Overo Air board. <br />
At the moment I can run the Console program through my Ubuntu machine, but cannot do so on the Gumstix board due to a missing Mono libgdiplus.so library. I'm not sure why the Mono package provided for the Gumstix Overo does not include this library, but I have looked high and low and have so far been unable to install a compatible GDI+ library.<br />
Is there any way that the Native Linux Arm console version could be released? Or, the current console application released in such a way that it doesn't depend on the graphics providing capabilities of GDI+ (since we are not using anything graphic)? <br />
Thank you.]]></description>
			<content:encoded><![CDATA[Hello! First of all, great job with the bootloader, I am looking forward to using it to program my PIC16F1827 with my Gumstix Overo Air board. <br />
At the moment I can run the Console program through my Ubuntu machine, but cannot do so on the Gumstix board due to a missing Mono libgdiplus.so library. I'm not sure why the Mono package provided for the Gumstix Overo does not include this library, but I have looked high and low and have so far been unable to install a compatible GDI+ library.<br />
Is there any way that the Native Linux Arm console version could be released? Or, the current console application released in such a way that it doesn't depend on the graphics providing capabilities of GDI+ (since we are not using anything graphic)? <br />
Thank you.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Long Path Names]]></title>
			<link>https://picbootloader.com/forum/showthread.php?tid=616</link>
			<pubDate>Tue, 18 Jun 2013 21:30:06 +0200</pubDate>
			<dc:creator><![CDATA[<a href="https://picbootloader.com/forum/member.php?action=profile&uid=10077">JimM</a>]]></dc:creator>
			<guid isPermaLink="false">https://picbootloader.com/forum/showthread.php?tid=616</guid>
			<description><![CDATA[Hi,<br />
<br />
Are there limitations to length of the path or the characters that can be used in the filename of a hex file to be loaded?  We are  calling the ds30LoaderConsole.exe from a visual basic program using the command:<br />
<br />
 program_process = Process.Start("G:\Engineering\Electrical Engineering\APPS AND LOADERS\ds30Loader\ds30LoaderConsole.exe", _<br />
                    " --file=" &amp; hexFileDir &amp; _<br />
                    " --device=pic18f6622" &amp; _<br />
                    " --port=com1" &amp; _<br />
                    " --baudrate=9600" &amp; _<br />
                    " --writef" &amp; _<br />
                    " --ht=10000" &amp; _<br />
                    " --polltime=500" &amp; _<br />
                    " --timeout=3000" &amp; _<br />
                    " --port-open-delay=0" &amp; _<br />
                    " --non-interactive")<br />
<br />
It seems to work when the variable "hexFileDir" does not contain a space.<br />
Does this seem to be a known limitation?<br />
<br />
We are using ds30 Loader console free edition 1.0.8<br />
ds30 Loader engine 2.2.8<br />
<br />
Thanks<br />
<br />
Jim Mallabar  <img src="https://picbootloader.com/forum/images/smilies/sad.gif" alt="Sad" title="Sad" class="smilie smilie_8" />]]></description>
			<content:encoded><![CDATA[Hi,<br />
<br />
Are there limitations to length of the path or the characters that can be used in the filename of a hex file to be loaded?  We are  calling the ds30LoaderConsole.exe from a visual basic program using the command:<br />
<br />
 program_process = Process.Start("G:\Engineering\Electrical Engineering\APPS AND LOADERS\ds30Loader\ds30LoaderConsole.exe", _<br />
                    " --file=" &amp; hexFileDir &amp; _<br />
                    " --device=pic18f6622" &amp; _<br />
                    " --port=com1" &amp; _<br />
                    " --baudrate=9600" &amp; _<br />
                    " --writef" &amp; _<br />
                    " --ht=10000" &amp; _<br />
                    " --polltime=500" &amp; _<br />
                    " --timeout=3000" &amp; _<br />
                    " --port-open-delay=0" &amp; _<br />
                    " --non-interactive")<br />
<br />
It seems to work when the variable "hexFileDir" does not contain a space.<br />
Does this seem to be a known limitation?<br />
<br />
We are using ds30 Loader console free edition 1.0.8<br />
ds30 Loader engine 2.2.8<br />
<br />
Thanks<br />
<br />
Jim Mallabar  <img src="https://picbootloader.com/forum/images/smilies/sad.gif" alt="Sad" title="Sad" class="smilie smilie_8" />]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[hello timeout]]></title>
			<link>https://picbootloader.com/forum/showthread.php?tid=544</link>
			<pubDate>Sun, 24 Feb 2013 23:30:28 +0100</pubDate>
			<dc:creator><![CDATA[<a href="https://picbootloader.com/forum/member.php?action=profile&uid=686">pjsr</a>]]></dc:creator>
			<guid isPermaLink="false">https://picbootloader.com/forum/showthread.php?tid=544</guid>
			<description><![CDATA[Hi,<br />
<br />
I am not being able that the console to acknowledge the --ht=hello timeout option.<br />
I am writing it as --ht=15000. The result is "unknown option".<br />
<br />
Can you help me?<br />
<br />
Thank you,<br />
pjsr]]></description>
			<content:encoded><![CDATA[Hi,<br />
<br />
I am not being able that the console to acknowledge the --ht=hello timeout option.<br />
I am writing it as --ht=15000. The result is "unknown option".<br />
<br />
Can you help me?<br />
<br />
Thank you,<br />
pjsr]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Bluetooth DS30]]></title>
			<link>https://picbootloader.com/forum/showthread.php?tid=500</link>
			<pubDate>Tue, 26 Jun 2012 22:24:00 +0200</pubDate>
			<dc:creator><![CDATA[<a href="https://picbootloader.com/forum/member.php?action=profile&uid=137">moonshadow</a>]]></dc:creator>
			<guid isPermaLink="false">https://picbootloader.com/forum/showthread.php?tid=500</guid>
			<description><![CDATA[I have tried a four pin Bluetooth dongle to replace the bootloader cable and have failed. Everything seems to work except DS30 cannot find the remote bootloader when the 18F25K22 is manually reset. I am wondering if anyone has tried this ?.  To keep things simple I set the DS30 to 9600 baud on the command line to match the default 9600 baud of the Bluetooth dongle. I would really like to know if this is possible as it would solve another problem I have and that is the USB TTL cable powers the Target board through the input protection diodes on the PIC and that stops the LCD from properly resetting. Thank you .... John]]></description>
			<content:encoded><![CDATA[I have tried a four pin Bluetooth dongle to replace the bootloader cable and have failed. Everything seems to work except DS30 cannot find the remote bootloader when the 18F25K22 is manually reset. I am wondering if anyone has tried this ?.  To keep things simple I set the DS30 to 9600 baud on the command line to match the default 9600 baud of the Bluetooth dongle. I would really like to know if this is possible as it would solve another problem I have and that is the USB TTL cable powers the Target board through the input protection diodes on the PIC and that stops the LCD from properly resetting. Thank you .... John]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Problem with command-based reset in console [solved]]]></title>
			<link>https://picbootloader.com/forum/showthread.php?tid=207</link>
			<pubDate>Thu, 21 Jul 2011 20:45:16 +0200</pubDate>
			<dc:creator><![CDATA[<a href="https://picbootloader.com/forum/member.php?action=profile&uid=0">Brandon Tarr</a>]]></dc:creator>
			<guid isPermaLink="false">https://picbootloader.com/forum/showthread.php?tid=207</guid>
			<description><![CDATA[I've successfully implemented the bootloader into a design that uses an FTDI FT232RQ for USB to RS-232 communication from PC to the device.  I am able to load new firmware via the GUI using a software reset command.  I am trying to get the console to load new firmware and am running into problems with the software reset.  Basically, the device never receives the command from the console app and as such, never resets to the bootloader.<br />
<br />
Here is a console log...<br />
-----------------------------------------------------------------------<br />
C:\ds30 Loader\bin&gt;ds30loaderconsole -z<br />
<br />
Loading device database...492 devices found<br />
Loading port plugin ds30LoaderPortSerial.dll: found 3 ports<br />
Available ports:<br />
Communications Port (COM1)<br />
                              , no restrictions on baud/bitrate by ds30 Loader<br />
Communications Port (COM2)<br />
                              , no restrictions on baud/bitrate by ds30 Loader<br />
USB Serial Port (COM9) M2)<br />
                              , no restrictions on baud/bitrate by ds30 Loader<br />
End of available ports, exiting<br />
Press any key to continue<br />
<br />
<br />
C:\ds30 Loader\bin&gt;ds30loaderconsole -o -f=D:\firmware.hex -d=pic18f4620 -k=com9 -r=115200 -p -a=20 -q=7e;d<br />
<br />
Loading device database...492 devices found<br />
Loading port plugin ds30LoaderPortSerial.dll: found 3 ports<br />
Parsing hex-file...<br />
    File timestamp: 7/20/2011 4:03:10 PM<br />
    Validating hex-file...ok<br />
    Hex-file successfully parsed<br />
<br />
    29979 program words found in 938 rows<br />
    0 Eeprom words found<br />
    14 config words found<br />
<br />
File:      D:\firmware.hex<br />
Device:    PIC18F4620<br />
Port:      com9<br />
Baudrate:  115200<br />
<br />
<br />
<br />
Initiating write...<br />
    Sending reset command...ok<br />
    Searching for bl . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .<br />
 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .<br />
 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . timed out<br />
Tx 163 bytes / Rx 0 bytes / 5.4s<br />
<br />
C:\ds30 Loader\bin&gt;<br />
-----------------------------------------------------------------------<br />
<br />
One thing that I noticed is that the port listing for the FTDI port (COM9) looks a little different than the standard serial ports.  Not sure if this could be related or not.<br />
<br />
In an attempt to get a better view of what is actually going on, I connected two USB-RS232 cables together via a null modem cable.  I set both the GUI and console to use one of the ports and opened a serial terminal on the other.  Here are the terminal captures...<br />
<br />
GUI:<br />
(ASCII)<br />
~<br />
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ<br />
<br />
(HEX)<br />
7E0DC1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1<br />
<br />
Console:<br />
(ASCII)<br />
&lt;0&gt;€&lt;0&gt;&lt;0&gt;&lt;0&gt;ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ<br />
<br />
(HEX)<br />
0080000000C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1 <br />
<br />
It appears to me as though the console application is not properly sending the specified reset command.  I used the same syntax in the console as I did in the GUI.  I'm out of ideas and thought I'd list my findings here to see if this is an actual bug.  Thoughts?  Thanks in advance.<br />
<br />
Brandon]]></description>
			<content:encoded><![CDATA[I've successfully implemented the bootloader into a design that uses an FTDI FT232RQ for USB to RS-232 communication from PC to the device.  I am able to load new firmware via the GUI using a software reset command.  I am trying to get the console to load new firmware and am running into problems with the software reset.  Basically, the device never receives the command from the console app and as such, never resets to the bootloader.<br />
<br />
Here is a console log...<br />
-----------------------------------------------------------------------<br />
C:\ds30 Loader\bin&gt;ds30loaderconsole -z<br />
<br />
Loading device database...492 devices found<br />
Loading port plugin ds30LoaderPortSerial.dll: found 3 ports<br />
Available ports:<br />
Communications Port (COM1)<br />
                              , no restrictions on baud/bitrate by ds30 Loader<br />
Communications Port (COM2)<br />
                              , no restrictions on baud/bitrate by ds30 Loader<br />
USB Serial Port (COM9) M2)<br />
                              , no restrictions on baud/bitrate by ds30 Loader<br />
End of available ports, exiting<br />
Press any key to continue<br />
<br />
<br />
C:\ds30 Loader\bin&gt;ds30loaderconsole -o -f=D:\firmware.hex -d=pic18f4620 -k=com9 -r=115200 -p -a=20 -q=7e;d<br />
<br />
Loading device database...492 devices found<br />
Loading port plugin ds30LoaderPortSerial.dll: found 3 ports<br />
Parsing hex-file...<br />
    File timestamp: 7/20/2011 4:03:10 PM<br />
    Validating hex-file...ok<br />
    Hex-file successfully parsed<br />
<br />
    29979 program words found in 938 rows<br />
    0 Eeprom words found<br />
    14 config words found<br />
<br />
File:      D:\firmware.hex<br />
Device:    PIC18F4620<br />
Port:      com9<br />
Baudrate:  115200<br />
<br />
<br />
<br />
Initiating write...<br />
    Sending reset command...ok<br />
    Searching for bl . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .<br />
 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .<br />
 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . timed out<br />
Tx 163 bytes / Rx 0 bytes / 5.4s<br />
<br />
C:\ds30 Loader\bin&gt;<br />
-----------------------------------------------------------------------<br />
<br />
One thing that I noticed is that the port listing for the FTDI port (COM9) looks a little different than the standard serial ports.  Not sure if this could be related or not.<br />
<br />
In an attempt to get a better view of what is actually going on, I connected two USB-RS232 cables together via a null modem cable.  I set both the GUI and console to use one of the ports and opened a serial terminal on the other.  Here are the terminal captures...<br />
<br />
GUI:<br />
(ASCII)<br />
~<br />
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ<br />
<br />
(HEX)<br />
7E0DC1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1<br />
<br />
Console:<br />
(ASCII)<br />
&lt;0&gt;€&lt;0&gt;&lt;0&gt;&lt;0&gt;ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ<br />
<br />
(HEX)<br />
0080000000C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1C1 <br />
<br />
It appears to me as though the console application is not properly sending the specified reset command.  I used the same syntax in the console as I did in the GUI.  I'm out of ideas and thought I'd list my findings here to see if this is an actual bug.  Thoughts?  Thanks in advance.<br />
<br />
Brandon]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Config bits need remapping [solved]]]></title>
			<link>https://picbootloader.com/forum/showthread.php?tid=186</link>
			<pubDate>Thu, 16 Jun 2011 16:50:58 +0200</pubDate>
			<dc:creator><![CDATA[<a href="https://picbootloader.com/forum/member.php?action=profile&uid=390">Jermcb</a>]]></dc:creator>
			<guid isPermaLink="false">https://picbootloader.com/forum/showthread.php?tid=186</guid>
			<description><![CDATA[Hi everyone,<br />
<br />
I am trying out this bootloader... Which is great!!<br />
<br />
However, when I try and load code onto the chip with the bootloader using the console, I get the following error:<br />
" Last row containing configs was found in hex file, last page has been disabled. Consult manual for more information."<br />
<br />
I looked in the console manual and could find nothing on this. However, when I use the GUI there is no problem...<br />
<br />
How can I solve this issue?? <br />
<br />
I am writing for a PIC24FJ, using MPLABS and C30. I have tried to figure out how to remap the actual config bits to no luck. So any input welcome!!<br />
<br />
Thanks in advance!]]></description>
			<content:encoded><![CDATA[Hi everyone,<br />
<br />
I am trying out this bootloader... Which is great!!<br />
<br />
However, when I try and load code onto the chip with the bootloader using the console, I get the following error:<br />
" Last row containing configs was found in hex file, last page has been disabled. Consult manual for more information."<br />
<br />
I looked in the console manual and could find nothing on this. However, when I use the GUI there is no problem...<br />
<br />
How can I solve this issue?? <br />
<br />
I am writing for a PIC24FJ, using MPLABS and C30. I have tried to figure out how to remap the actual config bits to no luck. So any input welcome!!<br />
<br />
Thanks in advance!]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[On UBUNTU 10.10 ds30LoaderConsole needs libmono-winforms2.0-cil [solved]]]></title>
			<link>https://picbootloader.com/forum/showthread.php?tid=31</link>
			<pubDate>Mon, 20 Dec 2010 16:04:59 +0100</pubDate>
			<dc:creator><![CDATA[<a href="https://picbootloader.com/forum/member.php?action=profile&uid=73">ozybushwalker</a>]]></dc:creator>
			<guid isPermaLink="false">https://picbootloader.com/forum/showthread.php?tid=31</guid>
			<description><![CDATA[I tried to invoke ds30LoaderConsole on a fairly stock Ubuntu 10.10 server system and it complained:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>&#36; mono ds30LoaderConsole.exe --port=/dev/web_platform --baudrate=115200 --file=&#36;{FILE} --device=dsPIC33FJ128GP204 --write-program<br />
<br />
** (ds30LoaderConsole.exe:18243): WARNING **: The following assembly referenced from /home/ozybushwalker/Downloads/ds30 Loader/bin/GHelper.dll could not be loaded:<br />
&nbsp;&nbsp;&nbsp;&nbsp; Assembly:&nbsp;&nbsp; System.Windows.Forms&nbsp;&nbsp;&nbsp;&nbsp;(assemblyref_index=1)<br />
&nbsp;&nbsp;&nbsp;&nbsp; Version:&nbsp;&nbsp;&nbsp;&nbsp;2.0.0.0<br />
&nbsp;&nbsp;&nbsp;&nbsp; Public Key: b77a5c561934e089<br />
The assembly was not found in the Global Assembly Cache, a path listed in the MONO_PATH environment variable, or in the location of the executing assembly (/home/ozybushwalker/Downloads/ds30 Loader/bin/).<br />
<br />
<br />
<br />
** (ds30LoaderConsole.exe:18243): WARNING **: Could not load file or assembly 'System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies.<br />
<br />
Unhandled Exception: System.MissingFieldException: Field 'GHelper.clsDebugTextbox.bConsole' not found.</code></div></div><br />
After installing package libmono-winforms2.0-cil things moved along a bit further:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>&#36; sudo bash<br />
[sudo] password for ozybushwalker: <br />
root@vbox:~/Downloads/ds30 Loader/bin# mono ds30LoaderConsole.exe -l --port=/dev/ttyUSB0 --baudrate=115200 --file=~/test.hex --device=dsPIC33FJ128GP204 --write-program<br />
<br />
<br />
Loading port plugin ds30LoaderPortIxxat.dll: no supported on this OS<br />
Loading port plugin ds30LoaderPortKvaser.dll: no supported on this OS<br />
Loading port plugin ds30LoaderPortPCAN.dll: no supported on this OS<br />
Loading port plugin ds30LoaderPortSerial.dll: found 5 ports<br />
Loading port plugin ds30LoaderPortVector.dll: no supported on this OS<br />
Loading external device database...408 devices foundNon-existing file specified.<br />
&#36;</code></div></div><br />
What file is "non-existing"? ~/test.hex exists, root has access to /dev/ttyUSB0.]]></description>
			<content:encoded><![CDATA[I tried to invoke ds30LoaderConsole on a fairly stock Ubuntu 10.10 server system and it complained:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>&#36; mono ds30LoaderConsole.exe --port=/dev/web_platform --baudrate=115200 --file=&#36;{FILE} --device=dsPIC33FJ128GP204 --write-program<br />
<br />
** (ds30LoaderConsole.exe:18243): WARNING **: The following assembly referenced from /home/ozybushwalker/Downloads/ds30 Loader/bin/GHelper.dll could not be loaded:<br />
&nbsp;&nbsp;&nbsp;&nbsp; Assembly:&nbsp;&nbsp; System.Windows.Forms&nbsp;&nbsp;&nbsp;&nbsp;(assemblyref_index=1)<br />
&nbsp;&nbsp;&nbsp;&nbsp; Version:&nbsp;&nbsp;&nbsp;&nbsp;2.0.0.0<br />
&nbsp;&nbsp;&nbsp;&nbsp; Public Key: b77a5c561934e089<br />
The assembly was not found in the Global Assembly Cache, a path listed in the MONO_PATH environment variable, or in the location of the executing assembly (/home/ozybushwalker/Downloads/ds30 Loader/bin/).<br />
<br />
<br />
<br />
** (ds30LoaderConsole.exe:18243): WARNING **: Could not load file or assembly 'System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies.<br />
<br />
Unhandled Exception: System.MissingFieldException: Field 'GHelper.clsDebugTextbox.bConsole' not found.</code></div></div><br />
After installing package libmono-winforms2.0-cil things moved along a bit further:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>&#36; sudo bash<br />
[sudo] password for ozybushwalker: <br />
root@vbox:~/Downloads/ds30 Loader/bin# mono ds30LoaderConsole.exe -l --port=/dev/ttyUSB0 --baudrate=115200 --file=~/test.hex --device=dsPIC33FJ128GP204 --write-program<br />
<br />
<br />
Loading port plugin ds30LoaderPortIxxat.dll: no supported on this OS<br />
Loading port plugin ds30LoaderPortKvaser.dll: no supported on this OS<br />
Loading port plugin ds30LoaderPortPCAN.dll: no supported on this OS<br />
Loading port plugin ds30LoaderPortSerial.dll: found 5 ports<br />
Loading port plugin ds30LoaderPortVector.dll: no supported on this OS<br />
Loading external device database...408 devices foundNon-existing file specified.<br />
&#36;</code></div></div><br />
What file is "non-existing"? ~/test.hex exists, root has access to /dev/ttyUSB0.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[unknown port [solved]]]></title>
			<link>https://picbootloader.com/forum/showthread.php?tid=29</link>
			<pubDate>Fri, 17 Dec 2010 17:11:59 +0100</pubDate>
			<dc:creator><![CDATA[<a href="https://picbootloader.com/forum/member.php?action=profile&uid=70">dlutolf</a>]]></dc:creator>
			<guid isPermaLink="false">https://picbootloader.com/forum/showthread.php?tid=29</guid>
			<description><![CDATA[when I try to program my device (WebPlatform from dangerousprototypes.com), I get the error "unknown port"<br />
<br />
OS: gentoo<br />
kernel: 2.6.37-rc1-00027-gff8b16d<br />
mono-version: mono-2.8.1-r1<br />
<br />
command I run: (in a little script to make it easier)<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>#!/bin/bash<br />
FILE=/home/dave/dt/locmon/hals/web_platform/uIPStack/output/uIPStack.hex<br />
cd "/home/dave/PIC2/PIC/ds30 Loader/bin"<br />
mono ds30LoaderConsole.exe --port=/dev/web_platform --baudrate=115200 --file=&#36;{FILE} --device=dsPIC33FJ128GP204 --write-program "-q=a;b"</code></div></div><br />
notes on the above:<br />
- I tried with and without the -q flag<br />
- the documentation says I can execute ./ds30LoaderConsole.exe directly,<br />
  however this fails (invalid executable format). need to run through mono<br />
  explicitly<br />
- /dev/web_platform is a symlink (made dynamically with udev) to /dev/ttyUSB0.<br />
  same behaviour if I specify /dev/ttyUSB0<br />
<br />
general notes:<br />
- I find it irritating to have the "clear screen" command sent to the console<br />
- GUI does not work at all on my system. last time I tried display was messed<br />
  up, now I just get an empty window<br />
<br />
now, the full output of the run:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>Loading external device database...file not found: /usr/bin/devices.xml<br />
Falling back on internal device database...353 devices found<br />
Parsing hex-file...<br />
&nbsp;&nbsp;&nbsp;&nbsp;File timestamp: 17.12.2010 15:54:26<br />
&nbsp;&nbsp;&nbsp;&nbsp;Validating hex-file...ok<br />
&nbsp;&nbsp;&nbsp;&nbsp;Hex-file successfully parsed<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;15308 program words found in 241 rows <br />
&nbsp;&nbsp;&nbsp;&nbsp;0 Eeprom words found <br />
&nbsp;&nbsp;&nbsp;&nbsp;4 config words found <br />
<br />
File:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/home/dave/dt/locmon/hals/web_platform/uIPStack/output/uIPStack.hex<br />
Device:&nbsp;&nbsp;&nbsp;&nbsp;dsPIC33FJ128GP204<br />
Port:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/dev/web_platform<br />
Baudrate:&nbsp;&nbsp;115200&nbsp;&nbsp;<br />
<br />
<br />
Press any key to begin download<br />
<br />
<br />
<br />
Initiating download...Port class instantiation failed: Argument cannot be<br />
null.<br />
Parameter name: type<br />
&nbsp;&nbsp;&nbsp;&nbsp;Unknown port: /dev/web_platform<br />
Press any key to continue</code></div></div><br />
any ideas?]]></description>
			<content:encoded><![CDATA[when I try to program my device (WebPlatform from dangerousprototypes.com), I get the error "unknown port"<br />
<br />
OS: gentoo<br />
kernel: 2.6.37-rc1-00027-gff8b16d<br />
mono-version: mono-2.8.1-r1<br />
<br />
command I run: (in a little script to make it easier)<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>#!/bin/bash<br />
FILE=/home/dave/dt/locmon/hals/web_platform/uIPStack/output/uIPStack.hex<br />
cd "/home/dave/PIC2/PIC/ds30 Loader/bin"<br />
mono ds30LoaderConsole.exe --port=/dev/web_platform --baudrate=115200 --file=&#36;{FILE} --device=dsPIC33FJ128GP204 --write-program "-q=a;b"</code></div></div><br />
notes on the above:<br />
- I tried with and without the -q flag<br />
- the documentation says I can execute ./ds30LoaderConsole.exe directly,<br />
  however this fails (invalid executable format). need to run through mono<br />
  explicitly<br />
- /dev/web_platform is a symlink (made dynamically with udev) to /dev/ttyUSB0.<br />
  same behaviour if I specify /dev/ttyUSB0<br />
<br />
general notes:<br />
- I find it irritating to have the "clear screen" command sent to the console<br />
- GUI does not work at all on my system. last time I tried display was messed<br />
  up, now I just get an empty window<br />
<br />
now, the full output of the run:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>Loading external device database...file not found: /usr/bin/devices.xml<br />
Falling back on internal device database...353 devices found<br />
Parsing hex-file...<br />
&nbsp;&nbsp;&nbsp;&nbsp;File timestamp: 17.12.2010 15:54:26<br />
&nbsp;&nbsp;&nbsp;&nbsp;Validating hex-file...ok<br />
&nbsp;&nbsp;&nbsp;&nbsp;Hex-file successfully parsed<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;15308 program words found in 241 rows <br />
&nbsp;&nbsp;&nbsp;&nbsp;0 Eeprom words found <br />
&nbsp;&nbsp;&nbsp;&nbsp;4 config words found <br />
<br />
File:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/home/dave/dt/locmon/hals/web_platform/uIPStack/output/uIPStack.hex<br />
Device:&nbsp;&nbsp;&nbsp;&nbsp;dsPIC33FJ128GP204<br />
Port:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/dev/web_platform<br />
Baudrate:&nbsp;&nbsp;115200&nbsp;&nbsp;<br />
<br />
<br />
Press any key to begin download<br />
<br />
<br />
<br />
Initiating download...Port class instantiation failed: Argument cannot be<br />
null.<br />
Parameter name: type<br />
&nbsp;&nbsp;&nbsp;&nbsp;Unknown port: /dev/web_platform<br />
Press any key to continue</code></div></div><br />
any ideas?]]></content:encoded>
		</item>
	</channel>
</rss>