|
adnmarch2
3 posts
 Popping In
|
24-03-2010 18:24
I am having difficulty with Assignments from 3.f onwards (Page 89), Bit 5 on port B seems to be 'stuck' at low. Moving the display board to another port D and changing the code to match works OK.
On Assignment 3.h7 (page 95), the count resets to zero after Bit 4 (Changing the 'counter to latb allows the count to continue up to 255 but bit 5 still refuses to light).
I have checked the EB-006 board settings, and even tried another 18F4455 chip.
Anyone else experiencing this problem?
|
|
6363
11 posts
 Popping In
|
28-03-2010 16:22
I have had a few problems, but I think it has been down to my handling of the PIC. Wool carpets, plastic furniture and the heat in the sun lounge. Just got my self an antistatic strap. Killed 3 PICS. Stupid, "Number 1 Schoolboy Error". Now I need to get a proper insertion tool or ZIF socket to fit.
Sugguestion to team elektor, how about suppling the stap and ZIF socket in the optional hardware pack.
|
|
adnmarch2
3 posts
 Popping In
|
28-03-2010 17:29
6363 - Tough luck with the static - I killed a hard drive by vacuuming a nylon carpet too close to my PC. Nasty stuff.
I eventually tracked down my PortB Bit 5 problem: I had not Disabled the Low Voltage Program in the PICmicro Configuration screen. Was also causing string handling to be faulty/flaky.
I went back to the begining of the Assignments, set the Low Voltage Program to Disabled and now everything is hunky-dory.
I also had changed the 18F4455 and agree a ZIF socket wouild be a boon.
|
|
hunselnarie
8 posts
 Popping In
|
01-08-2010 14:20
I had the same difficulty with Assignments from 3.f onwards (Page 89), Bit 5
i connected the switch board and when i pushed sw 5 led d5 went on and all the others went off.
I had not Disabled the Low Voltage Program in the PICmicro Configuration screen.
now it work fine
thanks for the help
|
|

GeenBert
81 posts
 Frequent Visitor
|
03-08-2010 23:47
Page 55 above Figure 47 states "Copy the settings from the next figure. Then use the scrollbar to go to the hidden part: everything you see there should say: Disabled". That includes low voltage programming.
If any of the setting is incorrect your work will have unexpected results. Section 13 describes the most important settings of the configuration in more detail.
Bert
|
|
hunselnarie
8 posts
 Popping In
|
05-08-2010 20:35
sorry i missed the part of
"Then use the scrollbar to go to the hidden part: everything you see there should say: Disabled".
|
|
gordy555
5 posts
 Popping In
|
22-03-2011 19:11
Hi, I've just started on the course but have hit my first problem and need some guidance. When creating the simple program to "switch LED b0 on", I followed all the steps i.e. hardware settings on the EB-006-007 programmer board then opening Flowcode and changing the config. settings. When trying to download the program to the PIC chip, I start the compiler and the first message to come up is "could not I.D the onboard chip - assuming it is the PIC18F4455", which I okayed, then another message "PIC chip has not been erased" which I okayed , and the compiler finishes with a message "Scheme size is zero or a negative". After double checking all the relevant settings as per the course notes, Flowcode is still unable to send this program to the PIC chip, although the programming LED is blinking. Can you shed some light on this problem please, or has anyone else experienced this sequence of events?
|
|

GeenBert
81 posts
 Frequent Visitor
|
22-03-2011 19:33
The most likely cause is interference on the +5 volt lines from something in the vicinity of your project. Try removing the +5 volt wires prior to programming, and connect them again when programming is done to see if that helps.
|
|
gordy555
5 posts
 Popping In
|
24-03-2011 17:00
I still cannot get the program "switch LED b0 on" from p.58 of the course notes to download to the PIC 18F4455 chip.
I have double checked all my config. settings and drivers are in place
I have no +5v lines to dicconnect as I am using the LED block plugged directly into the EB-006-007 programmer as shown on p.50.
Are there any software issues with Windows Vista Home Premium O.S. as I use this ?
The message from Flowcode when the compiler is about to download to the PIC chip, "Scheme size is zero or a negative - programming failed" , is baffling me..
Could the reset button be used in this instance ?
Could I have damaged the PIC chip with my own static ?
Can you suggest anything to remedy this before I continue with the course to establish whether it's my O.S. or the course software
/hardware that's the problem ?
|
|
gordy555
5 posts
 Popping In
|
24-03-2011 18:32
I have resolved my problem with the program "switch LED b0 on". It turned out my PIC18F4455 chip was not seated properly in its socket in the programmer board.
I carefully pushed it in flat with a chip insertion tool and bingo, the program downloaded okay and LED is lit !
|
|

GeenBert
81 posts
 Frequent Visitor
|
24-03-2011 19:02
Glad to see that your problem is resolved. Enjoy the course!
|