View Full Version : All on at power up.
cmurray
12-28-2007, 01:54 PM
I remember a conversation at one time that if a pic did not receive a signal on a regular basis it would turn the lights off.
Did that ever become part of the code or do I have an old version?
I am drawing all my power from the show computer power supply, so when I reboot all the lights come on and stay on until Vixen is started and sends an end(stop) command.
JOel
P. Short
12-28-2007, 02:19 PM
That feature has never been incorporated into the released code.
What version of the code are you using?
--
Phil
cmurray
12-28-2007, 11:51 PM
renard-20070811.asm
<<<snip>>>
;; PWM_build can be either 0 or 1
#define PWM_build 1
;; DC_build can be either 0 or 1 (it should be 0 if PWM_build is 0)
#define DC_build 0
#define CLOCKRATE 18432000
#define BAUDRATE 57600
;; CTR_LOCKOUT should be 1 for the DC build, can be a somewhat larger number
;; for non-PWM or non-DC builds.
#define CTR_LOCKOUT 15
<<<snip>>>
I think we were tweaking the lockout value but can not remember why.
All the channels experiencing dropout are the PWM variety.
>>>>> Think time >>>>>>>
I will have an answer for you tomorrow night.
I think I still have 1 MAX232N that is only rated to 32 degrees.
Will be replacing it with MAX232IN rated to -20 degrees.
This caught my attention because channels 73 thru 88 have drop out but 89 thru 120 are almost perfect.
More later.
Joel
P. Short
12-29-2007, 12:05 AM
Right now I'm puzzled by the lights coming on at power-up, it was intended that they should all be off instead.
--
Phil
P. Short
12-29-2007, 12:20 AM
There is a bug in the code that leaves the lights between power-up and the first packet from vixen. If you want to fix it now (maybe not, considering the weather), add the following two lines just after line 307 in that version of the code:
movlw 0xFF
movwf disable_map
--
Phil
cmurray
12-29-2007, 12:39 AM
Thats 35 PICs that I would need to reflash.
Only going to run one more week.
I think it can wait.
Thanks any way
Joel
P. Short
12-29-2007, 01:06 AM
That's what I thought.
--
Phil
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.