All on at power up.
 
Notifications
Clear all

All on at power up.

7 Posts
2 Users
0 Reactions
4,396 Views
Posts: 0
(@cmurray)
Joined: 1 second ago
[#1928]

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


6 Replies
Posts: 6728
(@p-short)
Illustrious Member
Joined: 20 years ago

That feature has never been incorporated into the released code.

What version of the code are you using?

--

Phil


Reply
Posts: 0
(@cmurray)
Joined: 1 second ago

renard-20070811.asm

<<>>
;; 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
<<>>

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


Reply
Posts: 6728
(@p-short)
Illustrious Member
Joined: 20 years ago

Right now I'm puzzled by the lights coming on at power-up, it was intended that they should all be off instead.

--

Phil


Reply
Posts: 6728
(@p-short)
Illustrious Member
Joined: 20 years ago

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


Reply
Posts: 0
(@cmurray)
Joined: 1 second ago

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


Reply
Posts: 6728
(@p-short)
Illustrious Member
Joined: 20 years ago

That's what I thought.

--

Phil


Reply
Share: