New Beta Code
 
Notifications
Clear all

New Beta Code

17 Posts
6 Users
0 Reactions
7,683 Views
Posts: 6728
Topic starter
(@p-short)
Illustrious Member
Joined: 20 years ago
[#321]

Here is a new version of the firmware source code. It has the bug fix in place that was mentioned in the '50 Hz' topic, and has had the code re-arranged so that there is one single source file for the regular, PWM and DC versions. The file that you can download is set up for regular use, you will have to change some of the #define statements for the PWM or DC builds.

The three builds have been tested in a 60 Hz environment with an external clock oscillator at 57600 baud.

--

Phil


16 Replies
Posts: 21
(@jshidemantle)
Eminent Member
Joined: 18 years ago

Phil I am new to this, just built my first SS 24. When I downloaded the regular code from the WiKi website it would not compile correctly. Didn't like the amp in the config line and missing several ) in various lines.
The beta code compiled fine. Is it ok to use this for now?

Thanks
Jack


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

That code is pretty old, if I were you I would try and get the version from the Wiki to work.

I don't remember anyone else having the problems that you are encountering. That sounds to me like either a problem with the download or Microchip has changed something in their assembler. What version of the MPLAB tools are you using?


Reply
rice66
Posts: 246
(@rice66)
Reputable Member
Joined: 19 years ago

Phil, I am in the process of assembling the ren24 bds and gotten flashed pic with the kits, If I get them working ok, should I get a pic programmer (pickit1) and upgrade. I am really new to dimming and renards, as you can tell he he
regards
Rice66
btw thanks for all you do for this hobby!!


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

In a word, yes.


Reply
Posts: 188
(@awhaley)
Estimable Member
Joined: 18 years ago

Phil's obviously the expert on all things Renard, but if you have programmed PICs, I'd personally get the thing assembled and try it out. If it does everything you need it to and you don't experience any bugs, you may not need to go through the trouble and expense of getting into programming chips right away. I would imagine that the chips that came in a coop kit were probably programmed with working firmware...

Learning how to (and getting the stuff to) program PICs isn't hard, and it's really worth it if you enjoy the hobby, but if you have a working part, I wouldn't rush to mess with it. 🙂

Just my .01 cent. 😉

Art


Reply
Posts: 21
(@jshidemantle)
Eminent Member
Joined: 18 years ago

Phil, I am using MPLAB 8.3 and a PICStart Plus programmer. I downloaded the diagnostic firmware and it compiled ok. Any chance you could email me a copy that compiles ok for you?
My email is jackandkaye2@aol.com
Thanks
Jack


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

Use the latest version from the wiki...


Reply
Posts: 21
(@jshidemantle)
Eminent Member
Joined: 18 years ago

Ok Phil, I downloaded the code again from the WiKi site and this time it compiled fine. Must have been a bad download. The problem I have now is only channels 1 - 8 work. 9 - 16 and 17 - 24 don't respond to the RS232 communication. Actually I assume these are characters being retransmitted by the first PIC?

Jack


Reply
Posts: 21
(@jshidemantle)
Eminent Member
Joined: 18 years ago

Never mind Phil. Haste makes waste. I had a bent pin in the first PIC and of course it was the one pin that communicates with the other PICs.
Everything is fine, now I can proceed with Blinky/Flashy and mega trees.
Jack


Reply
Page 1 / 2
Share: