Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PIC18LF25K50
26-03-2016, 11:49 AM,
#3
RE: PIC18LF25K50
Hello,

I found the line where the check is done.

As quick workaround, I simply disable the test:
qtgui\pinguino_api\uploader\uploader8.py @ 491:
Code:
if (False):

Now, I can download the sketch to the board. But it is a ugly way.

@ Pinguino developpers:

Do you think the below patch is valid with all PIC18 variants?


Code:
--- uploader8.py   2016-03-26 10:37:32.000000000 +0100
+++ uploader8.py   2016-03-26 10:37:43.000000000 +0100
@@ -489,4 +489,4 @@
        self.add_report(" - with PIC%s (id=%X)" % (proc, device_id))
       
-        if proc != board.proc:
+        if proc.replace('18lf', '18f') != board.proc:
            self.add_report("Aborting: program compiled for %s but device has %s" % (board.proc, proc))

Thoma
Reply


Messages In This Thread
PIC18LF25K50 - by Thoma HAUC - 25-03-2016, 05:10 PM
RE: PIC18LF25K50 - by jwzumwalt - 26-03-2016, 09:50 AM
RE: PIC18LF25K50 - by Thoma HAUC - 26-03-2016, 11:49 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)