Notifications
Clear all
Nov 04, 2012 7:29 pm
I am trying to set the start address of my Renard 24LV (V2) board and have configured the Renard-20090915.asm file with the following...
<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
;; START_ADDR should normally be 0. It is changed to another value if you
;; wish for the particular PIC to ignore a certain number of (8-byte) records
;; at the start of a frame (for wireless operation, mostly).
#define START_ADDR 9
;; 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
;; For positive_true outputs, remove the following define (normally, this
;; should be left in place).
;; #define OUTPUT_NEGATIVE_TRUE
<snip>
I want to use positive output, 57600 baud, start this controller on channel 73 and use PWM. I flashed the pic, but it does not respond on any channel. I reflashed the pic back to the original FW and it responds on channel 1 as expected. Am I missing a configuration option? If not, could someone send me the hex file that should work?
Thanks,
John
1 Reply
Nov 04, 2012 8:57 pm
Nevermind, had to change DC_build to 1 and CTR_LOCKOUT to 1, too.
-- John
