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