SF compiler reconize wrong pic?
Moderators: David Barker, Jerry Messina
SF compiler reconize wrong pic?
Using Swordfish compiler in conjunction with Pickit2
using same code but programming an 18F24K20 no problems
using same code but didn't catch the pic number was an 18F24K20 instead of 18F2420 in DEVICE
the code compiled without an error but wouldn't work as planned. Started getting worried!!
Got worried something went wrong or ?
after several minutes I saw by chance, the 18F24K20 in the code explorer instead of 18F2420
changed the DEVICE number and all is well
curious if this is "normal" for the compiler but didn't think it would compile ??
maybe a bug ??
using same code but programming an 18F24K20 no problems
using same code but didn't catch the pic number was an 18F24K20 instead of 18F2420 in DEVICE
the code compiled without an error but wouldn't work as planned. Started getting worried!!
Got worried something went wrong or ?
after several minutes I saw by chance, the 18F24K20 in the code explorer instead of 18F2420
changed the DEVICE number and all is well
curious if this is "normal" for the compiler but didn't think it would compile ??
maybe a bug ??
- David Barker
- Swordfish Developer
- Posts: 1214
- Joined: Tue Oct 03, 2006 7:01 pm
- Location: Saltburn by the Sea, UK
- Contact:
Re: SF compiler reconize wrong pic?
I don't understand your post. Please state clearly what the problem is.
Re: SF compiler reconize wrong pic?
It isn't really a problem but curious why the SF compiler used with a Pickit2 didn't recognize I had a different pic.
I am using an 18F2420 to test out and configure my code. Then I connect the Pickit2 /ICSP to my pcboard that has an 18F24K20 soldered to it. I failed to add the K in the DEVICE setting but the code compiled it anyway but the pcboard project would not run until I redid the compile with correct DEVICE number.
Maybe someone has had same problem and couldn't figure out WHY when it worked yesterday, same code but didn't change DEVICE number BUT it still compiled.
I am using an 18F2420 to test out and configure my code. Then I connect the Pickit2 /ICSP to my pcboard that has an 18F24K20 soldered to it. I failed to add the K in the DEVICE setting but the code compiled it anyway but the pcboard project would not run until I redid the compile with correct DEVICE number.
Maybe someone has had same problem and couldn't figure out WHY when it worked yesterday, same code but didn't change DEVICE number BUT it still compiled.
- David Barker
- Swordfish Developer
- Posts: 1214
- Joined: Tue Oct 03, 2006 7:01 pm
- Location: Saltburn by the Sea, UK
- Contact:
Re: SF compiler reconize wrong pic?
(a) Are you using Swordfish and Pickit2 from within MPLAB?
or
(b) are you using the Swordfish IDE and the command line interface to Pickit2?
or
(c) are you using the Swordfish IDE and programming using the Pickit2 via MPLAB?
or
(b) are you using the Swordfish IDE and the command line interface to Pickit2?
or
(c) are you using the Swordfish IDE and programming using the Pickit2 via MPLAB?
Re: SF compiler reconize wrong pic?
Am using Pickit2 v 2.61 (Pickit2 via MPLAB, have desktop icon shortcut)
Swordfish IDE (SE) version 2.2.1.6 ICC 1.1.5.5
I was/am curious but it's not an important issue. Just that I got worried why my code ran one day and not the next until I noticed the DEVICE number was missing the K (18F24K20)
Swordfish IDE (SE) version 2.2.1.6 ICC 1.1.5.5
I was/am curious but it's not an important issue. Just that I got worried why my code ran one day and not the next until I noticed the DEVICE number was missing the K (18F24K20)
Re: SF compiler reconize wrong pic?
David, I think MrDeb... Sorry Toyman seems to believe that Swordfish should detect what PIC is mounted on his board and refuse to compile if it detects the wrong device is fitted.
...
Somehow.
...
Even though Swordfish and Pickit are two completely separate entities.
...
...
Somehow.
...
Even though Swordfish and Pickit are two completely separate entities.
...
- David Barker
- Swordfish Developer
- Posts: 1214
- Joined: Tue Oct 03, 2006 7:01 pm
- Location: Saltburn by the Sea, UK
- Contact:
Re: SF compiler reconize wrong pic?
Yes, it doesn't look like a bug at all - it's a user issue rather than compiler...