Search Results
|
Post |
Author |
Forum |
Replies |
Views |
Posted
[asc]
|
|
|
Thread: 16f87 Write Flash failed errors [solved]
Post: RE: 16f87 Write Flash failed errors
OK, got it working. I think my voltage was a little high on the test bench. I saw some glitching in the terminal softare. The max3222 calls for 0.1 uf caps from 3.0 to 3.6volts. I have it working now ... |
|
KiloBravo |
8-bit firmwares
|
3 |
8,770 |
2012-09-09, 18:25:56 |
|
|
Thread: F88 Write Flash Errors [abandoned]
Post: F88 Write Flash Errors [abandoned]
I am using MPLAB X. I just downloaded it. I just downloaded a new copy of the DS30 Loader.
I am using the CCS C compiler ver 4.042. I am now using a PIC16F88 at 5 volts with the max3222 RS232 chip.
... |
|
KiloBravo |
8-bit firmwares
|
1 |
5,029 |
2012-09-08, 21:35:21 |
|
|
Thread: 16f87 Write Flash failed errors [solved]
Post: RE: 16f87 Write Flash failed errors
I did notice this in the settings.inc file
#define BLPLW 256
;bootloader placement, words from end, should be a multiple of 64
DS Loader says under Info Window
Start Address 0xF40
I change... |
|
KiloBravo |
8-bit firmwares
|
3 |
8,770 |
2012-09-08, 01:39:40 |
|
|
Thread: 16f87 Write Flash failed errors [solved]
Post: 16f87 Write Flash failed errors [solved]
Using an F87 with Max3222 at 4.5 volts.
Programs fine with a full programmer keep getting timeouts on the DS30 loader ? I saw a few other posts and no real solutions.
Any ideas ???
Initiating wr... |
|
KiloBravo |
8-bit firmwares
|
3 |
8,770 |
2012-09-08, 00:28:28 |
|
|
Thread: 16F87 BL compile issues ? [solved]
Post: RE: 16F87 BL compile issues ?
OK, I will try that.
In the gui I checked custom boot loader
placement 8 pages from the end
size 8 pages.
I also changed the timeout to 5000 from 3000 ms.
Occasionally it would timeout writing... |
|
KiloBravo |
8-bit firmwares
|
18 |
41,108 |
2011-09-22, 17:48:25 |
|
|
Thread: 16F87 BL compile issues ? [solved]
Post: RE: 16F87 BL compile issues ?
OK, thanks here is the zip. I had to change the size of the BL to 256, not sure why. But if I set osccon for the internal oscillator it won't compile in 192. MPLAB gives an error.
Second, the firs... |
|
KiloBravo |
8-bit firmwares
|
18 |
41,108 |
2011-09-18, 00:29:18 |
|
|
Thread: 16F87 BL compile issues ? [solved]
Post: RE: 16F87 BL compile issues ?
This is the .lst file[hr]
I tried to attach the .lst file
The type of file that you attached is not allowed. Please remove the attachment or choose a different type.
Do you want the .hex or ds3... |
|
KiloBravo |
8-bit firmwares
|
18 |
41,108 |
2011-09-15, 03:11:42 |
|
|
Thread: 16F87 BL compile issues ? [solved]
Post: RE: 16F87 BL compile issues ?
Mikael Gustafsson Wrote: (2011-09-14, 22:30:16)
--
The boot loader does not handle partial page updates but
it's not a problem because the goto at 0x00 is set by the gui.
If you post the modifie... |
|
KiloBravo |
8-bit firmwares
|
18 |
41,108 |
2011-09-15, 02:01:25 |
|
|
Thread: 16F87 BL compile issues ? [solved]
Post: RE: 16F87 BL compile issues ?
from my C compiler forum ?
Can your bootloader correctly handle partial page updates?.
Remember that when programming the program memory, you have to erase an entire 'page' at a time. You haven't... |
|
KiloBravo |
8-bit firmwares
|
18 |
41,108 |
2011-09-12, 23:59:13 |
|
|
Thread: 16F87 BL compile issues ? [solved]
Post: RE: 16F87 BL compile issues ?
OK, I got it working somewhat.
from the DS30 compile
0000 158A 00237 PAGESEL blstart
0001 2F00 00238 goto blstart
... |
|
KiloBravo |
8-bit firmwares
|
18 |
41,108 |
2011-09-12, 21:56:56 |
|
|
Thread: 16F87 BL compile issues ? [solved]
Post: RE: 16F87 BL compile issues ?
I set the bootloader pagesize to 8 and said it was 8 pages from the end.
Is that right the code sizw BLPLW was set to 256 ?
0000 00237 org 0x0000
0000 158A ... |
|
KiloBravo |
8-bit firmwares
|
18 |
41,108 |
2011-09-11, 21:25:02 |
|
|
Thread: 16F87 BL compile issues ? [solved]
Post: RE: 16F87 BL compile issues ?
OK, so the config is now this .....
__CONFIG _CONFIG1, _INTRC_IO & _WDT_OFF & _PWRTE_OFF & _MCLR_ON & _BODEN_OFF & _IESO_OFF & _FCMEN_OFF
__CONFIG _CONFIG2, _LVP_OFF & _DEBUG_OFF & _CPD_OFF &... |
|
KiloBravo |
8-bit firmwares
|
18 |
41,108 |
2011-09-11, 20:20:44 |
|
|
Thread: 16F87 BL compile issues ? [solved]
Post: RE: 16F87 BL compile issues ?
This is what I used ....
_CONFIG1, _INTRC_IO & _WDT_OFF & _PWRTE_OFF & _MCLR_ON &
_BODEN_OFF & _IESO_OFF & _FCMEN_OFF
_CONFIG2, _LVP_OFF & _DEBUG_OFF |
|
KiloBravo |
8-bit firmwares
|
18 |
41,108 |
2011-09-11, 15:35:50 |
|
|
Thread: 16F87 BL compile issues ? [solved]
Post: RE: 16F87 BL compile issues ?
Mikael Gustafsson Wrote: (2011-09-10, 11:58:23)
--
The PIC16F87 device is not an enhance PIC16. Thos are usually four number like PIC16F1936.
Post your settings.inc and tell us which oscillator you ... |
|
KiloBravo |
8-bit firmwares
|
18 |
41,108 |
2011-09-11, 01:59:51 |
|
|
Thread: 16F87 BL compile issues ? [solved]
Post: RE: 16F87 BL compile issues ?
Mikael Gustafsson Wrote: (2011-09-09, 23:06:25)
--
Thanks for the bug report.
Is the oscillator and configuration words setup correctly?
--
Yes I am sure the oscillator and config is set correct... |
|
KiloBravo |
8-bit firmwares
|
18 |
41,108 |
2011-09-10, 01:47:37 |
|
|
Thread: 16F87 BL compile issues ? [solved]
Post: 16F87 BL compile issues ? [solved]
I found a previous thread where it set to delte the Enhanced 16F defines and uncomment the Standard 16F defines.
My defines were in the ds30Loader.asm not the settings.inc file
I don't see any Stand... |
|
KiloBravo |
8-bit firmwares
|
18 |
41,108 |
2011-09-09, 20:19:34 |