Gonzakpo said:Ok. Here I am again. RA3 = 2.4V - VPP-GEN=9.34V
.............................
just a little update, now I'm having these readings:
**broken link removed**
Connecting to MPLAB ICD 2
...Connected
Setting Vdd source to MPLAB ICD 2
Target Device PIC18F4550 found, revision = a3
...Reading ICD Product ID
Running ICD Self Test
...Passed
MPLAB ICD 2 Ready
Erasing Target Device...
...Erase Succeeded
MPLAB ICD 2 Ready
Blank Checking...
...Program Memory
ICD0161: Verify failed (MemType = Program, Address = 0x48, Expected Val = 0xFFFF, Val Read = 0x00)
...Device not blank
louis99 said:louis99
about 18F4550 corruption look my post here
best regards
stroma
I check the post you gave me and it doesn't help.
1) I use MPLAB 7.6 and not 7.4 but I don't think it's related.
2) The configuration bit is correct and respect the "Table write protect boot" Disable.
Now, when I plug the ICD2 clone , windows doesn't reconize it.
When I plug and unplug and plug the ICD2 original, no PB.
When the ICD2 is screw, it permanently.
JQL said:Hi to all!
I find many times that PIC18F4550's contents have been rewritten, the ICD2.5 has become a "Unknown Device".
JQL 2007.07.18
Best regards Louis.
Gonzakpo said:Well, some news. Now it's detecting the target but it doesn't program it or anything. I tried to erase a 18F4550 and when I do the blank-check it fails.
Code:Connecting to MPLAB ICD 2 ...Connected Setting Vdd source to MPLAB ICD 2 Target Device PIC18F4550 found, revision = a3 ...Reading ICD Product ID Running ICD Self Test ...Passed MPLAB ICD 2 Ready Erasing Target Device... ...Erase Succeeded MPLAB ICD 2 Ready Blank Checking... ...Program Memory ICD0161: Verify failed (MemType = Program, Address = 0x48, Expected Val = 0xFFFF, Val Read = 0xFF) ...Device not blank
Probably is because the low voltages... Potyo help me please!! (or anyone else!)
abrahamq said:Hi louis99 and JQL
I have solved this problem even though I can't explain why it works.
Here is how.
modify 18f4550 bootloader hex (bottom of the file) to disable MCLR
from
:0E000000240F3900008180000FC00FE00F4078
to
:0E000000240F3900000180000FC00FE00F40F8
I have attached(uploaded) this modified hex file 18F4550_bootFinal120807.hex (created on 12 August 2007) you can use straight away.
JQL said:abrahamq said:Hi louis99 and JQL
I have solved this problem even though I can't explain why it works.
Here is how.
modify 18f4550 bootloader hex (bottom of the file) to disable MCLR
from
:0E000000240F3900008180000FC00FE00F4078
to
:0E000000240F3900000180000FC00FE00F40F8
I have attached(uploaded) this modified hex file 18F4550_bootFinal120807.hex (created on 12 August 2007) you can use straight away.
abrahamq
Thank you for your special reply.
I downloaded the 18F4550_bootFinal120807.hex.
But I don't know that, why modified
not to
:0E000000240F3900000180000FC00FE00F40F8
to
:0E000000240F390000018000008000000F4036
Regards
JQL
2007.08.14
elec_gu said:Hello again
The ICD2 clone works fine with pic18Fs (5V). It should work with 3.3V pics but it doesn't.
It has 74HC/HCT125 3-state buffer/line driver and I'm interfacing it right.
With a scope, I can see activity on DAT and CLK lines, but I always get the same:
Invalid target device id (expected=0x445, read=0x0)
I'm trying to program a PIC24FJ32GA002.
The PIC is Ok. I can program it with another programmer (old paralel port EPIC programmer!).
Has anybody any experience with ICD2 clones and those PIC24FJ32 PICS?.
thanks
elec_gu said:To ad_tech:
First of all. Thank you for your answer.
I'm going to scope data and clock lines in order to measure timing. I'll do some comparison 5V vs 3.3v.
Tanks again for your answer. For me this is a sad history. First, I tried to do a USB ICD2 by myself following this page, but it was over my capabilities (double side board etc). Then I bought one by eBay. The seller ad stated it was 3.3v capable, but as far as I can say, it isn't. My following step should be to buy Microchip original one. As you can see, a long, stupid and expensive way of doing things
alunaro said:I have tested my circuit in debug mode (tested with 16f877a target)
It works perfectly with MPLAB 7.6, debugging without problems.
I attach the source that i wrote (it is not nice, only for testing purporses). It has
notes about ICD2 debug mode and how to set it. Anyway, you can read the code
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?