(you are viewing a thread; or go back to
list of threads)
16F886 (by trendsetter)
Hi,
I LDmicroed a simple program for the 16F886 (please see the attached). However, I could not get the the program running. Please help. Thank you in advance.
no subject (by simon)
post your ld format file .
(no subject) (by trendsetter)
Attached please find the ld format file.
Thank youm Simon.
(no subject) (by trendsetter)
Among other things, I used the PICkit2 to load the hex file.
Everything went well. However, I did not see the output when I pressed the button. I also changed a new 16F886 and checked all other aspects, i.e. VCC, GND, et cetera
Is there any different settings between internal and external oscillators?
I really love the LDmicro. I think the LDmicro will gain a huge potential when Jonathan accumulates enough samples and different MCUs in the library.
Again, Thank you very much.
Configuration Bits (by S A Khan)
It’s working…………
Configuration Bits are:
Oscillator: HS
Watchdog Timer: Disabled
Power Up Timer: Enabled
Master Clear: Enabled
Data EE Protect: Disabled
Brown Out Detect: Enabled
Int-Ext Switchover: Disabled
Fail-safe Clk. Monitor: Disabled
Low Voltage Program: Disabled
In-Circuit Debugger: Disabled
Brown-out Reset Sel : set to 2.1V
no subject (by simon)
if you use this schematic , it shuld be ok .
verify if your programmer release the target from reset after programing , if no , then unplug the programmer from your mcu .
Thank you (by trendsetter)
Thank you S A Khan & Simon for walking me through.
I used an external crystal (SG-51P 20Mhz)
It's working now.
Problem with PIC 16F886 (by kevil)
the first many thank developer.
I have problem with ldmicro. I do a project push button but when i simulation on Protues 7 it display error
[PIC16 MEMORY]PC=0x003C.Attempt to write unimplemented memory location 0x0008 with 0x00 ignored
I use pull up resistor on button. Alway=1, push =0
pls help me resolve problem. thank !
Problem with PIC 16F886 (by kevil)
And i use PIckit2 to program hex build from Button.ld for it. When i push button, nothing happen
Need Fixbugs (by kevil)
Any one can help. I use verson 2.2
(no subject) (by MGP)
I have change something in the hex-file and i wonder if this will work.
Can you try the new hex-file attached (same program) but with changed config-bits.
Post something back if it works or not.
Still error (by kevil)
Hi MGP and all. I'm use your file but still error on simulation and on real board. PIC don't work. I use PICkit 2 v2.61 (windows 7 32 bits) to download program to PIC.
I don't know what wrong happen ?
Pls help me fix error. I love LDmicro so much.
And how to config bit and memory in LDmicro. I think some problem on config bit and memory
Pls help (by kevil)
Anyone can help me solve problem pls. I try but not OK
(no subject) (by MGP)
The generated hex file shows 2 config words. (4 bytes starting at 2007)
The second can't be programmed i think because it's not exitent.
I don't have a 886 controller.
Anyway, I can't fix it , even when I had a controller.
See the attached file.
(no subject) (by Antonio Nilton de Matos)
Boa tarde, alguém já conseguiu gravar o PIC 16f886 com código do LDmicro?. Não consigo gravar.
Antonio Nilton de Matos
(no subject) (by Ihor Nehrutsa)
Tested in Proteus, all Ok.
Please publish ld file.
Mirar manual (by paulino)
do not try to put numbers, look manual is clear that says not to put numbers in the variables, Example this is incorrect x1 - Y1. Correct Xpulso --- Yenciende, in this way in all the mics work well.
do not try to put numbers, look manual is clear that says not to put numbers in the variables, Example this is incorrect x1 - Y1. Correct Xpulso --- Yenciende, in this way in all the mics work well.
You also have to secure the ports of the micro as I see that the ld uploaded are not polished
Post a reply to this comment:
|