Menu

#318 ICD want program correctly

open
nobody
ICD2 (46)
5
2012-12-20
2012-12-20
Martin
No

Hello.
If I program my code with my ICD2 clone I get the advice that the PIC is programmed succseful, but the PIC (18F4420) want run the program. If I program the code compiled with PIKLAB using MPLAB IDE the program runs.
It seems to be that PIKLAB ignorese the CONFIG settings.

My distron is:
Distributor ID: Ubuntu
Description: Ubuntu 12.04.1 LTS
Release: 12.04
Codename: precise

piklab-prog shows:
drumanart@drumanart:~$ sudo piklab-prog -t /dev/ttyUSB1 -c connect -p icd2
-d 18F4420
piklab-prog: version 0.15.11 (rev. )
Connecting ICD2 Programmer on Serial Port (/dev/ttyUSB1) with device
18F4420...
Firmware id is 5 and we want 5
Firmware version is 1.4.5
Set target
Set target self powered: true
Hold reset
Programmer Vpp = 12.1418 V
Target Vdd = 5.00224 V
Target Vpp = 12.2216 V
Self-test
Connected.
Enter normal mode
Already in requested mode.
Read id: 18F4420 (rev. 7)

Any idear Thanks Martin

Discussion


Log in to post a comment.