PIC24FJ256GB106 - Printable Version +- ds30 Loader free edition forums (https://picbootloader.com/forum) +-- Forum: Support (https://picbootloader.com/forum/forumdisplay.php?fid=3) +--- Forum: 16-bit firmwares (https://picbootloader.com/forum/forumdisplay.php?fid=6) +--- Thread: PIC24FJ256GB106 (/showthread.php?tid=2284) |
PIC24FJ256GB106 - neil_p01 - 2014-08-15 Hi Mikael, This is a great bootloader, however I'm having a bit of trouble getting it going on my application and would be really grateful of some guidance. I've edited the user_code.inc and settings.inc files, it compiles and programs fine but when I try to check for bootloader or write the user program using the GUI I get a timeout. External clock 19.6608MHz UART 1 RX = P31 (RP10); TX = P32 (RP17) No flow control connections Copied the config word settings from my program which works when I program it directly onto the PIC. Any suggestions are welcome, BR, Neil. RE: PIC24FJ256GB106 - neil_p01 - 2014-08-16 Good news, I've got it working. Just needed to add the two lines below in the file: user_code.inc ; Receive, map pin (10 = 1010) to uart bclr RPINR18, #U1RXR0 ;xxx bset RPINR18, #U1RXR1 ;xxx bclr RPINR18, #U1RXR2 ;xxx bset RPINR18, #U1RXR3 ;xxx bclr RPINR18, #U1RXR4 ;xxx bclr RPINR18, #U1RXR5 ;xxx <<<<< added this line ; Transmit, map uart to pin bset RPOR8, #RP17R0 ;xxx bset RPOR8, #RP17R1 ;xxx bclr RPOR8, #RP17R2 ;xxx bclr RPOR8, #RP17R3 ;xxx bclr RPOR8, #RP17R4 ;xxx bclr RPOR8, #RP17R5 ;xxx <<<<< added this line Great bootloader :-) Many Thanks, Neil. RE: PIC24FJ256GB106 - Pollux16 - 2014-08-16 Hahah Finally ! Thank you so much neil ! It resolves my problem too These 2 lines were missing. I'm so happy the bootloader works very well. Thanks again RE: PIC24FJ256GB106 - Mikael Gustavsson - 2014-08-17 Hi Neil, Thank you for the bug report. I will add these two lines to the package. Thanks Mikael |