ds30 Loader free edition forums
Add new device - PIC16LF1937 [solved] - Printable Version

+- ds30 Loader free edition forums (https://picbootloader.com/forum)
+-- Forum: Support (https://picbootloader.com/forum/forumdisplay.php?fid=3)
+--- Forum: 8-bit firmwares (https://picbootloader.com/forum/forumdisplay.php?fid=7)
+--- Thread: Add new device - PIC16LF1937 [solved] (/showthread.php?tid=502)



Add new device - PIC16LF1937 [solved] - egoltzman - 2012-06-29

Hello,

My target is PIC16LF1937 and I need to add it to the device list of both the firmware and the GUI, can I do it? How?

Thanks,

Eyal


RE: Add new device - PIC16LF1937 - Mikael Gustavsson - 2012-06-29

Hi,
It's as simple as downloading the latest version.

Mikael


RE: Add new device - PIC16LF1937 - egoltzman - 2012-06-29

(2012-06-29, 16:56:40)Mikael Gustafsson Wrote: Hi,
It's as simple as downloading the latest version.

Mikael
Hello Mikael,

I downloaded version 120325 with Firmware PIC12F & PIC16F 1.0.2 just a day ago, maybe I'm missing something, I can't see there the 16LF1937.

Please note I'm talking about the "LF" and not the "F" that they are basically the same but with different device ID.

Thanks,

Eyal



RE: Add new device - PIC16LF1937 - Mikael Gustavsson - 2012-07-03

Hi,
Ok, add these lines to devices.inc and use the non L-device in the GUI:
Code:
    ifdef    __16LF1937
        #include    p16LF1937.inc
        #define        VALID_DEV        1
        #define        MAX_FLASH        0x2000
        #define        RAM_START        
        #define        RAM_SIZEB        512
        #define        DEVICEID        465
        #define        HAS_EE           1
        #define        PAGESIZEW        32
        #define        ROWSIZEW        8
    endif