Changing renard pic...
 
Notifications
Clear all

Changing renard pic code issues

37 Posts
7 Users
0 Reactions
26.8 K Views
will3ishere
Posts: 327
Topic starter
(@will3ishere)
Reputable Member
Joined: 18 years ago
Ruppro wrote:notepad is the editor, works fine that is what I do all mine with. Just open notepad, the goto File => Open, Browse to and select the .asm that you downloaded and works. Make the appropriate changes (remove ;; in front of 115200 line, add ;; in front of 57600 line, change PMW 1 or 0), and then File => Save

if there needs to be a change what would it be

;; 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
this is straight from the wiki, trying to make baud rate 115200


Reply
Posts: 2215
(@ctmal)
Famed Member
Joined: 19 years ago
will3ishere wrote:if there needs to be a change what would it be

;; 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
this is straight from the wiki, trying to make baud rate 115200

Change the line:
#define BAUDRATE 57600

to
#define BAUDRATE 115200


Reply
will3ishere
Posts: 327
Topic starter
(@will3ishere)
Reputable Member
Joined: 18 years ago

Well when I do that, save it, compile it, program the pic, play a program with vixen I get no blinky from the controller

Sent from my iPhone using Tapatalk


Reply
will3ishere
Posts: 327
Topic starter
(@will3ishere)
Reputable Member
Joined: 18 years ago

I guess a better way to put it is when I open the current firmware in notepad that I can compile and burn to a pic. I'll make the change, save it as a ASM file,compile it, burn it, and it won't work. I know it has to be something simple but my tunnel vision can't see it


Reply
Posts: 1168
(@keith-r)
Noble Member
Joined: 19 years ago

Sometimes when saving in Notepad, you have to add the extension .asm, and then save as "all files". Otherwise, it will save the .ASM file as a .txt file. If this is for the PX-1, it is easier to make the changes with the software after the pic is burned. Which code are you using? You might post your .asm file, show the changes you want to make and give someone else a crack.


Reply
Page 4 / 8
Share: