<?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 - All Forums]]></title>
		<link>https://picbootloader.com/forum/</link>
		<description><![CDATA[ds30 Loader free edition forums - https://picbootloader.com/forum]]></description>
		<pubDate>Sat, 12 Sep 2026 04:51:14 +0000</pubDate>
		<generator>MyBB</generator>
		<item>
			<title><![CDATA[PIC16F1939 bootloader assitance]]></title>
			<link>https://picbootloader.com/forum/showthread.php?tid=22584</link>
			<pubDate>Wed, 04 Sep 2024 16:49:27 +0200</pubDate>
			<dc:creator><![CDATA[<a href="https://picbootloader.com/forum/member.php?action=profile&uid=0">Ido</a>]]></dc:creator>
			<guid isPermaLink="false">https://picbootloader.com/forum/showthread.php?tid=22584</guid>
			<description><![CDATA[Hello,<br />
<br />
This is my first time using any bootloader so my experience is very limited.<br />
I downloaded the ds30 loader free edition and tried building the project found at "firmware_12F_16F_XC8" folder using  MPLAB X IDE v6.15 <br />
I am having trouble building the project even without making any changes(except putting a comment on "#error Do you need to configura uart pins to be digital? If not, remove this line")<br />
<br />
When trying to build using the version mplab set(pack 1.2.63, xc8 v1.31) I get the following:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>../src/user_code.inc:110:: error: (800) undefined symbol "EEADR"<br />
../src/user_code.inc:132:: error: (800) undefined symbol "FSR"<br />
../src/user_code.inc:134:: error: (800) undefined symbol "INDF"<br />
../src/user_code.inc:211:: error: (800) undefined symbol "EEDATA"<br />
../src/uart.inc:128:: error: (800) undefined symbol "SPBRG"<br />
../src/uart.inc:135:: error: (800) undefined symbol "SPBRGH"<br />
../src/uart.inc:137:: error: (800) undefined symbol "BAUDCTL"</code></div></div><br />
<br />
<br />
When trying pack 1.6.241 and xc8 v1.31 :<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>"G:&#92;Microchip&#92;xc8&#92;v2.31&#92;bin&#92;xc8-cc.exe" -c  -mcpu=16F1938  -D__DEBUG=1  -mdebugger=none  -mdfp="G:/Microchip/MPLABX/v6.15/packs/Microchip/PIC12-16F1xxx_DFP/1.6.241/xc8"  -fno-short-double -fno-short-float -O0 -fasmfile -maddrqual=ignore -xassembler-with-cpp -mwarn=-3 -Wa,-a -DXPRJ_default=default  -msummary=-psect,-class,+mem,-hex,-file  -ginhx32 -Wl,--data-init -mno-keep-startup -mno-osccal -mno-resetbits -mno-save-resetbits -mno-download -mno-stackcall -mno-default-config-bits -std=c99 -gdwarf-3 -mstack=compiled:auto:auto  -o build/default/debug/_ext/1360937237/ds30loader.o  ../src/ds30loader.s <br />
Non line specific message::: warning: (1020) unknown attribute "CONFIGPROG" in chipinfo file "G:/Microchip/MPLABX/v6.15/packs/Microchip/PIC12-16F1xxx_DFP/1.6.241/xc8&#92;pic&#92;dat&#92;ini&#92;16f1938.ini" at line 185<br />
Non line specific message::: warning: (1020) unknown attribute "IDLOCPROG" in chipinfo file "G:/Microchip/MPLABX/v6.15/packs/Microchip/PIC12-16F1xxx_DFP/1.6.241/xc8&#92;pic&#92;dat&#92;ini&#92;16f1938.ini" at line 195<br />
Non line specific message::: warning: (1020) unknown attribute "CONFIGPROG" in chipinfo file "G:/Microchip/MPLABX/v6.15/packs/Microchip/PIC12-16F1xxx_DFP/1.6.241/xc8&#92;pic&#92;dat&#92;ini&#92;16f1938.ini" at line 185<br />
Non line specific message::: warning: (1020) unknown attribute "IDLOCPROG" in chipinfo file "G:/Microchip/MPLABX/v6.15/packs/Microchip/PIC12-16F1xxx_DFP/1.6.241/xc8&#92;pic&#92;dat&#92;ini&#92;16f1938.ini" at line 195<br />
"G:&#92;Microchip&#92;xc8&#92;v2.31&#92;bin&#92;xc8-cc.exe"  -mcpu=16F1938 -Wl,-Map=dist/default/debug/ds30Loader_12F_16F.X.debug.map  -D__DEBUG=1  -mdebugger=none  -DXPRJ_default=default  -Wl,--defsym=__MPLAB_BUILD=1  -mdfp="G:/Microchip/MPLABX/v6.15/packs/Microchip/PIC12-16F1xxx_DFP/1.6.241/xc8"  -fno-short-double -fno-short-float -O0 -fasmfile -maddrqual=ignore -xassembler-with-cpp -mwarn=-3 -Wa,-a -msummary=-psect,-class,+mem,-hex,-file  -ginhx32 -Wl,--data-init -mno-keep-startup -mno-osccal -mno-resetbits -mno-save-resetbits -mno-download -mno-stackcall -mno-default-config-bits -std=c99 -gdwarf-3 -mstack=compiled:auto:auto        -Wl,--memorysummary,dist/default/debug/memoryfile.xml -o dist/default/debug/ds30Loader_12F_16F.X.debug.elf  build/default/debug/_ext/1360937237/ds30loader.o    <br />
Non line specific message::: warning: (1020) unknown attribute "CONFIGPROG" in chipinfo file "G:/Microchip/MPLABX/v6.15/packs/Microchip/PIC12-16F1xxx_DFP/1.6.241/xc8&#92;pic&#92;dat&#92;ini&#92;16f1938.ini" at line 185<br />
Non line specific message::: warning: (1020) unknown attribute "IDLOCPROG" in chipinfo file "G:/Microchip/MPLABX/v6.15/packs/Microchip/PIC12-16F1xxx_DFP/1.6.241/xc8&#92;pic&#92;dat&#92;ini&#92;16f1938.ini" at line 195<br />
Non line specific message::: warning: (1020) unknown attribute "CONFIGPROG" in chipinfo file "G:/Microchip/MPLABX/v6.15/packs/Microchip/PIC12-16F1xxx_DFP/1.6.241/xc8&#92;pic&#92;dat&#92;ini&#92;16f1938.ini" at line 185<br />
Non line specific message::: warning: (1020) unknown attribute "IDLOCPROG" in chipinfo file "G:/Microchip/MPLABX/v6.15/packs/Microchip/PIC12-16F1xxx_DFP/1.6.241/xc8&#92;pic&#92;dat&#92;ini&#92;16f1938.ini" at line 195<br />
:0:: error: (500) undefined symbols:<br />
_main(E:&#92;TMP&#92;skek.o) start_initialization(E:&#92;TMP&#92;skek.o) <br />
build/default/debug/_ext/1360937237/ds30loader.o:74:: error: (501) program entry point is defined more than once<br />
(908) exit status = 1</code></div></div><br />
<br />
When trying pack 1.6.241 xc8 2.41:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>::: error: (2096) undefined symbol "_main" (E:&#92;TMP&#92;xcBsis4.1&#92;driver_tmp_6.o)<br />
::: error: (2096) undefined symbol "start_initialization" (E:&#92;TMP&#92;xcBsis4.1&#92;driver_tmp_6.o)<br />
build/default/debug/_ext/1360937237/ds30loader.o:70:: error: (501) program entry point is defined more than once</code></div></div><br />
<br />
I am not really sure how to tackle the problem since I'm guessing this build has already been tested and works for other people and depending on the version I am using I keep getting different errors.<br />
Any help will be appreciated!]]></description>
			<content:encoded><![CDATA[Hello,<br />
<br />
This is my first time using any bootloader so my experience is very limited.<br />
I downloaded the ds30 loader free edition and tried building the project found at "firmware_12F_16F_XC8" folder using  MPLAB X IDE v6.15 <br />
I am having trouble building the project even without making any changes(except putting a comment on "#error Do you need to configura uart pins to be digital? If not, remove this line")<br />
<br />
When trying to build using the version mplab set(pack 1.2.63, xc8 v1.31) I get the following:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>../src/user_code.inc:110:: error: (800) undefined symbol "EEADR"<br />
../src/user_code.inc:132:: error: (800) undefined symbol "FSR"<br />
../src/user_code.inc:134:: error: (800) undefined symbol "INDF"<br />
../src/user_code.inc:211:: error: (800) undefined symbol "EEDATA"<br />
../src/uart.inc:128:: error: (800) undefined symbol "SPBRG"<br />
../src/uart.inc:135:: error: (800) undefined symbol "SPBRGH"<br />
../src/uart.inc:137:: error: (800) undefined symbol "BAUDCTL"</code></div></div><br />
<br />
<br />
When trying pack 1.6.241 and xc8 v1.31 :<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>"G:&#92;Microchip&#92;xc8&#92;v2.31&#92;bin&#92;xc8-cc.exe" -c  -mcpu=16F1938  -D__DEBUG=1  -mdebugger=none  -mdfp="G:/Microchip/MPLABX/v6.15/packs/Microchip/PIC12-16F1xxx_DFP/1.6.241/xc8"  -fno-short-double -fno-short-float -O0 -fasmfile -maddrqual=ignore -xassembler-with-cpp -mwarn=-3 -Wa,-a -DXPRJ_default=default  -msummary=-psect,-class,+mem,-hex,-file  -ginhx32 -Wl,--data-init -mno-keep-startup -mno-osccal -mno-resetbits -mno-save-resetbits -mno-download -mno-stackcall -mno-default-config-bits -std=c99 -gdwarf-3 -mstack=compiled:auto:auto  -o build/default/debug/_ext/1360937237/ds30loader.o  ../src/ds30loader.s <br />
Non line specific message::: warning: (1020) unknown attribute "CONFIGPROG" in chipinfo file "G:/Microchip/MPLABX/v6.15/packs/Microchip/PIC12-16F1xxx_DFP/1.6.241/xc8&#92;pic&#92;dat&#92;ini&#92;16f1938.ini" at line 185<br />
Non line specific message::: warning: (1020) unknown attribute "IDLOCPROG" in chipinfo file "G:/Microchip/MPLABX/v6.15/packs/Microchip/PIC12-16F1xxx_DFP/1.6.241/xc8&#92;pic&#92;dat&#92;ini&#92;16f1938.ini" at line 195<br />
Non line specific message::: warning: (1020) unknown attribute "CONFIGPROG" in chipinfo file "G:/Microchip/MPLABX/v6.15/packs/Microchip/PIC12-16F1xxx_DFP/1.6.241/xc8&#92;pic&#92;dat&#92;ini&#92;16f1938.ini" at line 185<br />
Non line specific message::: warning: (1020) unknown attribute "IDLOCPROG" in chipinfo file "G:/Microchip/MPLABX/v6.15/packs/Microchip/PIC12-16F1xxx_DFP/1.6.241/xc8&#92;pic&#92;dat&#92;ini&#92;16f1938.ini" at line 195<br />
"G:&#92;Microchip&#92;xc8&#92;v2.31&#92;bin&#92;xc8-cc.exe"  -mcpu=16F1938 -Wl,-Map=dist/default/debug/ds30Loader_12F_16F.X.debug.map  -D__DEBUG=1  -mdebugger=none  -DXPRJ_default=default  -Wl,--defsym=__MPLAB_BUILD=1  -mdfp="G:/Microchip/MPLABX/v6.15/packs/Microchip/PIC12-16F1xxx_DFP/1.6.241/xc8"  -fno-short-double -fno-short-float -O0 -fasmfile -maddrqual=ignore -xassembler-with-cpp -mwarn=-3 -Wa,-a -msummary=-psect,-class,+mem,-hex,-file  -ginhx32 -Wl,--data-init -mno-keep-startup -mno-osccal -mno-resetbits -mno-save-resetbits -mno-download -mno-stackcall -mno-default-config-bits -std=c99 -gdwarf-3 -mstack=compiled:auto:auto        -Wl,--memorysummary,dist/default/debug/memoryfile.xml -o dist/default/debug/ds30Loader_12F_16F.X.debug.elf  build/default/debug/_ext/1360937237/ds30loader.o    <br />
Non line specific message::: warning: (1020) unknown attribute "CONFIGPROG" in chipinfo file "G:/Microchip/MPLABX/v6.15/packs/Microchip/PIC12-16F1xxx_DFP/1.6.241/xc8&#92;pic&#92;dat&#92;ini&#92;16f1938.ini" at line 185<br />
Non line specific message::: warning: (1020) unknown attribute "IDLOCPROG" in chipinfo file "G:/Microchip/MPLABX/v6.15/packs/Microchip/PIC12-16F1xxx_DFP/1.6.241/xc8&#92;pic&#92;dat&#92;ini&#92;16f1938.ini" at line 195<br />
Non line specific message::: warning: (1020) unknown attribute "CONFIGPROG" in chipinfo file "G:/Microchip/MPLABX/v6.15/packs/Microchip/PIC12-16F1xxx_DFP/1.6.241/xc8&#92;pic&#92;dat&#92;ini&#92;16f1938.ini" at line 185<br />
Non line specific message::: warning: (1020) unknown attribute "IDLOCPROG" in chipinfo file "G:/Microchip/MPLABX/v6.15/packs/Microchip/PIC12-16F1xxx_DFP/1.6.241/xc8&#92;pic&#92;dat&#92;ini&#92;16f1938.ini" at line 195<br />
:0:: error: (500) undefined symbols:<br />
_main(E:&#92;TMP&#92;skek.o) start_initialization(E:&#92;TMP&#92;skek.o) <br />
build/default/debug/_ext/1360937237/ds30loader.o:74:: error: (501) program entry point is defined more than once<br />
(908) exit status = 1</code></div></div><br />
<br />
When trying pack 1.6.241 xc8 2.41:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>::: error: (2096) undefined symbol "_main" (E:&#92;TMP&#92;xcBsis4.1&#92;driver_tmp_6.o)<br />
::: error: (2096) undefined symbol "start_initialization" (E:&#92;TMP&#92;xcBsis4.1&#92;driver_tmp_6.o)<br />
build/default/debug/_ext/1360937237/ds30loader.o:70:: error: (501) program entry point is defined more than once</code></div></div><br />
<br />
I am not really sure how to tackle the problem since I'm guessing this build has already been tested and works for other people and depending on the version I am using I keep getting different errors.<br />
Any help will be appreciated!]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Very basic getting started guide]]></title>
			<link>https://picbootloader.com/forum/showthread.php?tid=22569</link>
			<pubDate>Wed, 26 Jun 2024 21:14:09 +0200</pubDate>
			<dc:creator><![CDATA[<a href="https://picbootloader.com/forum/member.php?action=profile&uid=0">RGV250</a>]]></dc:creator>
			<guid isPermaLink="false">https://picbootloader.com/forum/showthread.php?tid=22569</guid>
			<description><![CDATA[Hi,<br />
I could not really find a place to post this, possibly need a general tab?<br />
I keep looking from time to time about using a bootloader but I cannot get past the very simple thing on where to start. I have looked at the manuals and am still none the wiser. I have only used the Amicus18 with a bootloader and for that there was a bootloader file which was already created. What I seem to find with ds30 is the application where you select your project and download it but first the bootloader code must already be on the device. <br />
This is the bit I am struggling to get past, it would be nice if there was an asm file with comments to show what needs to be configured or does the studio do that as well?<br />
Once the bootloader file is on the device do you need to set all the configurations in studio everytime or can you save a configuration.<br />
<br />
Regards,<br />
Bob]]></description>
			<content:encoded><![CDATA[Hi,<br />
I could not really find a place to post this, possibly need a general tab?<br />
I keep looking from time to time about using a bootloader but I cannot get past the very simple thing on where to start. I have looked at the manuals and am still none the wiser. I have only used the Amicus18 with a bootloader and for that there was a bootloader file which was already created. What I seem to find with ds30 is the application where you select your project and download it but first the bootloader code must already be on the device. <br />
This is the bit I am struggling to get past, it would be nice if there was an asm file with comments to show what needs to be configured or does the studio do that as well?<br />
Once the bootloader file is on the device do you need to set all the configurations in studio everytime or can you save a configuration.<br />
<br />
Regards,<br />
Bob]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Help needed for PIC18F87J60 bootloader]]></title>
			<link>https://picbootloader.com/forum/showthread.php?tid=22477</link>
			<pubDate>Sat, 31 Dec 2022 16:23:08 +0100</pubDate>
			<dc:creator><![CDATA[<a href="https://picbootloader.com/forum/member.php?action=profile&uid=531744">galttar</a>]]></dc:creator>
			<guid isPermaLink="false">https://picbootloader.com/forum/showthread.php?tid=22477</guid>
			<description><![CDATA[Hello everyone.<br />
<br />
I'm already use ds30 loader for a long time and now I'm trying to compile a new version to test.<br />
Will post what I did until now without success.<br />
<br />
I'm using MPLAB X IDE v6.05 with MPLAB XC8 Compiler.<br />
<br />
First I opened firmware_18F_XC8 project from source code.<br />
On Project Properties I changed to PIC18F87J60 and chose pic-as. I tried with XC8 but I couldn't go ahead.<br />
<br />
<img src="https://i.postimg.cc/nrRnhfcz/Project-Properties.png" loading="lazy"  alt="[Image: Project-Properties.png]" class="mycode_img" /><br />
<br />
<span style="font-weight: bold;" class="mycode_b">On settings.inc</span><br />
<br />
Configured the processor:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>;-------------------------------------------------------------------------------<br />
; Device<br />
;-------------------------------------------------------------------------------<br />
        processor       18F87J60                    ;xxx</code></div></div><br />
I'm using a crystal of 25MHz than changed the configuration for that.<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>;-------------------------------------------------------------------------------<br />
; User preferences<br />
;-------------------------------------------------------------------------------<br />
        #define         OSCF            25000000    //xxx oscillator frequency (including pll)<br />
        #define         BLINIT          2000        //xxx hello receive timeout [ms]<br />
        #define         HELLOTRIES      2           //xxx number of non hello characters received before branching to the user application<br />
        #define         BLTIME          2000        //xxx data receive timeout [ms]</code></div></div><br />
I'm using the UART 1 than I'm using the default configuration.<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>;-------------------------------------------------------------------------------<br />
; UART settings<br />
;-------------------------------------------------------------------------------<br />
        #define         USE_UART1       1           //xxx uncomment to use uart1<br />
        ;#define        USE_UART2       1           //xxx uncomment to use uart2<br />
        #define         BAUDRATE        115200      //xxx baudrate<br />
        ;#define        USE_ABAUD       1           //xxx uncomment to use auto baud rate detection, READ ERRATA FIRST<br />
        #define         USE_BRG16       1           //xxx uncomment to use 16-bit brg<br />
<br />
        ;#define        USE_TXENABLE    1           //xxx uncomment to use a tx enable pin<br />
        #ifdef USE_TXENABLE<br />
            #define     TXE_DELAY       10          //xxx time in us to wait before transmitting after pulling the tx enable pin high<br />
            #define     TRISR_TXE       TRISD       //xxx tris register containing tx enable<br />
            #define     LATR_TXE        LATD        //xxx port register containing tx enable<br />
            #define     TRISB_TXE       TRISD0      //xxx tris bit for tx enable<br />
            #define     LATB_TXE        RD0         //xxx port bit for tx enable<br />
        #endif</code></div></div><br />
Changed the configuration bits session for 18F87J60.<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>;-------------------------------------------------------------------------------<br />
; Configuration bits, these macros can be found at the end of the inc-files located in<br />
; C:&#92;Program Files&#92;Microchip&#92;MPASM Suite&#92;<br />
;<br />
; These can also be set in MPLAB IDE instead, they are found in Configure-&gt;Configuration bits...<br />
;-------------------------------------------------------------------------------<br />
<br />
// PIC18F87J60 Configuration Bit Settings<br />
<br />
// 'C' source line config statements<br />
<br />
// CONFIG1L<br />
config WDT = ON         // Watchdog Timer Enable bit (WDT enabled)<br />
config STVR = ON        // Stack Overflow/Underflow Reset Enable bit (Reset on stack overflow/underflow enabled)<br />
config XINST = ON       // Extended Instruction Set Enable bit (Instruction set extension and Indexed Addressing mode enabled)<br />
<br />
// CONFIG1H<br />
config CP0 = OFF        // Code Protection bit (Program memory is not code-protected)<br />
<br />
// CONFIG2L<br />
config FOSC = ECPLL     // Oscillator Selection bits (EC oscillator, PLL enabled and under software control, CLKO function on OSC2)<br />
config FOSC2 = ON       // Default/Reset System Clock Select bit (Clock selected by FOSC1:FOSC0 as system clock is enabled when OSCCON&lt;1:0&gt; = 00)<br />
config FCMEN = ON       // Fail-Safe Clock Monitor Enable (Fail-Safe Clock Monitor enabled)<br />
config IESO = ON        // Two-Speed Start-up (Internal/External Oscillator Switchover) Control bit (Two-Speed Start-up enabled)<br />
<br />
// CONFIG2H<br />
config WDTPS = 32768    // Watchdog Timer Postscaler Select bits (1:32768)<br />
<br />
// CONFIG3L<br />
<br />
// CONFIG3H<br />
config CCP2MX = ON      // ECCP2 MUX bit (ECCP2/P2A is multiplexed with RC1)<br />
config ECCPMX = ON      // ECCP MUX bit (ECCP1 outputs (P1B/P1C) are multiplexed with RE6 and RE5; ECCP3 outputs (P3B/P3C) are multiplexed with RE4 and RE3)<br />
config ETHLED = ON      // Ethernet LED Enable bit (RA0/RA1 are multiplexed with LEDA/LEDB when Ethernet module is enabled and function as I/O when Ethernet is disabled)</code></div></div><br />
<br />
Did all configuration, I started to try compile.<br />
The first problem was with STARTADDR.<br />
<img src="https://i.postimg.cc/tT75M8mb/STARTADDR-error.png" loading="lazy"  alt="[Image: STARTADDR-error.png]" class="mycode_img" /><br />
<br />
Following the code I found that STARTADDR is using BLPL64WP.<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>        #define     STARTADDR               ( MAX_FLASH - (BLPL64WP * 64 * 2) )                 //bootloader placement</code></div></div><br />
But this constant is just defined for 18F and not for 18FJ.<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>        #ifdef IS_18F<br />
            #define     BLPL64WP        4                           //bootloader placement in 64 word pages from end<br />
            #define     BLSIZE64WP      4                           //bootloader size in 64 word pages, used by bootloader protection<br />
<br />
            #define     BLPLP           (BLPL64WP * 64/PAGESIZEW)   //bootloader placement, pages from end<br />
            #define     BLSIZEP         (BLSIZE64WP * 64/PAGESIZEW) //bootloader size [pages], used by bootloader protection<br />
        #endif</code></div></div><br />
Another problem is that, on 18FJ define session, BLPL64WP and BLSIZE64WP are also used.<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>        #ifdef IS_18FJ<br />
            #define     BLPLP512WP      2                           //bootloader placement in 512 word pages from end<br />
            #define     BLSIZE512WP     1                           //bootloader size in 512 word pages, used by bootloader protection<br />
<br />
            #define     BLPLP           (BLPL64WP * 512/PAGESIZEW)  //bootloader placement, pages from end<br />
            #define     BLSIZEP         (BLSIZE64WP * 512/PAGESIZEW)//bootloader size [pages], used by bootloader protection<br />
        #endif</code></div></div><br />
<br />
I tried to solve this errors doing the followed changes.<br />
<br />
On IS_18FJ define session:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>        #ifdef IS_18FJ<br />
            #define     BLPLP512WP      2                           //bootloader placement in 512 word pages from end<br />
            #define     BLSIZE512WP     1                           //bootloader size in 512 word pages, used by bootloader protection<br />
<br />
            #define     BLPLP           (BLPLP512WP * 512/PAGESIZEW)  //bootloader placement, pages from end<br />
            #define     BLSIZEP         (BLSIZE512WP * 512/PAGESIZEW)//bootloader size [pages], used by bootloader protection<br />
        #endif</code></div></div><br />
On ds30loader.s:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>        #ifdef IS_18FJ<br />
&nbsp;&nbsp;&nbsp;&nbsp;    #define     STARTADDR               ( MAX_FLASH - (BLPLP512WP * 512 * 2) )                 //bootloader placement<br />
&nbsp;&nbsp;&nbsp;&nbsp;#else<br />
&nbsp;&nbsp;&nbsp;&nbsp;    #define     STARTADDR               ( MAX_FLASH - (BLPL64WP * 64 * 2) )                 //bootloader placement<br />
&nbsp;&nbsp;&nbsp;&nbsp;#endif</code></div></div><br />
Now it´s compiling with success but doesn't work.<br />
The project is attached.<br />
<br />
Any help is welcome.<br /><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://picbootloader.com/forum/images/attachtypes/zip.gif" title="ZIP File" border="0" alt=".zip" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=354" target="_blank" title="">firmware_18F_XC8_v01.zip</a> (Size: 157.66 KB / Downloads: 5)
<!-- end: postbit_attachments_attachment -->]]></description>
			<content:encoded><![CDATA[Hello everyone.<br />
<br />
I'm already use ds30 loader for a long time and now I'm trying to compile a new version to test.<br />
Will post what I did until now without success.<br />
<br />
I'm using MPLAB X IDE v6.05 with MPLAB XC8 Compiler.<br />
<br />
First I opened firmware_18F_XC8 project from source code.<br />
On Project Properties I changed to PIC18F87J60 and chose pic-as. I tried with XC8 but I couldn't go ahead.<br />
<br />
<img src="https://i.postimg.cc/nrRnhfcz/Project-Properties.png" loading="lazy"  alt="[Image: Project-Properties.png]" class="mycode_img" /><br />
<br />
<span style="font-weight: bold;" class="mycode_b">On settings.inc</span><br />
<br />
Configured the processor:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>;-------------------------------------------------------------------------------<br />
; Device<br />
;-------------------------------------------------------------------------------<br />
        processor       18F87J60                    ;xxx</code></div></div><br />
I'm using a crystal of 25MHz than changed the configuration for that.<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>;-------------------------------------------------------------------------------<br />
; User preferences<br />
;-------------------------------------------------------------------------------<br />
        #define         OSCF            25000000    //xxx oscillator frequency (including pll)<br />
        #define         BLINIT          2000        //xxx hello receive timeout [ms]<br />
        #define         HELLOTRIES      2           //xxx number of non hello characters received before branching to the user application<br />
        #define         BLTIME          2000        //xxx data receive timeout [ms]</code></div></div><br />
I'm using the UART 1 than I'm using the default configuration.<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>;-------------------------------------------------------------------------------<br />
; UART settings<br />
;-------------------------------------------------------------------------------<br />
        #define         USE_UART1       1           //xxx uncomment to use uart1<br />
        ;#define        USE_UART2       1           //xxx uncomment to use uart2<br />
        #define         BAUDRATE        115200      //xxx baudrate<br />
        ;#define        USE_ABAUD       1           //xxx uncomment to use auto baud rate detection, READ ERRATA FIRST<br />
        #define         USE_BRG16       1           //xxx uncomment to use 16-bit brg<br />
<br />
        ;#define        USE_TXENABLE    1           //xxx uncomment to use a tx enable pin<br />
        #ifdef USE_TXENABLE<br />
            #define     TXE_DELAY       10          //xxx time in us to wait before transmitting after pulling the tx enable pin high<br />
            #define     TRISR_TXE       TRISD       //xxx tris register containing tx enable<br />
            #define     LATR_TXE        LATD        //xxx port register containing tx enable<br />
            #define     TRISB_TXE       TRISD0      //xxx tris bit for tx enable<br />
            #define     LATB_TXE        RD0         //xxx port bit for tx enable<br />
        #endif</code></div></div><br />
Changed the configuration bits session for 18F87J60.<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>;-------------------------------------------------------------------------------<br />
; Configuration bits, these macros can be found at the end of the inc-files located in<br />
; C:&#92;Program Files&#92;Microchip&#92;MPASM Suite&#92;<br />
;<br />
; These can also be set in MPLAB IDE instead, they are found in Configure-&gt;Configuration bits...<br />
;-------------------------------------------------------------------------------<br />
<br />
// PIC18F87J60 Configuration Bit Settings<br />
<br />
// 'C' source line config statements<br />
<br />
// CONFIG1L<br />
config WDT = ON         // Watchdog Timer Enable bit (WDT enabled)<br />
config STVR = ON        // Stack Overflow/Underflow Reset Enable bit (Reset on stack overflow/underflow enabled)<br />
config XINST = ON       // Extended Instruction Set Enable bit (Instruction set extension and Indexed Addressing mode enabled)<br />
<br />
// CONFIG1H<br />
config CP0 = OFF        // Code Protection bit (Program memory is not code-protected)<br />
<br />
// CONFIG2L<br />
config FOSC = ECPLL     // Oscillator Selection bits (EC oscillator, PLL enabled and under software control, CLKO function on OSC2)<br />
config FOSC2 = ON       // Default/Reset System Clock Select bit (Clock selected by FOSC1:FOSC0 as system clock is enabled when OSCCON&lt;1:0&gt; = 00)<br />
config FCMEN = ON       // Fail-Safe Clock Monitor Enable (Fail-Safe Clock Monitor enabled)<br />
config IESO = ON        // Two-Speed Start-up (Internal/External Oscillator Switchover) Control bit (Two-Speed Start-up enabled)<br />
<br />
// CONFIG2H<br />
config WDTPS = 32768    // Watchdog Timer Postscaler Select bits (1:32768)<br />
<br />
// CONFIG3L<br />
<br />
// CONFIG3H<br />
config CCP2MX = ON      // ECCP2 MUX bit (ECCP2/P2A is multiplexed with RC1)<br />
config ECCPMX = ON      // ECCP MUX bit (ECCP1 outputs (P1B/P1C) are multiplexed with RE6 and RE5; ECCP3 outputs (P3B/P3C) are multiplexed with RE4 and RE3)<br />
config ETHLED = ON      // Ethernet LED Enable bit (RA0/RA1 are multiplexed with LEDA/LEDB when Ethernet module is enabled and function as I/O when Ethernet is disabled)</code></div></div><br />
<br />
Did all configuration, I started to try compile.<br />
The first problem was with STARTADDR.<br />
<img src="https://i.postimg.cc/tT75M8mb/STARTADDR-error.png" loading="lazy"  alt="[Image: STARTADDR-error.png]" class="mycode_img" /><br />
<br />
Following the code I found that STARTADDR is using BLPL64WP.<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>        #define     STARTADDR               ( MAX_FLASH - (BLPL64WP * 64 * 2) )                 //bootloader placement</code></div></div><br />
But this constant is just defined for 18F and not for 18FJ.<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>        #ifdef IS_18F<br />
            #define     BLPL64WP        4                           //bootloader placement in 64 word pages from end<br />
            #define     BLSIZE64WP      4                           //bootloader size in 64 word pages, used by bootloader protection<br />
<br />
            #define     BLPLP           (BLPL64WP * 64/PAGESIZEW)   //bootloader placement, pages from end<br />
            #define     BLSIZEP         (BLSIZE64WP * 64/PAGESIZEW) //bootloader size [pages], used by bootloader protection<br />
        #endif</code></div></div><br />
Another problem is that, on 18FJ define session, BLPL64WP and BLSIZE64WP are also used.<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>        #ifdef IS_18FJ<br />
            #define     BLPLP512WP      2                           //bootloader placement in 512 word pages from end<br />
            #define     BLSIZE512WP     1                           //bootloader size in 512 word pages, used by bootloader protection<br />
<br />
            #define     BLPLP           (BLPL64WP * 512/PAGESIZEW)  //bootloader placement, pages from end<br />
            #define     BLSIZEP         (BLSIZE64WP * 512/PAGESIZEW)//bootloader size [pages], used by bootloader protection<br />
        #endif</code></div></div><br />
<br />
I tried to solve this errors doing the followed changes.<br />
<br />
On IS_18FJ define session:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>        #ifdef IS_18FJ<br />
            #define     BLPLP512WP      2                           //bootloader placement in 512 word pages from end<br />
            #define     BLSIZE512WP     1                           //bootloader size in 512 word pages, used by bootloader protection<br />
<br />
            #define     BLPLP           (BLPLP512WP * 512/PAGESIZEW)  //bootloader placement, pages from end<br />
            #define     BLSIZEP         (BLSIZE512WP * 512/PAGESIZEW)//bootloader size [pages], used by bootloader protection<br />
        #endif</code></div></div><br />
On ds30loader.s:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>        #ifdef IS_18FJ<br />
&nbsp;&nbsp;&nbsp;&nbsp;    #define     STARTADDR               ( MAX_FLASH - (BLPLP512WP * 512 * 2) )                 //bootloader placement<br />
&nbsp;&nbsp;&nbsp;&nbsp;#else<br />
&nbsp;&nbsp;&nbsp;&nbsp;    #define     STARTADDR               ( MAX_FLASH - (BLPL64WP * 64 * 2) )                 //bootloader placement<br />
&nbsp;&nbsp;&nbsp;&nbsp;#endif</code></div></div><br />
Now it´s compiling with success but doesn't work.<br />
The project is attached.<br />
<br />
Any help is welcome.<br /><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://picbootloader.com/forum/images/attachtypes/zip.gif" title="ZIP File" border="0" alt=".zip" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=354" target="_blank" title="">firmware_18F_XC8_v01.zip</a> (Size: 157.66 KB / Downloads: 5)
<!-- end: postbit_attachments_attachment -->]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[PIC18F25K50 does not respond]]></title>
			<link>https://picbootloader.com/forum/showthread.php?tid=22455</link>
			<pubDate>Fri, 21 May 2021 04:50:23 +0200</pubDate>
			<dc:creator><![CDATA[<a href="https://picbootloader.com/forum/member.php?action=profile&uid=127981">jccortes</a>]]></dc:creator>
			<guid isPermaLink="false">https://picbootloader.com/forum/showthread.php?tid=22455</guid>
			<description><![CDATA[I have a few days, trying to get it to work on the PIC18F25K50 without success<br />
<br />
it never responds, I have tested the port loading a program, and it works correctly, only the bootloader does not work<br />
<br />
I am attaching my project in case you could help me<br /><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://picbootloader.com/forum/images/attachtypes/zip.gif" title="ZIP File" border="0" alt=".zip" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=353" target="_blank" title="">firmware_PIC18F_25K50_8Mhz_57600baud.zip</a> (Size: 76.09 KB / Downloads: 1)
<!-- end: postbit_attachments_attachment -->]]></description>
			<content:encoded><![CDATA[I have a few days, trying to get it to work on the PIC18F25K50 without success<br />
<br />
it never responds, I have tested the port loading a program, and it works correctly, only the bootloader does not work<br />
<br />
I am attaching my project in case you could help me<br /><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://picbootloader.com/forum/images/attachtypes/zip.gif" title="ZIP File" border="0" alt=".zip" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=353" target="_blank" title="">firmware_PIC18F_25K50_8Mhz_57600baud.zip</a> (Size: 76.09 KB / Downloads: 1)
<!-- end: postbit_attachments_attachment -->]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[pic18f46k22 bootloader]]></title>
			<link>https://picbootloader.com/forum/showthread.php?tid=22406</link>
			<pubDate>Thu, 27 Aug 2020 09:28:13 +0200</pubDate>
			<dc:creator><![CDATA[<a href="https://picbootloader.com/forum/member.php?action=profile&uid=130859">sridhar</a>]]></dc:creator>
			<guid isPermaLink="false">https://picbootloader.com/forum/showthread.php?tid=22406</guid>
			<description><![CDATA[Hi <br />
I am updating pic18f46k22 bootloader to help others in developing bootloader<br />
as it helped me <br />
Best Regards<br />
 R Sridhar<br /><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://picbootloader.com/forum/images/attachtypes/zip.gif" title="ZIP File" border="0" alt=".zip" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=352" target="_blank" title="">v6 pic18f46k22detected but need  for pic18f46k80 bootloader.zip</a> (Size: 101.35 KB / Downloads: 34)
<!-- end: postbit_attachments_attachment -->]]></description>
			<content:encoded><![CDATA[Hi <br />
I am updating pic18f46k22 bootloader to help others in developing bootloader<br />
as it helped me <br />
Best Regards<br />
 R Sridhar<br /><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://picbootloader.com/forum/images/attachtypes/zip.gif" title="ZIP File" border="0" alt=".zip" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=352" target="_blank" title="">v6 pic18f46k22detected but need  for pic18f46k80 bootloader.zip</a> (Size: 101.35 KB / Downloads: 34)
<!-- end: postbit_attachments_attachment -->]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[pic18f bootloader purchase]]></title>
			<link>https://picbootloader.com/forum/showthread.php?tid=22379</link>
			<pubDate>Fri, 10 Jul 2020 08:19:52 +0200</pubDate>
			<dc:creator><![CDATA[<a href="https://picbootloader.com/forum/member.php?action=profile&uid=130859">sridhar</a>]]></dc:creator>
			<guid isPermaLink="false">https://picbootloader.com/forum/showthread.php?tid=22379</guid>
			<description><![CDATA[Hi<br />
I need boot loader for pic 18f 27q10 micro controller<br />
It will be good if it supports vast series<br />
I want to buy commercial one <br />
Please provide link<br />
Thanks<br />
R Sridhar]]></description>
			<content:encoded><![CDATA[Hi<br />
I need boot loader for pic 18f 27q10 micro controller<br />
It will be good if it supports vast series<br />
I want to buy commercial one <br />
Please provide link<br />
Thanks<br />
R Sridhar]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[pic18f46k22]]></title>
			<link>https://picbootloader.com/forum/showthread.php?tid=22378</link>
			<pubDate>Thu, 09 Jul 2020 07:18:06 +0200</pubDate>
			<dc:creator><![CDATA[<a href="https://picbootloader.com/forum/member.php?action=profile&uid=130859">sridhar</a>]]></dc:creator>
			<guid isPermaLink="false">https://picbootloader.com/forum/showthread.php?tid=22378</guid>
			<description><![CDATA[Hi <br />
I am trying to develop bootloader for pic18f46k80 microcontroller<br />
But currently i am having pic18f46k22 microcontroller<br />
So developing my code for that pic18f46k22 microcontroller<br />
<br />
The bootloader can detect the microcontroller <br />
But I can't able to tick write and I don't know why?<br />
<br />
I am attaching my code for reference<br />
Please someone give any suggestions<br />
<br />
Thanks in advance<br />
R Sridhar<br /><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://picbootloader.com/forum/images/attachtypes/zip.gif" title="ZIP File" border="0" alt=".zip" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=348" target="_blank" title="">v5 pic18f46k22 57600BR switchra6.zip</a> (Size: 101.51 KB / Downloads: 4)
<!-- end: postbit_attachments_attachment -->]]></description>
			<content:encoded><![CDATA[Hi <br />
I am trying to develop bootloader for pic18f46k80 microcontroller<br />
But currently i am having pic18f46k22 microcontroller<br />
So developing my code for that pic18f46k22 microcontroller<br />
<br />
The bootloader can detect the microcontroller <br />
But I can't able to tick write and I don't know why?<br />
<br />
I am attaching my code for reference<br />
Please someone give any suggestions<br />
<br />
Thanks in advance<br />
R Sridhar<br /><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://picbootloader.com/forum/images/attachtypes/zip.gif" title="ZIP File" border="0" alt=".zip" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=348" target="_blank" title="">v5 pic18f46k22 57600BR switchra6.zip</a> (Size: 101.51 KB / Downloads: 4)
<!-- end: postbit_attachments_attachment -->]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[pic18f27q10]]></title>
			<link>https://picbootloader.com/forum/showthread.php?tid=22341</link>
			<pubDate>Wed, 10 Jun 2020 05:03:18 +0200</pubDate>
			<dc:creator><![CDATA[<a href="https://picbootloader.com/forum/member.php?action=profile&uid=130859">sridhar</a>]]></dc:creator>
			<guid isPermaLink="false">https://picbootloader.com/forum/showthread.php?tid=22341</guid>
			<description><![CDATA[Dear Sir<br />
Please anyone can send boot loader code for this controller or similar<br />
to this controller<br />
Thanks<br />
R Sridhar]]></description>
			<content:encoded><![CDATA[Dear Sir<br />
Please anyone can send boot loader code for this controller or similar<br />
to this controller<br />
Thanks<br />
R Sridhar]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Searching for bootloader times out]]></title>
			<link>https://picbootloader.com/forum/showthread.php?tid=22335</link>
			<pubDate>Thu, 28 May 2020 14:17:37 +0200</pubDate>
			<dc:creator><![CDATA[<a href="https://picbootloader.com/forum/member.php?action=profile&uid=131291">Kevin4455</a>]]></dc:creator>
			<guid isPermaLink="false">https://picbootloader.com/forum/showthread.php?tid=22335</guid>
			<description><![CDATA[I'm getting:<br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>Initiating read...<br />
      Searching for bl . . . . . . . . . . . . . . . . . . . . . timed out<br />
      Read  failed</code></div></div><br />
whenever I try to update the dsPIC30F6013A . <br />
<br />
Debug mode does not show anything aside from the above. Should I overwrite the bootloader?]]></description>
			<content:encoded><![CDATA[I'm getting:<br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>Initiating read...<br />
      Searching for bl . . . . . . . . . . . . . . . . . . . . . timed out<br />
      Read  failed</code></div></div><br />
whenever I try to update the dsPIC30F6013A . <br />
<br />
Debug mode does not show anything aside from the above. Should I overwrite the bootloader?]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[pic24fj256ga106 cannot succeed make it work]]></title>
			<link>https://picbootloader.com/forum/showthread.php?tid=22298</link>
			<pubDate>Tue, 31 Mar 2020 09:25:52 +0200</pubDate>
			<dc:creator><![CDATA[<a href="https://picbootloader.com/forum/member.php?action=profile&uid=131184">kabouras_33</a>]]></dc:creator>
			<guid isPermaLink="false">https://picbootloader.com/forum/showthread.php?tid=22298</guid>
			<description><![CDATA[Dear all,<br />
Hello, and I hope you are well in such difficult times that we are going through!!!please be safe and stay home!<br />
Now ...my name is George and I am here to ask for your help.<br />
Well, I am trying to implement a bootloader for the pic24fj256ga106 but after days of trying I thing I cannot....i used successfully the 18f firmware to program a 18f67j50 it went like a breeze perfect....well it is not the same case for the pic 24..... I will upload the project I have made with the relative changes ( <span style="font-size: small;" class="mycode_size"><span style="font-family: Tahoma, Verdana, Arial, sans-serif;" class="mycode_font"><a href="https://www.dropbox.com/s/nuw45bkd1nu4qz0/firmware_16-bit.rar?dl=0" target="_blank" rel="noopener" class="mycode_url">boot_mplab_project</a> ) </span></span>so if someone has any suggestions it would be great.<br />
I changed the configuration bits, I remapped the inputs/outputs, I changed the fcy.....nothing.<br />
Thanks a lot and once again stay safe]]></description>
			<content:encoded><![CDATA[Dear all,<br />
Hello, and I hope you are well in such difficult times that we are going through!!!please be safe and stay home!<br />
Now ...my name is George and I am here to ask for your help.<br />
Well, I am trying to implement a bootloader for the pic24fj256ga106 but after days of trying I thing I cannot....i used successfully the 18f firmware to program a 18f67j50 it went like a breeze perfect....well it is not the same case for the pic 24..... I will upload the project I have made with the relative changes ( <span style="font-size: small;" class="mycode_size"><span style="font-family: Tahoma, Verdana, Arial, sans-serif;" class="mycode_font"><a href="https://www.dropbox.com/s/nuw45bkd1nu4qz0/firmware_16-bit.rar?dl=0" target="_blank" rel="noopener" class="mycode_url">boot_mplab_project</a> ) </span></span>so if someone has any suggestions it would be great.<br />
I changed the configuration bits, I remapped the inputs/outputs, I changed the fcy.....nothing.<br />
Thanks a lot and once again stay safe]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[PIC16F1938 bootloader]]></title>
			<link>https://picbootloader.com/forum/showthread.php?tid=22194</link>
			<pubDate>Wed, 21 Aug 2019 06:20:25 +0200</pubDate>
			<dc:creator><![CDATA[<a href="https://picbootloader.com/forum/member.php?action=profile&uid=130859">sridhar</a>]]></dc:creator>
			<guid isPermaLink="false">https://picbootloader.com/forum/showthread.php?tid=22194</guid>
			<description><![CDATA[Dear all,<br />
<br />
I have attached the bootloader for PIC16F1938 with little modicafications<br />
in the original code.<br />
It may help someone as like me.<br />
I have used pin RA5 for bootloader mode during power ON condition for <br />
2 seconds , after which it will go to user application.<br />
<br />
Thanks<br /><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://picbootloader.com/forum/images/attachtypes/zip.gif" title="ZIP File" border="0" alt=".zip" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=338" target="_blank" title="">ds30 Loader -v26 hwlck for boot.zip</a> (Size: 1,022.94 KB / Downloads: 27)
<!-- end: postbit_attachments_attachment -->]]></description>
			<content:encoded><![CDATA[Dear all,<br />
<br />
I have attached the bootloader for PIC16F1938 with little modicafications<br />
in the original code.<br />
It may help someone as like me.<br />
I have used pin RA5 for bootloader mode during power ON condition for <br />
2 seconds , after which it will go to user application.<br />
<br />
Thanks<br /><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://picbootloader.com/forum/images/attachtypes/zip.gif" title="ZIP File" border="0" alt=".zip" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=338" target="_blank" title="">ds30 Loader -v26 hwlck for boot.zip</a> (Size: 1,022.94 KB / Downloads: 27)
<!-- end: postbit_attachments_attachment -->]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[dspic30f6012A bootloader found but write fails]]></title>
			<link>https://picbootloader.com/forum/showthread.php?tid=22190</link>
			<pubDate>Mon, 19 Aug 2019 10:25:45 +0200</pubDate>
			<dc:creator><![CDATA[<a href="https://picbootloader.com/forum/member.php?action=profile&uid=130859">sridhar</a>]]></dc:creator>
			<guid isPermaLink="false">https://picbootloader.com/forum/showthread.php?tid=22190</guid>
			<description><![CDATA[dear sir<br />
I dont know what issue i am facing.I have configured oscillator and uart;I have checked uart in appplication<br />
The issue i am facing is ia cant able to uploade hex file ,but the bootloader detection is happening.<br />
<br />
please reply<br /><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://picbootloader.com/forum/images/attachtypes/zip.gif" title="ZIP File" border="0" alt=".zip" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=336" target="_blank" title="">bootloader dsv27.zip</a> (Size: 371.12 KB / Downloads: 10)
<!-- end: postbit_attachments_attachment -->]]></description>
			<content:encoded><![CDATA[dear sir<br />
I dont know what issue i am facing.I have configured oscillator and uart;I have checked uart in appplication<br />
The issue i am facing is ia cant able to uploade hex file ,but the bootloader detection is happening.<br />
<br />
please reply<br /><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://picbootloader.com/forum/images/attachtypes/zip.gif" title="ZIP File" border="0" alt=".zip" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=336" target="_blank" title="">bootloader dsv27.zip</a> (Size: 371.12 KB / Downloads: 10)
<!-- end: postbit_attachments_attachment -->]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[hex file]]></title>
			<link>https://picbootloader.com/forum/showthread.php?tid=22073</link>
			<pubDate>Sat, 26 Jan 2019 18:44:17 +0100</pubDate>
			<dc:creator><![CDATA[<a href="https://picbootloader.com/forum/member.php?action=profile&uid=0">chicobreaux58@gmail.com</a>]]></dc:creator>
			<guid isPermaLink="false">https://picbootloader.com/forum/showthread.php?tid=22073</guid>
			<description><![CDATA[when im in the ds30 bootloader for hex file I type in EVCC230Upgrade.hex <br />
it tells me that the hex file does not exist<br />
can anyone point me in the right direction on getting this hex file<br />
thanks]]></description>
			<content:encoded><![CDATA[when im in the ds30 bootloader for hex file I type in EVCC230Upgrade.hex <br />
it tells me that the hex file does not exist<br />
can anyone point me in the right direction on getting this hex file<br />
thanks]]></content:encoded>
		</item>
		<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[Reserving memory for bootloader]]></title>
			<link>https://picbootloader.com/forum/showthread.php?tid=22011</link>
			<pubDate>Mon, 11 Jun 2018 01:06:11 +0200</pubDate>
			<dc:creator><![CDATA[<a href="https://picbootloader.com/forum/member.php?action=profile&uid=0">mah115</a>]]></dc:creator>
			<guid isPermaLink="false">https://picbootloader.com/forum/showthread.php?tid=22011</guid>
			<description><![CDATA[Hi,<br />
   I have a project where I'm using Microchip's Flash EEPROM emulation library to store non-volatile data, (similar situation as in this post: <a href="https://picbootloader.com/forum/showthread.php?tid=187&amp;highlight=an+1095" target="_blank" rel="noopener" class="mycode_url">https://picbootloader.com/forum/showthre...ht=an+1095</a>).<br />
<br />
I want to explicitly place the non-volatile memory because the EEPROM library will have an error if it tries to initialize a memory block that already has other unerased data in it from a different program.  However, when I do this, the linker starts putting code in the memory areas where the bootloader would go.  I tried to work around this by reserving a block of memory, but when I load the code I get stuck in the AddressError trap.<br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>unsigned char BL_placeholder[1024]<br />
    __attribute__((space(prob), aligned(1024),address(0x00A400), noload));</code></div></div><br />
I'm using a PIC24FJ64GB106 and the C30 compiler.  If I understand this correctly, the bootloader would be placed at address 0xA400, this seems to be the case from looking at the memory map of the ds30 build.  <br />
<br />
I don't understand why I'm getting an addressing error after loading the program, any help is appreciated.  Thanks!]]></description>
			<content:encoded><![CDATA[Hi,<br />
   I have a project where I'm using Microchip's Flash EEPROM emulation library to store non-volatile data, (similar situation as in this post: <a href="https://picbootloader.com/forum/showthread.php?tid=187&amp;highlight=an+1095" target="_blank" rel="noopener" class="mycode_url">https://picbootloader.com/forum/showthre...ht=an+1095</a>).<br />
<br />
I want to explicitly place the non-volatile memory because the EEPROM library will have an error if it tries to initialize a memory block that already has other unerased data in it from a different program.  However, when I do this, the linker starts putting code in the memory areas where the bootloader would go.  I tried to work around this by reserving a block of memory, but when I load the code I get stuck in the AddressError trap.<br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>unsigned char BL_placeholder[1024]<br />
    __attribute__((space(prob), aligned(1024),address(0x00A400), noload));</code></div></div><br />
I'm using a PIC24FJ64GB106 and the C30 compiler.  If I understand this correctly, the bootloader would be placed at address 0xA400, this seems to be the case from looking at the memory map of the ds30 build.  <br />
<br />
I don't understand why I'm getting an addressing error after loading the program, any help is appreciated.  Thanks!]]></content:encoded>
		</item>
	</channel>
</rss>