Pic code?? SS16 Ple...
 
Notifications
Clear all

Pic code?? SS16 Please help

15 Posts
6 Users
0 Reactions
9,136 Views
Posts: 73
Topic starter
(@angermgt)
Estimable Member
Joined: 19 years ago

This is the read file from pickit2 2. Can't I just make a change here to convert it to the 116 speed?

Sent from my Z987 using Tapatalk


Reply
Posts: 73
Topic starter
(@angermgt)
Estimable Member
Joined: 19 years ago

Just a thought. I am looking at the PIC16F688 that controls 8 channels. There are 2 other smaller chips at the top of the board that could control the actual speed and not this chip?? Or is this the correct chip for determining the Baud rate?

What chip determins the Baud Rate?

U4 & U5 – ST485BN, RS232/RS485 Transmitter/ Receiver
U6 & U7 – PIC16F688 Microcontrollers


Reply
klyneshouse
Posts: 230
(@klyneshouse)
Reputable Member
Joined: 16 years ago
imbluenote wrote:I could be wrong but i am pretty sure use just need to update the following line in the firmware to the baud rate you are going to use:

#define BAUDRATE 57600

You will need to recomplie and then write to the chip.

.asm file is here if you need it:
http://www.doityourselfchristmas.com/wiki/index.php?title=Renard_Firmware

The code in the 16F688 chip determines speed.
Much easier to use this asm file above or edit yours as stated above. ( #define BAUDRATE 115200)
Then "build all" using MPASM program or something other than PICkit2 programmer.
and then flash that hex you created.


Reply
Posts: 73
Topic starter
(@angermgt)
Estimable Member
Joined: 19 years ago

anyone have the file they can email me or a 116 baud rate 16F688 chip they want to send me? LOL

Will look at downloading the MPASM, since I have the MPLAB IDE. Maybe that will help.

THANKS for the help..


Reply
Posts: 73
Topic starter
(@angermgt)
Estimable Member
Joined: 19 years ago

All good. Was able to figure out the MPLAB and changed the baud rate to 115200. Set it all up and BAM it worked...

Thanks for all the help!!

Sent from my Z987 using Tapatalk


Reply
Page 3 / 3
Share: