MCUmall EPROM BIOS Chip Burner Forum
MCUmall EPROM BIOS Chip Burner Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 MCUmall Forums
 True USB Willem Programmer (GQ-2X,3X,4X & GQ-4x4)
 Microchip 16F1827
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

busterk

18 Posts

Posted - 06/15/2009 :  12:43:43  Show Profile  Reply with Quote
Could you add this pic for next sw release for GQ-4X?
Or could i add this myself?

Here are the specs:

P.Memory (Kbytes) 7 Flash
P.Memory (KWords) 4
Self-Write Flash Yes
RAM (Bytes) 384
EEPROM (Bytes) 256
I/O Pins 16
Max CPU Speed 32 MHz (8 MIPS)
Internal OSC 32 MHz, 32 kHz
Code Guard™ Security
System Mgmt Features BOR, LVD, POR, WDT, nanoWatt-[Low Speed, Fast Wake, Active Ctrl]
Analog Peripherals 2-Comparators w/SR-Latch, OpAmp, ShuntReg; 1A/D, 12x10-bit @ 100ksps
Digital Comm. Peripherals 1-A/E/USART, 2-MSSP(SPI/I2C)
Connectivity
Capture/Compare PWM Peripherals 2-CCP, 2-ECCP, 10-bitPWM
Digital Timers 4x8-bit, 1x16-bit
Application Peripherals No, EBI-No
Debug/Development Features ICSP, Integrated ICDdebug
Package (Pins) (18)
Operating Voltage (1.8V-5.5V)
Temperature Ranges (-40 to +125



Edited by - busterk on 06/15/2009 13:02:27
Reply #1

ZLM

2945 Posts

Posted - 06/15/2009 :  14:07:09  Show Profile  Reply with Quote
Is it DIP18 package?
Go to Top of Page
Reply #2

Bad_Ad84

210 Posts

Posted - 06/15/2009 :  15:09:05  Show Profile  Reply with Quote
id assume so, his post says "Package (Pins) (18) "
Go to Top of Page
Reply #3

busterk

18 Posts

Posted - 06/15/2009 :  20:34:15  Show Profile  Reply with Quote
quote:
Originally posted by ZLM

Is it DIP18 package?



yes it is
Go to Top of Page
Reply #4

ZLM

2945 Posts

Posted - 06/15/2009 :  22:40:49  Show Profile  Reply with Quote
I am unable to find the programming specification for this chip from Microchip.com.

Go to Top of Page
Reply #5

Bad_Ad84

210 Posts

Posted - 06/16/2009 :  03:05:06  Show Profile  Reply with Quote
hxxp://www.microchip.com/wwwproducts/Devices.aspx?dDocName=en538963

"Status: Future Product"
Go to Top of Page
Reply #6

busterk

18 Posts

Posted - 06/16/2009 :  10:54:11  Show Profile  Reply with Quote
quote:
Originally posted by Bad_Ad84

hxxp://www.microchip.com/wwwproducts/Devices.aspx?dDocName=en538963

"Status: Future Product"



I used hxxp://www.microchip.com/maps/microcontroller.aspx for finding
a pic with my specs , but it seems to also show future pics.

I think 16F737 will work but it has 28pin and i only need 6 :)

Go to Top of Page
Reply #7

RidDleZis1337@gmail.com

USA
9 Posts

Posted - 04/11/2010 :  23:29:03  Show Profile  Reply with Quote
BUMP! Hello, I've got a few of these pics and I see this fellows query has been forgotten. I now require support for this device, and Microchip now has the Programming Specs :) So, Was wondering if you could add support for it in the next release now? Or if not, how would one go about adding support for a device themselves?

*update*

I've been messing around with trying to add it myself and I've managed to get it to identify correctly and program the program memory successfully, however, the configuration bits will not program.

I've found the 16F1827.dev file in the MPLAB devices directory. I've edited the 'devices.txt' file to the best of my knowledge and here's what I've got:
Name="PIC16F1827",ID="2927A0",Class="PIC16FXXX",Category="MCU",MFG="Microchip",CodeSize="4096",EepromSize="256",Package="DIP18",BEGPRG_COMMAND="18",ENDPRG_COMMAND="0A",BEGERASECHIP_COMMAND="9",ERASECHIP_COMMAND="",Adapter="ICSP/PIC adapter+, no adapter required on GQ-4X";

Still.. no dice. I think its a 'class' problem. I don't think the PIC16Fxxx class uses the same configuration bit writing/erasing algorithms as this chip.. if anyone could help to point me in the right direction that would help lots :) I would really like to use this chip soon.

Edited by - RidDleZis1337@gmail.com on 04/12/2010 23:38:38
Go to Top of Page
Reply #8

ZLM

2945 Posts

Posted - 04/13/2010 :  11:11:15  Show Profile  Reply with Quote
This chip has different configuration bit address to other 16FXXX chips. Add CFGAddress(Hex)="8007" in the device line see if it works.

Name="PIC16F1827",ID="2927A0",Class="PIC16FXXX",Category="MCU",MFG="Microchip",CFGAddress(Hex)="8007",CodeSize="4096",EepromSize="256",Package="DIP18",BEGPRG_COMMAND="18",ENDPRG_COMMAND="0A",BEGERASECHIP_COMMAND="9",ERASECHIP_COMMAND="",Adapter="ICSP/PIC adapter+, no adapter required on GQ-4X";
Go to Top of Page
Reply #9

RidDleZis1337@gmail.com

USA
9 Posts

Posted - 04/13/2010 :  11:36:42  Show Profile  Reply with Quote
Thank you for your reply ZLM, I've tried adding the line to the devices.txt and now it just hangs when writing and reading to the cfg bits, but still fails. Could it be because there are two configuration bit words? one at 8007 and one at 8008? Also, I thought the DEV file would point the programmer to the correct cfg bits?
Go to Top of Page
Reply #10

ZLM

2945 Posts

Posted - 04/13/2010 :  14:59:29  Show Profile  Reply with Quote
How do you write the CFG bit? There are two ways: CFG button and auto write after code write.
Go to Top of Page
Reply #11

RidDleZis1337@gmail.com

USA
9 Posts

Posted - 04/14/2010 :  08:53:22  Show Profile  Reply with Quote
I've tried both ways and still nothing. I usually use the 'Auto' button after setting the right cfg bits in the 'Configuration' tab.

I've been looking into this some more and it seems the 16F1xxx chips are of a different family than the previous 16F5xxx - 16F9xxx chips

Could it be because the 16F1xxx chips are part of the 16Exxx Family apposed to the 16XXXX family? I'm not sure if this helps, I've got limited knowledge in this area. So let me know if I'm searching in all the wrong places
Also, the 16F1827 is supposed to be the upgrade from the 16F628A if I'm not mistaken, though setting the class to this chip still yields the same results..

Edited by - RidDleZis1337@gmail.com on 04/14/2010 11:19:15
Go to Top of Page
Reply #12

ZLM

2945 Posts

Posted - 04/14/2010 :  13:34:28  Show Profile  Reply with Quote
The 16F1827 is a new PIC chip. It has different CFG address. I will try it later and let you know then.
Go to Top of Page
Reply #13

ZLM

2945 Posts

Posted - 04/14/2010 :  15:57:42  Show Profile  Reply with Quote
I do not have this chip for testing. So, I tried it without the chip. But it seems working fine, no hangs.

Can you try to write without chip? uncheck the ID check box first.

What is your chip package? DIP 18 pin?


Go to Top of Page
Reply #14

RidDleZis1337@gmail.com

USA
9 Posts

Posted - 04/14/2010 :  19:16:30  Show Profile  Reply with Quote
Without the chip? I'm sorry, I don't know what you mean.

*edit*
Alright, I've removed the chip and went through the motions without loading a hex file. It successfully writes nothing and verifies it. Including the config bits which are all on. Also, when I change a config bit and attempt the same, the config bit verify fails as it should, correct?

and yes this is the DIP18

Edited by - RidDleZis1337@gmail.com on 04/14/2010 19:45:05
Go to Top of Page
Reply #15

ZLM

2945 Posts

Posted - 04/14/2010 :  22:21:33  Show Profile  Reply with Quote
That was I mean.


I think I need to get a chip for testing.
Go to Top of Page
Reply #16

RidDleZis1337@gmail.com

USA
9 Posts

Posted - 04/14/2010 :  23:59:12  Show Profile  Reply with Quote
Alright, but is there anything else I can do? I've got the chip right here :-/ It just seems so close with everything else verifying correctly..
Go to Top of Page
Reply #17

ZLM

2945 Posts

Posted - 04/15/2010 :  16:04:07  Show Profile  Reply with Quote
If your testing hangs when write the CFG, then it is hard to do the test.

First thing is to find out why it hangs during the write CFG bit.

OR

You can try to use ICSP connection to see if it still hangs. ICSP is to only connect 5 pins from programmer socket to chip.
Go to Top of Page
Reply #18

RidDleZis1337@gmail.com

USA
9 Posts

Posted - 04/16/2010 :  12:28:03  Show Profile  Reply with Quote
Alright, have tried both ways, ICSP and in programmer and still same result. Also, when I say it 'hangs' I do not mean it freezes. It just pauses for a few seconds and then continues to say verify failed.

If you need I wouldn't mind sending you a chip, but they're only like $2 a piece

Edited by - RidDleZis1337@gmail.com on 04/16/2010 13:53:03
Go to Top of Page
Reply #19

ZLM

2945 Posts

Posted - 04/17/2010 :  18:11:14  Show Profile  Reply with Quote
If you can wait, I will get a testing chips in 2 or 3 weeks. If you are in hurry, then you can send me a chip.
Go to Top of Page
Reply #20

RidDleZis1337@gmail.com

USA
9 Posts

Posted - 04/22/2010 :  20:13:51  Show Profile  Reply with Quote
I will be patiently waiting
Go to Top of Page
Reply #21

ZLM

2945 Posts

Posted - 04/29/2010 :  10:24:36  Show Profile  Reply with Quote
Try:

http://www.mcumall.com/download/TrueUSBWillem/GQUSBPrgRe5.03Beta.exe

Let me know if this works.
Go to Top of Page
Reply #22

RidDleZis1337@gmail.com

USA
9 Posts

Posted - 05/01/2010 :  06:40:21  Show Profile  Reply with Quote
YES! It sure does sir. Config bits write fine, let you know if anything turns up but this seems to do the trick. Thank you!
Go to Top of Page
Reply #23

RidDleZis1337@gmail.com

USA
9 Posts

Posted - 05/01/2010 :  19:29:45  Show Profile  Reply with Quote
I've got a strange issue now.. My code in MPLAB is compiled with all the config bits configured the way I want them, but when I load the .hex file into the programmer it doesn't recognize my changes. I have to manually set them all from the config tab anyway... It worked fine with other pics used and MPLAB shows the right values from the Configure->Configuration Bits menu. It seems to be a problem with the programming software?
Go to Top of Page
Reply #24

ZLM

2945 Posts

Posted - 05/01/2010 :  22:28:54  Show Profile  Reply with Quote
Download again and see if it fixed.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
MCUmall EPROM BIOS Chip Burner Forum © Copyright 2003 - 2009 Mcumall Electronics Inc. Go To Top Of Page
Generated in 0.13 sec. Snitz Forums 2000