Framing Errors Ren2...
 
Notifications
Clear all

Framing Errors Ren24

13 Posts
5 Users
0 Reactions
3,868 Views
Posts: 121
Topic starter
(@dfranks)
Estimable Member
Joined: 18 years ago
[#6828]

I finally have both of my Ren24s up and running, all channels flashing with no magic blue smoke - thanks for everyone's help (special thanks to RL for all his patience and help). The next issue that I need to deal with is that on both boards the Comm Fr LED is flashing just about as much as the other LEDs are. It is very dim compared to the other LEDs but it is flashing. I've been reading through past threads about this and just wanted to make that I'm not overlooking anything obvious. My head is still sore from banging it against the wall 😉
1. From what I have read it appears that most of the resolutions have been either wrong or a 'bad' asm file. I have re-downloaded it from the wiki and re-compiled it into a hex file a couple of times. Before converting the asm to a hex file the only change that I am making to the asm file is to change the #define PWM_build 0 to #define PWM_build 1. Is that correct?
2. Incorrect baud rate settings in Vixen and the computer's com port - I am setting both Vixen and the comm port to 57600 but I also tried variations using 19200 & 115200.
3. Another possible problem I read is a bad data cable ground - I using a serial to RJ45 cable. I have ditched my old cable which was bad and made a new one.
4. Lastly I read about possible bad, cold, bridged or forgotten solder joints. I've looked over both boards several times and do not see any bridges. I haven't re-heated ALL of the solder points on both boards yet but a large percent of them have been while getting the boards working. I'll continue on that quest.

Have I missed anything? Thanks in advance for your help!


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

Which firmware are you using? The framing error LED only has significance when you are using Ren-C or are using diagnostic firmware with the other Renard boards.


Reply
Posts: 121
Topic starter
(@dfranks)
Estimable Member
Joined: 18 years ago
P. Short wrote:Which firmware are you using? The framing error LED only has significance when you are using Ren-C or are using diagnostic firmware with the other Renard boards.

Thanks for the reply. Right now I have programmed the PICs with Renard-20071229.asm. I didn't realize that the Comm Fr had no significance with this. Thats good info to know. But when programming the PICs with the Beta diagnostics file I am seeing the Comm Fr LED flashing as well.


Reply
RichF
Posts: 1356
(@richf)
Noble Member
Joined: 20 years ago

The function of the output LEDs/lamps is as follows with the diagnostic firmware:

* Channel 2 - blinks on and off as a heartbeat (if you see blinking, the PIC has power, clock, and is basically working ok). If this channel is not blinking (either solid ON or OFF) there is an error condition that must be fixed. This will be usually be either a bad PIC, bad oscillator or bad power on the controller.

* Channel 5 - blinks on and off if the PIC is seeing a more or less proper Zero-crossing signal. If this channel is not blinking (either solid ON or OFF) there is an error condition that must be fixed (unless you plan to run the controller in 'DC' mode).

* Channel 6 - blinks or turns on as the PIC receives good serial data (no framing error, no over-run errors). It will usually appear as a solid 'ON' when Vixen is sending data, although it may appear to blink if Vixen is changing the display infrequently.

* Channel 7 - blinks if the PIC receives bytes on the serial line with framing errors (usually wrong baudrate or inverted data). The LED may also appear as a solid 'ON' if the errors are occurring in rapid succession. If this channel is ON (or blinking) there is an error condition that must be fixed before the controller will work properly.

* Channel 8 - blinks if the PIC has overrun error on the serial line (no known causes for this, other than possibly a bad PIC). If this channel is ON (or blinking) there is an error condition that must be fixed before the controller will work properly.


Reply
Posts: 121
Topic starter
(@dfranks)
Estimable Member
Joined: 18 years ago
RichF wrote:The function of the output LEDs/lamps is as follows with the diagnostic firmware:

* Channel 2 - blinks on and off as a heartbeat (if you see blinking, the PIC has power, clock, and is basically working ok). If this channel is not blinking (either solid ON or OFF) there is an error condition that must be fixed. This will be usually be either a bad PIC, bad oscillator or bad power on the controller.

* Channel 5 - blinks on and off if the PIC is seeing a more or less proper Zero-crossing signal. If this channel is not blinking (either solid ON or OFF) there is an error condition that must be fixed (unless you plan to run the controller in 'DC' mode).

* Channel 6 - blinks or turns on as the PIC receives good serial data (no framing error, no over-run errors). It will usually appear as a solid 'ON' when Vixen is sending data, although it may appear to blink if Vixen is changing the display infrequently.

* Channel 7 - blinks if the PIC receives bytes on the serial line with framing errors (usually wrong baudrate or inverted data). The LED may also appear as a solid 'ON' if the errors are occurring in rapid succession. If this channel is ON (or blinking) there is an error condition that must be fixed before the controller will work properly.

* Channel 8 - blinks if the PIC has overrun error on the serial line (no known causes for this, other than possibly a bad PIC). If this channel is ON (or blinking) there is an error condition that must be fixed before the controller will work properly.

Yep, I knew I had seen that info before. Sorry for overlooking that. I'll re-program the PICs back to diagnostics and use the above info. I'll post later if I still am having problems. Thanks!


Reply
cbell
Posts: 462
(@cbell)
Honorable Member
Joined: 18 years ago

If you do decide to use the diag code, make sure to try compiling the code off the wiki yourself. I was getting framing errors when using the diag code off of kostuyn.com, but not when I compiled it myself off the wiki. I don't know if it was something to do with my setup, or what, but it worked for me.

http://www.doityourselfchristmas.com/forums/showthread.php?t=6700


Reply
Posts: 121
Topic starter
(@dfranks)
Estimable Member
Joined: 18 years ago
cbell wrote:If you do decide to use the diag code, make sure to try compiling the code off the wiki yourself. I was getting framing errors when using the diag code off of kostuyn.com, but not when I compiled it myself off the wiki. I don't know if it was something to do with my setup, or what, but it worked for me.

http://www.doityourselfchristmas.com/forums/showthread.php?t=6700

Thanks CBell I appreciate the tip. I'm hoping that I'll pop in the diags and everything will run perfectly... (gotta be optimistic :p)


Reply
RichF
Posts: 1356
(@richf)
Noble Member
Joined: 20 years ago

Are you having any issues with your ren's while running regular firmware?


Reply
Posts: 121
Topic starter
(@dfranks)
Estimable Member
Joined: 18 years ago
RichF wrote:Are you having any issues with your ren's while running regular firmware?

I don't believe so. I just now got both of the Ren24's working. I've hooked up lights to each channel and those are all working. I noticed that the Comm Fr light was flashing as much as the other LEDs were and didn't think that it was supposed to do that. And I wanted to make sure that everything was working correctly before I start cutting the heat sinks and mount them in the enclosures. I'll probably try and hook up lights to all of the channels and do a burn in before I mount them as well.


Reply
RichF
Posts: 1356
(@richf)
Noble Member
Joined: 20 years ago

I think they are working correctly based on what you have listed. Hook some lights up give them a try and have fun.


Reply
Page 1 / 2
Share: